Jump to content

28 posts in this topic

Recommended Posts

Posted

I'm trying to disable offset checks for bia3 but I'm unsure how I should do that. @Alphamatter showed me a mini tut on how to do that. The fact that I am n00b at this, means that I still have many questions. How do I hack the following code?

 

MOVW            R1, #(:lower16:(aDamage - HIDDENOFFSET))
MOV             R0, R4
MOVT.W          R1, #(:upper16:(aDamage - HIDDENOFFSET))
ADD             R1, PC  ; "damage"
BLX.W           
CMP             R0, #0
ITT EQ
MOVEQ           R0, #0x13
POPEQ           {R4,R7,PC}
Here's what I changed it to:

 

MOVW            R1, #(:lower16:(aDamage - HIDDENOFFSET))
MOV             R0, R4
MOVT.W          R1, #(:upper16:(aDamage - HIDDENOFFSET))
LDR             R1, R7 ; "damage"
BLX.W           
CMP             R0, R0
ITT EQ
MOVEQ           R0, #0x13
POPEQ           {R4,R7,PC}
Note: offsets are hidden to prevent leeching :)
  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted

I think you did it right... does it not work? Try making CMP R0, R0 into a NOP.

AlphaMatter told me on IC that changing it to NOP is fatal. I think I got it right B)
Posted

AlphaMatter told me on IC that changing it to NOP is fatal. I think I got it right B)

So it works? Then why did you post this topic :p

Posted

This is how u "hacked" bia3??? No wonder it crashed. You can just replace any offset, all this function is doing loading a string.

:facepalm: this is just sad

Oh :mellow:

Please explain how the function has anything to with loading a string.

As you know, I'm n00b :3

Posted

How do you know it's the wrong code. Tell me, then I'll have @@DiDA delete it :)

Why would you delete a hack if it works even if the code is bad?

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