forgive me for being a novice :)
RightClick=“4A7980”
Asm (“MOV ECX,” + ObjectAdd)
Asm (“MOV EAX,” + RightClick)
Asm (“CALL EAX”)
Asm (“retn”)
forgive me for being a novice :)
RightClick=“4A7980”
Asm (“MOV ECX,” + ObjectAdd)
Asm (“MOV EAX,” + RightClick)
Asm (“CALL EAX”)
Asm (“retn”)
Last edited by wei3470231; 03-03-2019 at 05:03 PM. Reason: Code error
You have the wrong address. You can access OnRightClick function from object VMT.
Code:mov ecx, ObjectAddr mov eax, dword [ecx] mov eax, dword [eax+88h] call eax retn
Last edited by Jadd; 03-04-2019 at 08:01 PM.
It still seems that the program crashes.
I made a mistake in the assembly, try it now (I edited the post.)