Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[HELP] How to register symbol with addres from opcode?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
fader
How do I cheat?
Reputation: 0

Joined: 11 Nov 2016
Posts: 7

PostPosted: Sun Jan 21, 2018 4:30 pm    Post subject: [HELP] How to register symbol with addres from opcode? Reply with quote

Hi,

I saw some time ago a tut where this was explained and even use it one time but... i forgot Sad

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
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sun Jan 21, 2018 4:43 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Sun Jan 21, 2018 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
fader
How do I cheat?
Reputation: 0

Joined: 11 Nov 2016
Posts: 7

PostPosted: Sat Jan 27, 2018 3:03 pm    Post subject: Reply with quote

OldCheatEngineUser thx alot mate this is what i was looking for Very Happy thx for ur help
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Sat Jan 27, 2018 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites