View previous topic :: View next topic |
Author |
Message |
fader How do I cheat? Reputation: 0
Joined: 11 Nov 2016 Posts: 7
|
Posted: Sun Jan 21, 2018 4:30 pm Post subject: [HELP] How to register symbol with addres from opcode? |
|
|
Hi,
I saw some time ago a tut where this was explained and even use it one time but... i forgot
What i need to do is to register symbol to use it with add address manualy.
I have an instruction 07EDB18E - mov edx,[eax+0000038C] what i need to do to register symbol lets say P1 with addres?
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun Jan 21, 2018 4:43 pm Post subject: |
|
|
To get the address that the instruction uses you will need to do a code injection or use breakpoints. I suggest you start with an injection if you are still learning the basics. The Cheat Engine tutorial app goes over how to do is.
_________________
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sun Jan 21, 2018 5:10 pm Post subject: |
|
|
depending on your needs:
- you can get the address of [eax+0000038C]
- you can get the value of [eax+0000038C]
remember to use different names if you decided to get both, otherwise you will get some errors.
address:
Code: | alloc(P1,04)
registersymbol(P1)
newmem:
lea edx,[eax+0000038C]
mov [P1],edx
originalcode:
[eax+0000038C]
; ...
unregistersymbol(P1)
dealloc(P1) |
value:
Code: | alloc(P1,04)
registersymbol(P1)
newmem:
mov edx,[eax+0000038C]
mov [P1],edx
originalcode:
[eax+0000038C]
; ...
unregistersymbol(P1)
dealloc(P1) |
_________________
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 |
|
|
fader How do I cheat? Reputation: 0
Joined: 11 Nov 2016 Posts: 7
|
Posted: Sat Jan 27, 2018 3:03 pm Post subject: |
|
|
OldCheatEngineUser thx alot mate this is what i was looking for thx for ur help
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sat Jan 27, 2018 3:10 pm Post subject: |
|
|
just remember to add this under originalcode:
Code: | originalcode:
mov edx,[eax+0000038C] |
_________________
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 |
|
|
|