Jump to content

Encoding Branch and Link BL sub_x


Go to solution Solved by jayvee,

18 posts in this topic

Recommended Posts

Posted

Yeah, he pretty much explains what I already know. I just want to know how to encode BL.W sub_X to hex or if there's a program that can do it for me.

 

BL.W sub_44F08 -> CA F0 43 F5

 

Where the heck does CA F0 43 F5 come from? O.o

 

ITS A BRACH .. 

Posted

Just follow his/her guide. I already understand how he got that hex value but too lazy to do it cause my PC is so slow :D it takes 30 minutes to do a string search in IDA

Posted (edited)

Just follow his/her guide. I already understand how he got that hex value but too lazy to do it cause my PC is so slow :D it takes 30 minutes to do a string search in IDA

Wow, 30 minutes? xD I don't need string search, I can find the new functions in less than a minute. The problem is how to encode sub_B9D800 to hex. Otherwise, I would have whipped out my hack by now.

If you say you know it, please explain how to encode sub_B9D800. Because that's all I need.

Updated by Javi Tech
Posted

This discussion is awkward. You can't encode sub headers as the real functions are not existing. Read tutorials how to hack branches it's really an ease.

@@Javi Tech @ you differ from the topic. Your way to get the HEX doesn't make any sense

Posted (edited)

Yeah, he pretty much explains what I already know. I just want to know how to encode BL.W sub_X to hex or if there's a program that can do it for me.

 

BL.W sub_44F08 -> CA F0 43 F5

 

Where the heck does CA F0 43 F5 come from? O.o

BL.W sub_4D7F8

 

0X0004D7F8 - (0X006E0618 + 4) = FF96D1DC

 

1111 1111 1001 0110 1101 0001 1101 1110

 

1111111 1 1 0 0101101101 0001110111 10

s i1 i2 H L

 

j1 = 1

j2 = 0

 

11110 1 0101101101 11 1 1 0 0001110111 0

s H j1 j2 L

 

1111 0101 0110 1101 1111 0000 1110 1110

F56DF0EE --> 6DF5EEF0

 

 

 

 

BL.W sub_BAB09C

 

0000 0000 0100 1100 1010 1010 1000 0110

 

0000000 0 0 1 0011001010 1010100001 1

s i1 i2 H L

j1 = 1

j2 = 1

 

1111 0000 1100 1010 1111 0101 0100 0011

F0CAF543 --> CAF043F5

Updated by akosijv

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