Asm Help
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
This is how i enable it.
Credits to Cobra for teaching basic codecave in asm.
Here is my Asm code that im using.
Code:
DWORD OPK == 0x37828110;
nvoid OPK()
{
__asm
{
mov ebx,37828110;
mov eax,0;
mov [ecx+00000174],ebx;
mov [ecx+00000178],eax;
mov [ecx+0000017c],ebx;
jmp OPK;
}
}
Code:
DetourFucntion(( BYTE* )0x37828110,( BYTE* )OPK );
Credits to Cobra for teaching basic codecave in asm.
