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 


EAX and RAX Registers (Both in same game)

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

Joined: 25 Jun 2021
Posts: 4

PostPosted: Fri Jun 25, 2021 11:17 am    Post subject: EAX and RAX Registers (Both in same game) Reply with quote

So, I'm trying to make a trainer for Hades, a steam game, and I'm having troubles.

Whenever I run a pointer scan I don't get any results, so I was going to use AOB to just NOP the decrease, but the health value gets passed between RAX and EAX and it crashes the game; because it's no longer passing values between mem and registers (I'm guessing).

So my question is: I thought x64 used RAX etc and x86 used EAX, but it appears both are in this game.

Can someone help me understand?

Sorry for being nub.

Thanks in advance!

----------Mem View---------------

7FFB866049B8 - 4C 8B F0 - mov r14,rax
7FFB866049BB - 49 8B 04 24 - mov rax,[r12]
7FFB866049BF - 49 89 06 - mov [r14],rax <<
7FFB866049C2 - 41 8B 44 24 08 - mov eax,[r12+08]
7FFB866049C7 - 41 89 46 08 - mov [r14+08],eax

RAX=4054000000000000
RBX=000001A93D720BE0
RCX=CC467B2A411F0000
RDX=000001A8137AAFF0
RSI=000001A93E1798F0
RDI=000001A9041A0770
RSP=000000722CEFDDE0
RBP=0000000000000000
RIP=00007FFB866049C2
R8=000001A9041A0770
R9=000001A93D720C00
R10=000001A81F777440
R11=000001A8137990E0
R12=000001A93D720C00
R13=000001A93E294A70
R14=000001A8134A9448
R15=000001A8137990F0
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Fri Jun 25, 2021 11:27 am    Post subject: Reply with quote

eax is the lower 32 bits of rax (64-bit register).

That looks like a double. You should look for some SSE instruction that accesses the value instead (e.g. movsd, addsd...)

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
hexcypher
How do I cheat?
Reputation: 0

Joined: 25 Jun 2021
Posts: 4

PostPosted: Fri Jun 25, 2021 11:33 am    Post subject: Reply with quote

ParkourPenguin wrote:
eax is the lower 32 bits of rax (64-bit register).

That looks like a double. You should look for some SSE instruction that accesses the value instead (e.g. movsd, addsd...)


Ah okay, ty ty

It is in fact a double
Back to top
View user's profile Send private message
srg85
How do I cheat?
Reputation: 0

Joined: 11 Jan 2022
Posts: 1

PostPosted: Tue Jan 11, 2022 6:22 am    Post subject: Reply with quote

Hi, I im doing the same as you and Hades.exe file.

I'm stuck in the instruction that writes to the life adress.



What should i do now? This instruction writes to literally a thousand other directions?

EngineWin64s.dll+37ECA0 mov [r14],rax
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