Remove charging status/ability CT
Jump to navigation
Jump to search
00180178: 27bdffe8 addiu r29,r29,0xffe8 0018017c: afbf0010 sw r31,0x0010(r29) 00180180: 90820058 lbu r2,0x0058(r4) load status 00180184: 00000000 nop 00180188: 30420008 andi r2,r2,0x0008 0018018c: 1040000f beq r2,r0,0x001801cc branch if not charging 00180190: 340200ff ori r2,r0,0x00ff 00180194: 9083015d lbu r3,0x015d(r4) load ability CT 00180198: 00000000 nop 0018019c: 1062000b beq r3,r2,0x001801cc branch if not charging ability 001801a0: 34020008 ori r2,r0,0x0008 001801a4: 9083016f lbu r3,0x016f(r4) load skillset of attack 001801a8: 00000000 nop 001801ac: 14620007 bne r3,r2,0x001801cc branch if not charge 001801b0: 00000000 nop 001801b4: 10a00012 beq r5,r0,0x00180200 branch if preset value is 0 001801b8: 34020001 ori r2,r0,0x0001 001801bc: 0c060084 jal 0x00180210 disable charging status? 001801c0: 00000000 nop 001801c4: 08060080 j 0x00180200 001801c8: 34020001 ori r2,r0,0x0001 return r2 = 1 001801cc: 90830182 lbu r3,0x0182(r4) load mount flags 001801d0: 00000000 nop 001801d4: 30620040 andi r2,r3,0x0040 001801d8: 10400008 beq r2,r0,0x001801fc branch if not being ridden 001801dc: 3062001f andi r2,r3,0x001f r2 = ID of riding unit 001801e0: 000218c0 sll r3,r2,0x03 001801e4: 00621823 subu r3,r3,r2 001801e8: 00031980 sll r3,r3,0x06 001801ec: 3c028019 lui r2,0x8019 001801f0: 244208cc addiu r2,r2,0x08cc 001801f4: 08060060 j 0x00180180 redo routine for riding unit 001801f8: 00622021 addu r4,r3,r2 001801fc: 00001021 addu r2,r0,r0 return 0x00 (not charging?) 00180200: 8fbf0010 lw r31,0x0010(r29) 00180204: 27bd0018 addiu r29,r29,0x0018 00180208: 03e00008 jr r31 0018020c: 00000000 nop