Jump to content

Aswag1

Senior Member
  • Posts

    369
  • Joined

  • Last visited

Posts posted by Aswag1

  1. Ok, here is the breakdown of what the code is doing:

    FCMP S0, #0.0 <-- this is comparing the health to see if your health (S0) is equal to 0.0

    B.LS loc__ <-- B.LS (Branch if Less) means that if the value in S0 is less than 0.0, it will branch to this loc__

    STR XZR <-- If the value is not less than 0.0, then the health is stored in XZR register

     

    At loc__1001F2040 we see this:

    STR WZR  

    MOVI V0, #0

    This moves the value of 0 into the health register, thus making the player dead

×
  • 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