| View previous topic :: View next topic |
| Author |
Message |
noraneiei How do I cheat?
Reputation: 0
Joined: 06 Sep 2022 Posts: 6
|
Posted: Fri Oct 14, 2022 11:12 am Post subject: [Help] How i change xmm |
|
|
Hello everyone, thanks for reading.
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 |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4711
|
Posted: Fri Oct 14, 2022 1:53 pm Post subject: |
|
|
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 |
|
 |
noraneiei How do I cheat?
Reputation: 0
Joined: 06 Sep 2022 Posts: 6
|
Posted: Fri Oct 14, 2022 3:34 pm Post subject: |
|
|
| 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 |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4711
|
Posted: Fri Oct 14, 2022 9:37 pm Post subject: |
|
|
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 |
|
 |
noraneiei How do I cheat?
Reputation: 0
Joined: 06 Sep 2022 Posts: 6
|
Posted: Sat Oct 15, 2022 3:30 am Post subject: |
|
|
| 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 |
|
 |
|