I am trying to Do a opk in asm for knowledge purposes and i keep getting an error invalid operand!!
Here is my Asm code that im using.
Here is where i hook my addy
DWORD OPK == 0x37828110;
This is how i enable it.
DetourFucntion(( BYTE* )0x37828110,( BYTE* )OPK );
Credits to Cobra for teaching basic codecave in asm.