0x138094
Jump to navigation
Jump to search
# ROUTINE ? 0x138094 # This routine seems to determine whether the simple selection menu was exited. # Returns: # r2 = 1 if menu was exited, 0 otherwise? 80138094: 3c028016 lui r2,0x8016 80138098: 8c426028 lw r2,0x6028(r2) 8013809c: 27bdffd8 addiu r29,r29,-0x0028 801380a0: afb20018 sw r18,0x0018(r29) 801380a4: 00809021 addu r18,r4,r0 801380a8: afbf0020 sw r31,0x0020(r29) 801380ac: afb3001c sw r19,0x001c(r29) 801380b0: afb10014 sw r17,0x0014(r29) 801380b4: 14400006 bne r2,r0,0x801380d0 801380b8: afb00010 sw r16,0x0010(r29) 801380bc: 3c028016 lui r2,0x8016 801380c0: 8c42602c lw r2,0x602c(r2) 801380c4: 00000000 nop 801380c8: 10400005 beq r2,r0,0x801380e0 801380cc: 00008021 addu r16,r0,r0 801380d0: 0804e054 j 0x80138150 801380d4: ae400000 sw r0,0x0000(r18) 801380d8: 0804e04d j 0x80138134 801380dc: ae400000 sw r0,0x0000(r18) 801380e0: 34130003 ori r19,r0,0x0003 801380e4: 00008821 addu r17,r0,r0 801380e8: 3c028017 lui r2,0x8017 801380ec: 8c424038 lw r2,0x4038(r2) 801380f0: 00000000 nop 801380f4: 1202000b beq r16,r2,0x80138124 801380f8: 00000000 nop 801380fc: 0c053325 jal 0x8014cc94 80138100: 02002021 addu r4,r16,r0 80138104: 10400007 beq r2,r0,0x80138124 80138108: 00000000 nop 8013810c: 3c018017 lui r1,0x8017 80138110: 00310821 addu r1,r1,r17 80138114: 8c2298b8 lw r2,-0x6748(r1) 80138118: 00000000 nop 8013811c: 1053ffee beq r2,r19,0x801380d8 80138120: 00000000 nop 80138124: 26100001 addiu r16,r16,0x0001 80138128: 2a020010 slti r2,r16,0x0010 8013812c: 1440ffee bne r2,r0,0x801380e8 80138130: 26310400 addiu r17,r17,0x0400 80138134: 34020010 ori r2,r0,0x0010 80138138: 16020006 bne r16,r2,0x80138154 8013813c: 00001021 addu r2,r0,r0 80138140: 0c05330a jal 0x8014cc28 80138144: 00000000 nop 80138148: 14400002 bne r2,r0,0x80138154 8013814c: 34020001 ori r2,r0,0x0001 80138150: 00001021 addu r2,r0,r0 80138154: 8fbf0020 lw r31,0x0020(r29) 80138158: 8fb3001c lw r19,0x001c(r29) 8013815c: 8fb20018 lw r18,0x0018(r29) 80138160: 8fb10014 lw r17,0x0014(r29) 80138164: 8fb00010 lw r16,0x0010(r29) 80138168: 27bd0028 addiu r29,r29,0x0028 8013816c: 03e00008 jr r31 80138170: 00000000 nop