Hi,
So I found the right function for hacking health, I also hacked it & it worked.
Sadly it works for my enemy too
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