Dark Byte Site Admin
Reputation: 467 Joined: 09 May 2003 Posts: 25704 Location: The netherlands
|
Posted: 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
|
|