Jump to content

20 posts in this topic

Recommended Posts

Posted

Hi,

 

i found the health function of enemy..

ERJHHWn.jpg 

 

I do a breakpoijnt, which tells me R10 = damage.

 

So what do I do:

YayiXuX.jpg

 

I change the red marked function to LDR.W r2, [R7]

 

This doesn't work, I don't see a CMP with the register 10 either, so no idea what's wrong.

 

Anyone sees what I do wrong?

Posted
5 minutes ago, Ted2 said:

Hi,

 

i found the health function of enemy..

ERJHHWn.jpg 

 

I do a breakpoijnt, which tells me R10 = damage.

 

So what do I do:

YayiXuX.jpg

 

I change the red marked function to LDR.W r2, [R7]

 

This doesn't work, I don't see a CMP with the register 10 either, so no idea what's wrong.

 

Anyone sees what I do wrong?

You read it left to right, so instaid of making it load R10 into R2 you made it load R7, try the load function above which is saying to load R0 into R10.                Change the R0 to R7. 

Posted
1 minute ago, NoHax said:

You read it left to right, so instaid of making it load R10 into R2 you made it load R7, try the load function above which is saying to load R0 into R10.                Change the R0 to R7. 

The red marked functions tells to load r10 (damage) into r2 right?

changing it to r7 would make it load 803 million as damage right?

Posted

I meant right to left

4 minutes ago, Ted2 said:

The red marked functions tells to load r10 (damage) into r2 right?

changing it to r7 would make it load 803 million as damage right?

 

Posted (edited)
5 minutes ago, NoHax said:

You read almost all IDA functions except for str right to left. 

I know.. That's why I think what I hack is right xD.

 

loads R10 into R2

loads 'damage' into R2

loads R7 into R2

loads '803mil' into R2

 

right? O.o

 

Edit: did just do the thing u said, ain't working either.

Updated by Ted2
Posted

R2 = health? 

Register told you that?

What happens when you try this?

Have you tried NOP?

Does the enemy receive damage?

 

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