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 


xmm register can't load value from ram code injection

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

Joined: 19 Oct 2023
Posts: 7
Location: Russia, Norvinsk, Tarkov

PostPosted: Tue Oct 31, 2023 10:58 am    Post subject: xmm register can't load value from ram code injection Reply with quote

This code can't be injected for some reason, [154200CB670] is a float value from the original code of the game.
Code:
[ENABLE]
alloc(newmem,512,1551DACD49B)
label(returnhere)

newmem:
  movss xmm5,[154200CB670]
  movss [rsi+50],xmm5
  jmp returnhere

1551DACD49B:
  jmp newmem
returnhere:
 
 
[DISABLE]
dealloc(newmem)
1551DACD49B:
  db F3 0F 11 6E 50
//movss [rsi+50],xmm5

Why ?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Tue Oct 31, 2023 11:32 am    Post subject: Reply with quote

RIP-relative addressing probably
Code:
push rcx
mov rcx,154200CB670
movss xmm5,[rcx]
pop rcx
movss [rsi+50],xmm5
jmp returnhere

_________________
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
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