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 


How to Read XMM0 In Breakpoint Handler

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
lylcheat
Cheater
Reputation: 0

Joined: 14 Feb 2009
Posts: 33
Location: Planet 3 Solar System Orion Arm Spiral Galaxy Milky Way

PostPosted: Wed Apr 01, 2026 4:41 am    Post subject: How to Read XMM0 In Breakpoint Handler Reply with quote

According to some old posts I've found these should give me the content of XMM0 in a breakpoint handler

Code:
 
  :
  debug_getContext(true) ;
  local regXMM0=byteTableToDouble(XMM0);
  print(string.format("..result from xmm0:%f",regXMM0));
 i, v in ipairs(XMM0) do
  print("Byte " .. i .. ": " .. v)
end
:


But instead, float 0.0 is printed, and all the bytes in the XMM0 table are 0x00. Is my understanding incorrect?


Last edited by lylcheat on Wed Apr 01, 2026 9:51 am; edited 2 times in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25906
Location: The netherlands

PostPosted: Wed Apr 01, 2026 5:20 am    Post subject: Reply with quote

Which debugger interface do you use and which version of CE?

Assuming the breakpoint you're currently halted on contains a value on the xmm register it should show it.
Is the target 32 bit? If so, it may be in tbe fp register instead

_________________
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
lylcheat
Cheater
Reputation: 0

Joined: 14 Feb 2009
Posts: 33
Location: Planet 3 Solar System Orion Arm Spiral Galaxy Milky Way

PostPosted: Wed Apr 01, 2026 9:43 am    Post subject: Reply with quote

64bit cheat engine 7.6 on 64bit target

Setting:

Preferred breakpoint method
- hardware Breakpoints (Max4)

Debugger Method:
- dbvm-level debugger

Debugger interface config:
- checked: Trigger copy-on-write before activating watches
- checked: Kernelmode breaks (when possible)
- unchecked: targeted process only, unchecked
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25906
Location: The netherlands

PostPosted: Wed Apr 01, 2026 9:59 am    Post subject: Reply with quote

ah yes. dbvm level may have an issue there


AMD cpu ?

_________________
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
lylcheat
Cheater
Reputation: 0

Joined: 14 Feb 2009
Posts: 33
Location: Planet 3 Solar System Orion Arm Spiral Galaxy Milky Way

PostPosted: Wed Apr 01, 2026 11:44 am    Post subject: Reply with quote

intel (4th gen Razz )
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 Lua Scripting 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