Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ENABLE]
- //code from here to '[DISABLE]' will be used to enable the cheat
- alloc(newmem,2048)
- label(returnhere)
- label(originalcode)
- label(exit)
- newmem: //this is allocated memory, you have read,write,execute access
- //place your code here
- cmp ebx,(int)53
- jne originalcode
- mov ecx,[ijl.NewPanelPointer] { [1034DBF0] }
- mov eax,[ecx]
- mov edx,[eax+08]
- call edx
- jmp 0049CF30
- originalcode:
- mov eax,[edi]
- test eax,eax
- je game.exe+9CF30
- exit:
- jmp returnhere
- "game.exe"+9CF10:
- jmp newmem
- nop
- returnhere:
- 0049CF09:
- mov ebx,00000035
- [DISABLE]
- //code from here till the end of the code will be used to disable the cheat
- dealloc(newmem)
- 0049CF09:
- mov ebx,00000034
- "game.exe"+9CF10:
- mov eax,[edi]
- test eax,eax
- je game.exe+9CF30
- //Alt: db 8B 07 85 C0 74 1A
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement