Jump to content

36 posts in this topic

Recommended Posts

Posted
4 hours ago, m_seitzz said:

I am kind of late to the party, but I would appreciate more complicated conversions too 😄

This topic is extremely helpful!

I know a lot more conversions but some are hard to explain.

Im glad you found this topic helpful :)

  • Agree 1
Posted
On 6/21/2018 at 12:05 AM, Sinrason said:

Do you know if its possible to force a plain return; (for a void type-func) ?

Yes that is possible. BX LR the function.

BX LR at the beginning of a void function would do what you are talking about

private void function()
{
	// nothing here
}

BX LR wont necessarily return anything, it will just end the function like above. Using BX LR at the very start of a void will do what you want.

BX LR

ARM Hex -> 1E FF 2F E1

Thumb Hex -> 70 47

  • Thanks 2
Posted
On 11/27/2018 at 12:59 AM, Jbro129 said:

Yes that is possible. BX LR the function.

BX LR at the beginning of a void function would do what you are talking about


private void function()
{
	// nothing here
}

BX LR wont necessarily return anything, it will just end the function like above. Using BX LR at the very start of a void will do what you want.

BX LR

ARM Hex -> 1E FF 2F E1

Thumb Hex -> 70 47

Thanks ! ;)

Posted

spacer.png

 

Here is a function which i want to edit.

 

spacer.png

 

It maybe like this

 

public void set_Damage(int value)

{

damage = value;

}

I want to change damage = 9999

 

I edit add the offset: 0x22B7414 or 0x22B7450 with this hex:

F5E184D2C0035FD6

 

It means:

 

mov x21,0x270f

Ret

 

But the game was crashed. Is there any wrong with my patch?

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