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)
- alloc(newwindow,4)
- label(returnhere)
- label(originalcode)
- label(exit)
- newmem: //this is allocated memory, you have read,write,execute access
- //place your code here
- push 00000120 { 8560 }
- mov [esp+28],1
- mov [esi+000027C8],eax
- call game.exe+2306C3
- add esp,04 { 4 }
- mov [esp+18],eax
- mov byte ptr [esp+24],21 { 33 }
- cmp eax,ebp
- je zero
- push 2 //типа номер панели
- mov ecx,eax
- call game.exe+FFBC0
- jmp originalcode
- zero:
- xor eax,eax
- originalcode:
- mov edx,[esi+000001A4]
- exit:
- jmp returnhere
- "game.exe"+2B4C8:
- jmp newmem
- nop
- returnhere:
- [DISABLE]
- //code from here till the end of the code will be used to disable the cheat
- dealloc(newmem)
- "game.exe"+2B4C8:
- mov edx,[esi+000001A4]
- //Alt: db 8B 96 A4 01 00 00
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement