Jump to content

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...
Posted
4 hours ago, Godiskata said:

Help me pls! I got get_movespeed(float) in dump, what arm code multiple x time?

64bit 

A8 mov w0, #4 (try 4-20 which one is better) 

And

A8 ret

 

32bit 

A mov r0, #4 ((try 4-20 which one is better) 

And 

A bx lr

5 hours ago, Godiskata said:

Help me pls! I got get_movespeed(float) in dump, what arm code multiple x time?

Maybe arm just edit dword only

Posted
2 hours ago, Alessa- said:

64bit 

A8 mov w0, #4 (try 4-20 which one is better) 

And

A8 ret

 

32bit 

A mov r0, #4 ((try 4-20 which one is better) 

And 

A bx lr

Maybe arm just edit dword only

Ty i'll try later

Posted (edited)
On 2/8/2023 at 11:18 AM, toddcarson said:

Users of x64 Arm should be aware that the registers will now be W instead of R.
Not allowed use: MOVW -> MOVZ MOVT -> MOVK MVN MOV W0,#-1 

Can W and X 

 

Edited by Alessa-
Posted
3 hours ago, Alessa- said:

Can W and X 

 

register W will hold 32 bit values and X will hold 64 values , 
 

local binary = string.pack("f", 4.0) -- this will convert the float 4 to binary form "f" = float / "d" = double
      local hex = ""
      for i = 1, #binary do -- this loop will give us the hex value of the binary above
        hex = hex .. string.format("%02X", string.byte(string.reverse(binary), i))
      end
--[[
the final arm code will be : 
~A8 MOVK X0, #0x0000, LSL #16 -- LSL will shift our hex value
~A8 MOVK X0, #0x4080, LSL #32
~A8 FMOV S0 ,X0
~A8 RET
]]
--reply if the code work for you

 

Posted
2 hours ago, Alessa- said:

But i use w all fine xD

So for negativ value 

Arm 64 

Mov w0, #-1 ?

This is correct for int.
you can check GodBolt.org 

  • 3 weeks later...
  • 4 weeks later...
Posted
1 hour ago, DARK_DEMON_SCRIPTER said:

@XEKEXcan you give me void editng value for arm and arm64 for true and false 

void functions doenst have return , also it act like : 
for key , value in pairs() in lua

  • 1 month later...
Posted

@XEKEXhi bro, i have 7 arm codes like in the picture how can i edit #123 to #9999?, i tried your methods but the game will be closed immediately

Screenshot_20230515-025759_Zombie Cubes 2.jpg

Posted
14 hours ago, LTC said:

@XEKEXhi bro, i have 7 arm codes like in the picture how can i edit #123 to #9999?, i tried your methods but the game will be closed immediately

Screenshot_20230515-025759_Zombie Cubes 2.jpg

edit the address 9936C000 ( push instruction ) to MOVW R0, #999
edit the address below it (ADD R11 SP #16 ) to BX LR

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.