void* __stdcall LoadDefHook(void* def) { return def; } __declspec(naked) void _LoadDefHook() { __asm { mov large fs:0, ecx push eax call LoadDefHook push 0x55D0FF ret } }