Effect code script 1F - go to end if hit counter = 0
Jump to navigation
Jump to search
001a2cfc: 84830006 lh r3,0x0006(r4) load header counter 001a2d00: 8c820008 lw r2,0x0008(r4) load header address 001a2d04: 00603021 addu r6,r3,r0 001a2d08: 00622821 addu r5,r3,r2 counter + address 001a2d0c: 90a20001 lbu r2,0x0001(r5) load counter + 0x01 byte 001a2d10: 3c03801c lui r3,0x801c 001a2d14: 9463ad0c lhu r3,-0x52f4(r3) load hit counter 001a2d18: 00021082 srl r2,r2,0x02 byte / 4 001a2d1c: 14620004 bne r3,r2,0x001a2d30 branch if hit counter doesn't equal next byte / 4 001a2d20: 27bdfff8 addiu r29,r29,0xfff8 001a2d24: 94a20002 lhu r2,0x0002(r5) load next byte 001a2d28: 08068b4e j 0x001a2d38 001a2d2c: a4820006 sh r2,0x0006(r4) store as counter 001a2d30: 24c20004 addiu r2,r6,0x0004 counter+4 001a2d34: a4820006 sh r2,0x0006(r4) store new counter 001a2d38: 34020001 ori r2,r0,0x0001 001a2d3c: 27bd0008 addiu r29,r29,0x0008 001a2d40: 03e00008 jr r31 001a2d44: 00000000 nop