d2tweaks-rnd2k/vendor/D2Template/D2TemplatePatch.h

29 lines
596 B
C
Raw Permalink Normal View History

2024-04-17 03:45:38 +00:00
#pragma once
#ifndef _D2PATCH_H
#define _D2PATCH_H
//struct DLLPatchStrc
//{
// int nDLL;
// DWORD dwAddress;
// DWORD dwData;
// BOOL bRelative;
// size_t nPatchSize;
//};
//static const DLLPatchStrc gpt_click_trade_menu[] =
//{
// {D2DLL_D2GAME, 0x9A061 + 0, PATCH_JMP, FALSE, 0x1},
// {D2DLL_D2GAME, 0x9A061 + 1, (DWORD)click_trade_menu, TRUE, 0x0},
// {D2DLL_INVALID}
//};
//
//static const DLLPatchStrc gpt_click_gamble_menu[] =
//{
// {D2DLL_D2GAME, 0x9A0D1 + 0, PATCH_JMP, FALSE, 0x1},
// {D2DLL_D2GAME, 0x9A0D1 + 1, (DWORD)click_gamble_menu, TRUE, 0x0},
// {D2DLL_INVALID}
//};
#endif