myown How do I cheat?
Reputation: 0
Joined: 11 Mar 2014 Posts: 9
|
Posted: Sun Aug 31, 2014 7:20 am Post subject: how can Convert to C++ |
|
|
| Code: | [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
originalcode:
rol byte ptr [ebp-04],cl
mov esp,ebp
exit:
jmp returnhere
"tnclient.exe"+12D634:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"tnclient.exe"+12D634:
fld dword ptr [ebp-04]
mov esp,ebp
//Alt: db D2 45 FC 8B E5 |
C++ :
| Code: |
DWORD ab =0052A304;
DWORD abc = ab - 5,
_declspec(naked) void __stdcall test()
{
__asm
{
call dword ptr [ab]
push eax
push ebx
rol byte ptr [ebp-04],cl
mov esp,ebp
Jmp 0052A304-4
pop ebx
jmp dword ptr[abc]
}
}
|
?
|
|