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 


[Help] How i change xmm

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

Joined: 06 Sep 2022
Posts: 6

PostPosted: Fri Oct 14, 2022 11:12 am    Post subject: [Help] How i change xmm Reply with quote

Hello everyone, thanks for reading. Smile

I want to change x y z position in xmm1 [ 143.30, 38.51, 162.95 ] I use this aa

Code:
 movss xmm1,[Somemem] 


but it only changes 143.30
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Fri Oct 14, 2022 1:53 pm    Post subject: Reply with quote

Use movups

All 3 coordinates along with a 4th float (looks to be 1.00) must be stored next to each other.

_________________
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
noraneiei
How do I cheat?
Reputation: 0

Joined: 06 Sep 2022
Posts: 6

PostPosted: Fri Oct 14, 2022 3:34 pm    Post subject: Reply with quote

ParkourPenguin wrote:
Use movups

All 3 coordinates along with a 4th float (looks to be 1.00) must be stored next to each other.


Thanks you sir it's work to show all
But it only change 143.90 how i change 38.51 and 165.07 in aa ?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4711

PostPosted: Fri Oct 14, 2022 9:37 pm    Post subject: Reply with quote

I don't know how you want to change it. Do you want something like this?
Code:
aobscanmodule(XYZ,...)
alloc(newmem,$1000,XYZ)

label(xyz_position)
label(x_pos)
label(y_pos)
label(z_pos)
label(return)

registersymbol(x_pos)
registersymbol(y_pos)
registersymbol(z_pos)

newmem:
  movups xmm1,[xyz_position]
  // ...
  jmp return

align 10 CC
xyz_position:
x_pos:
  dd (float)143.9
y_pos:
  dd (float)38.51
z_pos:
  dd (float)165.07
// unknown
  dd (float)1.00

...

_________________
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
noraneiei
How do I cheat?
Reputation: 0

Joined: 06 Sep 2022
Posts: 6

PostPosted: Sat Oct 15, 2022 3:30 am    Post subject: Reply with quote

ParkourPenguin wrote:
I don't know how you want to change it. Do you want something like this?
Code:
aobscanmodule(XYZ,...)
alloc(newmem,$1000,XYZ)

label(xyz_position)
label(x_pos)
label(y_pos)
label(z_pos)
label(return)

registersymbol(x_pos)
registersymbol(y_pos)
registersymbol(z_pos)

newmem:
  movups xmm1,[xyz_position]
  // ...
  jmp return

align 10 CC
xyz_position:
x_pos:
  dd (float)143.9
y_pos:
  dd (float)38.51
z_pos:
  dd (float)165.07
// unknown
  dd (float)1.00

...


Thanks you so much you are the best one ♥
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