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 


Learning more about ASM

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
maxhat
Newbie cheater
Reputation: 0

Joined: 10 Apr 2012
Posts: 24

PostPosted: Thu Jun 05, 2014 5:44 pm    Post subject: Learning more about ASM Reply with quote

Ok to skip a long story and make it short I need help with trying to understand how to get a physical memory address off a register...

Further broken down:

Game - UT3
Cheat - Health

Ok I found that EDX will always hold my Health Base no matter how many times I restart the game or the pc, EDX holds my base and i have my offset as 123 (though not really 123). I want to find out how do i turn EDX into a workable address like:

Register - Address
EDX - 0xA1B2C3D4 + ( My offset found )

my offset is found by just subtracting my current health address from the base and finding how far out the address is from base... 100% of the time I've been given my Health with no fail. I just need to know how do i turn the literal word of EDX into a physical address like '0x4d3c2b1a' or etc.


Thank some guy with a max hat ~
Back to top
View user's profile Send private message
Daijobu
Master Cheater
Reputation: 13

Joined: 05 Feb 2013
Posts: 301
Location: the Netherlands

PostPosted: Thu Jun 05, 2014 9:16 pm    Post subject: Reply with quote

Load Effective Address: lea

lea [something],eax - loads the effective address of eax into [something].

The LEA instruction works like MOV, except that LEA stores the address into its target register, in stead of loading the contents of the address and storing it like the MOV instruction.

_________________
Scripts/tables from scratch. Relation to other scripts is coincidental. Use of posted code is credited properly.
Euro Truck Simulator 2 Backwards Compatible Cheat
American Truck Simulator Backwards Compatible Cheat
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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