4
"God Mode"
Auto Assembler Script
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
alloc(mem,2048)
mem:
dd (float)100.0
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
cmp [ebx+10],1
jne originalcode
fstp st(0)
fld dword ptr [mem]
fstp dword ptr [ebp-30]
jmp exit
originalcode:
fsubr dword ptr [ebx+04]
fstp dword ptr [ebp-30]
exit:
jmp returnhere
"Tutorial-i386.exe"+2650C:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Tutorial-i386.exe"+2650C:
fsubr dword ptr [ebx+04]
fstp dword ptr [ebp-30]
//Alt: db D8 6B 04 D9 5D D0
5
"One Hit Kill"
Auto Assembler Script
[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+10],2
je originalcode
fsubr dword ptr [ebx+04]
fstp dword ptr [ebp-30]
jmp exit
originalcode:
sub [ebx+04],(float)500
fsubr dword ptr [ebx+04]
fstp dword ptr [ebp-30]
exit:
jmp returnhere
"Tutorial-i386.exe"+2650C:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"Tutorial-i386.exe"+2650C:
fsubr dword ptr [ebx+04]
fstp dword ptr [ebp-30]
//Alt: db D8 6B 04 D9 5D D0
Cheat Engine 6.6 Step 9