|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
anticiudadano How do I cheat? Reputation: 0
Joined: 28 Jun 2018 Posts: 1
|
Posted: Thu Jun 28, 2018 5:29 am Post subject: Problem with infinite health Assemle |
|
|
Hello , I'm new with CE but I've read a lot of tutorials. My problem is the next one: I'm trying to make a infinite health using AOB scan, but I found something that I dont understant:
Code: |
aobscanmodule(INJECT,nineparchments_64bit.exe,89 3C 8B 44 0F B7 53 4E) // should be unique
alloc(newmem,$1000,"nineparchments_64bit.exe"+10DD211)
label(code)
label(return)
newmem:
code:
push ebx
mov ebx,[rbx+rcx*4-4] //memory position of max health
mov [rbx+rcx*4],ebx //my health = max health
pop ebx
movzx r10d,word ptr [rbx+4E] //problem that i have, idk what is it
jmp return
//mov [rbx+rcx*4],edi
//movzx r10d,word ptr [rbx+4E]
//jmp return
|
I've found my max health and my actual health memory positions. But I dont understand what is the function of " movzx r10d,word ptr [rbx+4E]" I know it is some kind of register but I cant ignore it, delete or something. The game crash if I do it. How can I modify it to work?
Thank you for all
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Thu Jun 28, 2018 5:59 am Post subject: |
|
|
kinda messy, can you post the original hooked instructions?
also posting used register values (by hooked instructions) can help. [rbx, rcx .. others]
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
anticiudadano How do I cheat? Reputation: 0
Joined: 28 Jun 2018 Posts: 1
|
Posted: Fri Jun 29, 2018 2:56 am Post subject: |
|
|
The original code of the Assemble is:
Code: |
[ENABLE]
aobscanmodule(INJECT,nineparchments_64bit.exe,89 3C 8B 44 0F B7 53 4E) // should be unique
alloc(newmem,$1000,"nineparchments_64bit.exe"+10DD211)
label(code)
label(return)
newmem:
code:
mov [rbx+rcx*4],edi
movzx r10d,word ptr [rbx+4E]
jmp return
INJECT:
jmp newmem
nop
nop
nop
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 89 3C 8B 44 0F B7 53 4E
unregistersymbol(INJECT)
dealloc(newmem)
|
And the values of the register are this:
Description: |
|
Filesize: |
42.24 KB |
Viewed: |
8555 Time(s) |
|
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Fri Jun 29, 2018 7:34 am Post subject: |
|
|
why you didnt just mov max health into edi?
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|