#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