Get misc data, do something else if none found
Jump to navigation
Jump to search
0008c9c4: 27bdffe8 addiu r29,r29,0xffe8 0008c9c8: afb00010 sw r16,0x0010(r29) 0008c9cc: 00a08021 addu r16,r5,r0 0008c9d0: afbf0014 sw r31,0x0014(r29) 0008c9d4: 0c01e9b9 jal 0x0007a6e4 get misc data 0008c9d8: 3084ffff andi r4,r4,0xffff 0008c9dc: 00402821 addu r5,r2,r0 0008c9e0: 14a00005 bne r5,r0,0x0008c9f8 branch if found 0008c9e4: 00000000 nop 0008c9e8: 0c01128d jal 0x00044a34 0008c9ec: 3404000c ori r4,r0,0x000c 0008c9f0: 0802328d j 0x0008ca34 0008c9f4: 00001021 addu r2,r0,r0 0008c9f8: 94a20060 lhu r2,0x0060(r5) load x 0008c9fc: 96030000 lhu r3,0x0000(r16) load stored X 0008ca00: 00000000 nop 0008ca04: 00431021 addu r2,r2,r3 0008ca08: a4a20060 sh r2,0x0060(r5) store new X 0008ca0c: 94a20062 lhu r2,0x0062(r5) load height 0008ca10: 96030002 lhu r3,0x0002(r16) 0008ca14: 00000000 nop 0008ca18: 00431021 addu r2,r2,r3 0008ca1c: 94a30064 lhu r3,0x0064(r5) store new height 0008ca20: a4a20062 sh r2,0x0062(r5) 0008ca24: 96040004 lhu r4,0x0004(r16) load Y 0008ca28: 34020001 ori r2,r0,0x0001 return 1 0008ca2c: 00641821 addu r3,r3,r4 0008ca30: a4a30064 sh r3,0x0064(r5) store new Y 0008ca34: 8fbf0014 lw r31,0x0014(r29) 0008ca38: 8fb00010 lw r16,0x0010(r29) 0008ca3c: 27bd0018 addiu r29,r29,0x0018 0008ca40: 03e00008 jr r31 0008ca44: 00000000 nop