我有指向地址的函数指针。
#define CSpellBookWnd__MemorizeSet 0x557CD8
#define FUNCTION_AT_ADDRESS(function,offset) __declspec(naked) function\
{\
__asm{mov eax, offset};\
__asm{jmp eax};\
}
FUNCTION_AT_ADDRESS(void CSpellBookWnd::MemorizeSet(int *,int),CSpellBookWnd__MemorizeSet);
我只是想而不是调用该函数做一些 NOP