|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
scoobyscby16 How do I cheat? Reputation: 0
Joined: 20 Oct 2020 Posts: 3
|
Posted: Tue Oct 20, 2020 1:52 pm Post subject: Noobie looking for some assistance |
|
|
I read went through some of the tutorials and I understand some of it.
I'm trying to copy an address to new memory, and change the value. All the samples generally revolve around mov, not sure what to do with the pushad opcode.
So the address is:
HEX: 203C5950
The opcode I see in MemoryViewer:
pushad
The value currently in the address is:
DEC: 1006780768
The value I want is:
DEC: 1006781615
When I change the value, the cheat works, and I attempted a Auto Assembler script:
Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
stealtheditex(original,203C5950,4)
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(kstore)
label(exit)
registersymbol(newmem)
registersymbol(kstore)
newmem:
originalcode:
pushad
inc ecx
add bh,[eax+eax]
exit:
jmp returnhere
original:
kstore:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
kstore:
unregistersymbol(newmem)
unregistersymbol(kstore) |
Any insights?
|
|
Back to top |
|
|
scoobyscby16 How do I cheat? Reputation: 0
Joined: 20 Oct 2020 Posts: 3
|
Posted: Wed Oct 21, 2020 11:46 am Post subject: |
|
|
Figured out how to get it to work but struggling with stealtheditex. The address/page is being copied, but the code isn't working.
Code: |
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(original, 60 41 02 3C 00 00 82 * * * * 03)
stealtheditex(original,203C5950,8)
alloc(newmem,2048,203C5950)
label(returnhere)
label(kstore)
label(exit)
registersymbol(newmem)
registersymbol(kstore)
newmem:
db AF 44
exit:
jmp returnhere
original:
kstore:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
kstore:
db 60 41 02 3C 00 00 82 * * * * 03
unregistersymbol(newmem)
unregistersymbol(kstore)
|
|
|
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
|
|