Jump to content

6 posts in this topic

Recommended Posts

Posted

Hi,

 

So I found the right function for hacking health, I also hacked it & it worked. 

Sadly it works for my enemy too xD

 

This is the part I hacked

loc_16955C
LDR             R0, [R5,#0x40]
LDR             R1, [R11,#var_s0]
SUB             R0, R0, R1
STR             R0, [R5,#0x40]
CMP             R0, #0
BGE             loc_16957C

I changed SUB R0, R0, R1 to a ADD & it worked.

 

So I was thinking that linked function had to do something with branches, I did NOP the

BGE loc_169557C

Whcih resulted in both, me & enemy has normal health.

 

The loc_169557c function looks like this (if that helps lol):

loc_16957C
VLDR            S0, [R5,#0x4C]
VCVT.F64.F32    D2, S0
VNEG.F64        D2, D2
VCVT.F32.F64    S0, D2
VSTR            S0, [R5,#0x48]
LDR             R0, =(unk_C8103C - 0x1695A4)
B               loc_16959C

 

Anyone could help me out? 

 

Thankyou in advance :D

Posted

Do you have GDB?

In essence, SUB decreases the health and the STR stores it.

it compares health with 0 and if it's greater than 0 (aka alive) it branches to that function

Posted

Yes I got GDB!

 

So the main function i need to hack is the one with Vectors?

1 minute ago, Archangel04 said:

If you 0021 the LDR R1, [R11, #var_s0]

that is also god mode. If you 0020 the first LDR, that's one hit kill 

Wow thanks dude!

Posted
16 minutes ago, Ted2 said:

Yes I got GDB!

 

So the main function i need to hack is the one with Vectors?

Wow thanks dude!

No. Do a breakpoint on the SUB. (Make sure you remove ASLR)

Let enemy hit you. Do backtrace or bt and then do i r. Copy both.

then hit enemy, do bt and i r again. Copy this too. Send it to me or post below 

Posted
Just now, Archangel04 said:

No. Do a breakpoint on the SUB. (Make sure you remove ASLR)

Let enemy hit you. Do backtrace or bt and then do i r. Copy both.

then hit enemy, do bt and i r again. Copy this too. Send it to me or post below 

Sure! Making dinner right now, so after xD

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