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 


Cheat Engine Forum Index
PostGo back to topic
Dark Byte
Site Admin
Reputation: 458
Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Thu Sep 14, 2017 2:57 am    Post subject:

registersymbol IS a global

also, if you have setup a structure, you can reference offsets in it using structurename.elementname

so in your case, assuming you also have defined state as a separate structure
Code:

push rax
mov rax,[rcx+Unit.state]
mov [rax+State.hp],(float)1
pop rax

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Post reviews:   Approve 1
Author Review
FauDrei
Review: Approve
Post reference:
ReviewPosted: Thu Sep 14, 2017 5:52 am

Very helpful with AA "global" defines and mono structures usage in AA.
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites