Help! Il2cpp Get Health Function

Atreus

Platinian
Hi all,

Been trying every which way I can think of to mod this function and am getting no where and am hoping you can help.

Code:
public int get_Hp();
public void set_Hp(int value);

I have tried modding the get function by using

Code:
MOV    R0, #0x43000000
BX LR

Neither worked. What was odd is that even though my HP decreased was unable to restore it as the game was saying it was at 100%.

I also attempted to mod the setter with a NOP (caused a crashed) as well as attempting to push R7 into STR, again no dice.

The getter function is Get - Pastebin.com
The setter function is Set - Pastebin.com

Am really at a loss any help would be appreciated.

Thanks!
 
Back
Top Bottom