Jump to content

3 posts in this topic

Recommended Posts

Posted

I need your help with this one arm code it’s LDR  S0, [X20,#0x130]
 

I know ldr is means load and the x130 contains the damage float only thing is which part do I edit  if you need a screenshot I can give later as I have high school to tend too

Posted (edited)
2 hours ago, Wowowowww said:

 

I need your help with this one arm code it’s LDR  S0, [X20,#0x130]
 

I know ldr is means load and the x130 contains the damage float only thing is which part do I edit  if you need a screenshot I can give later as I have high school to tend too

if im right:

S0 will contain your damage value.

0x130 is the var that contains the actual damage AND that will be load in S0 when the instruction will be called

X20, idk but it doesn't really matter

 

if im still right you want to change the number that is located at 0x130. but, there is easier !

You could simply return another value to S0 (a float one), i would try this :

FMOV S0, #31

This will load a huge value in S0, and you should be good

 

If it doesn't work then LDR a huge register in S0 

Updated by D red.dll
Posted
8 hours ago, D red.dll said:

if im right:

S0 will contain your damage value.

0x130 is the var that contains the actual damage AND that will be load in S0 when the instruction will be called

X20, idk but it doesn't really matter

 

if im still right you want to change the number that is located at 0x130. but, there is easier !

You could simply return another value to S0 (a float one), i would try this :

FMOV S0, #31

This will load a huge value in S0, and you should be good

 

If it doesn't work then LDR a huge register in S0 

Thanks will test in a little while

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 would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines