C++:
DWORD addy2;
_declspec (naked) void Interact()
{
addy2 = nextAddress();
//__asm mov addy2, edi // This is disabled until I can figure out why the above line crashes my game.
__asm push edi
__asm mov ecx, esi
__asm call eax
__asm jmp(InteractF)
}
I'm assuming there is some kind of syntactical error not being detected here. I only need the next-address function to be called when this assembly is called.
Last edited: