Jump to content

[Android] Online ARM/Thumb Branch Finder!


5 posts in this topic

Recommended Posts

Updated (edited)

q9GqErq.png
 
Hey everyone! It's (damn) DiDA, back at it again with the useful stuff! This time, we've made an Online ARM/Thumb Branch Finder/Calculator.
 
This is super useful for cheaters and gives them the ability to rewrite functions (code caving) and make hacking even better!
 
Instructions on how to use it:
Usage instructions are on the website. I will post them here again. 
 
1. In the first box, you need to enter the current offset where you want to write the branch instruction.
2. In the second box, you need to write the instruction which you want to branch to and the function/location name.
3. In the third box, you need to write the offset where you want to branch to.
4. In the fourth box, you need to write the name of the function/location.
5. Select Thumb or ARM from the dropdown box and then press 'Go'.

Example usage screenshots: Thumb - ARM  - ARM64

This tool may support a variety of conditions. Tested so far: BL, BEQ, BNE, BGT, BGE, BLE, BMI, BPL and more! Also works with CBZ, CBNZ (CBZ Rn, loc_476FC2) and more!
 
To-Do:
- Improve the output (make it simpler to read and fix a small issue) Done!
- Add ARM64/x64 Support Done!
- Improve the input Not done but it's still good ;p
- Add the ability to branch from current address to a previous address Done!
- <Insert your suggestion here>
 
This should also work for Android binaries! :)
 
I will post down below in the posts section regarding any updates done to the tool. :)
 
Hope you guys find this useful. :)

Updated by DiDA
  • Like 3
  • Agree 1
Posted

Hey DiDa am I able to private message you about something? Its making a branch to a function that uses MOV R0, #9999. Can I use the same branch over and over for multiple functions? or does every function have its own specified branch. For example, I turned a 8 byte cave into  MOV R0, R4      BX LR      can I use the same offset of the 8 byte arm code i created for anything? or can the cave only be used once     

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