teks1 Cheater Reputation: 0
Joined: 28 May 2013 Posts: 25
|
Posted: Wed Jun 27, 2018 11:34 am Post subject: Cheat Engine "gtutorial-x86_64.exe" Tutorial Step |
|
|
Hello to everyone,
I prepared a script for the new tutorial.
Step 1 and Step 2 are included.
I will examine Step 3 when I find time.
Step1
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,gtutorial-x86_64.exe,7F 11 48 8B 4B 30) // should be unique
alloc(newmem,$1000,"gtutorial-x86_64.exe"+3C463)
label(code)
label(return)
newmem:
code:
nop //jg gtutorial-x86_64.exe+3C476
mov rcx,[rbx+30]
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 7F 11 48 8B 4B 30
unregistersymbol(INJECT)
dealloc(newmem) |
Step2
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,gtutorial-x86_64.exe,48 89 C8 29 50 60) // should be unique
alloc(newmem,$1000,"gtutorial-x86_64.exe"+3EE50)
label(code)
label(me)
label(enemy)
label(return)
newmem:
mov rax,rcx
cmp rdx, 1
je me
cmp rdx, 2
je enemy
jmp code
me:
mov edx, 20
sub [rax+60],edx
jmp return
enemy:
mov edx, 0
sub [rax+60],edx
jmp return
code:
mov edx, 0
sub [rax+60],edx
jmp return
INJECT:
jmp newmem
nop
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 48 89 C8 29 50 60
unregistersymbol(INJECT)
dealloc(newmem) |
|
|