so that's your current hp. so you need to write the code that check if you still alive:I found - HEAP+ 0x00394DECE4 so what next for me to do?
14160000 394DECE4 00000000
^ this code uses your current hp as a check. i have, thur personal experience found the game softlock if you stay in an invincible state.
now we add 0x14 to your address to get [heap + 0x394DECF8], so now that we know the address, and its in float we get:
04100000 394DECF8 3F800000. 0x3F800000 is float 1
and finally, a terminator code so ultimately your code will look something like this:
[Inv timer]
14160000 394DECE4 00000000
04100000 394DECF8 3F800000
20000000