.include "macros.inc" .section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860 .global Parse__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackb Parse__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackb: /* 80109EA0 00105CE0 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80109EA4 00105CE4 7C 08 02 A6 */ mflr r0 /* 80109EA8 00105CE8 90 01 00 34 */ stw r0, 0x34(r1) /* 80109EAC 00105CEC 39 61 00 30 */ addi r11, r1, 0x30 /* 80109EB0 00105CF0 4B EF D4 7D */ bl lbl_8000732C /* 80109EB4 00105CF4 80 E4 00 20 */ lwz r7, 0x20(r4) /* 80109EB8 00105CF8 7C 79 1B 78 */ mr r25, r3 /* 80109EBC 00105CFC 83 E4 00 C4 */ lwz r31, 0xc4(r4) /* 80109EC0 00105D00 7C 9A 23 78 */ mr r26, r4 /* 80109EC4 00105D04 38 C7 00 01 */ addi r6, r7, 0x1 /* 80109EC8 00105D08 90 C4 00 20 */ stw r6, 0x20(r4) /* 80109ECC 00105D0C 7C BB 2B 78 */ mr r27, r5 /* 80109ED0 00105D10 3B C0 00 00 */ li r30, 0x0 /* 80109ED4 00105D14 8B 87 00 00 */ lbz r28, 0x0(r7) /* 80109ED8 00105D18 38 60 00 00 */ li r3, 0x0 /* 80109EDC 00105D1C 3B A0 00 01 */ li r29, 0x1 /* 80109EE0 00105D20 28 1C 00 A2 */ cmplwi r28, 0xa2 /* 80109EE4 00105D24 40 82 00 20 */ bne lbl_80109F04 /* 80109EE8 00105D28 88 A4 00 24 */ lbz r5, 0x24(r4) /* 80109EEC 00105D2C 38 06 00 01 */ addi r0, r6, 0x1 /* 80109EF0 00105D30 90 04 00 20 */ stw r0, 0x20(r4) /* 80109EF4 00105D34 7C 05 00 D0 */ neg r0, r5 /* 80109EF8 00105D38 7C 00 2B 78 */ or r0, r0, r5 /* 80109EFC 00105D3C 8B 86 00 00 */ lbz r28, 0x0(r6) /* 80109F00 00105D40 54 1D 0F FE */ srwi r29, r0, 31 .global lbl_80109F04 lbl_80109F04: /* 80109F04 00105D44 28 1C 00 A3 */ cmplwi r28, 0xa3 /* 80109F08 00105D48 40 82 00 1C */ bne lbl_80109F24 /* 80109F0C 00105D4C 80 C4 00 20 */ lwz r6, 0x20(r4) /* 80109F10 00105D50 3B C0 00 02 */ li r30, 0x2 /* 80109F14 00105D54 38 A6 00 01 */ addi r5, r6, 0x1 /* 80109F18 00105D58 90 A4 00 20 */ stw r5, 0x20(r4) /* 80109F1C 00105D5C 8B 86 00 00 */ lbz r28, 0x0(r6) /* 80109F20 00105D60 48 00 00 40 */ b lbl_80109F60 .global lbl_80109F24 lbl_80109F24: /* 80109F24 00105D64 28 1C 00 A4 */ cmplwi r28, 0xa4 /* 80109F28 00105D68 40 82 00 1C */ bne lbl_80109F44 /* 80109F2C 00105D6C 80 C4 00 20 */ lwz r6, 0x20(r4) /* 80109F30 00105D70 3B C0 00 04 */ li r30, 0x4 /* 80109F34 00105D74 38 A6 00 01 */ addi r5, r6, 0x1 /* 80109F38 00105D78 90 A4 00 20 */ stw r5, 0x20(r4) /* 80109F3C 00105D7C 8B 86 00 00 */ lbz r28, 0x0(r6) /* 80109F40 00105D80 48 00 00 20 */ b lbl_80109F60 .global lbl_80109F44 lbl_80109F44: /* 80109F44 00105D84 28 1C 00 A5 */ cmplwi r28, 0xa5 /* 80109F48 00105D88 40 82 00 18 */ bne lbl_80109F60 /* 80109F4C 00105D8C 80 C4 00 20 */ lwz r6, 0x20(r4) /* 80109F50 00105D90 3B C0 00 05 */ li r30, 0x5 /* 80109F54 00105D94 38 A6 00 01 */ addi r5, r6, 0x1 /* 80109F58 00105D98 90 A4 00 20 */ stw r5, 0x20(r4) /* 80109F5C 00105D9C 8B 86 00 00 */ lbz r28, 0x0(r6) .global lbl_80109F60 lbl_80109F60: /* 80109F60 00105DA0 28 1C 00 A0 */ cmplwi r28, 0xa0 /* 80109F64 00105DA4 40 82 00 20 */ bne lbl_80109F84 /* 80109F68 00105DA8 80 C4 00 20 */ lwz r6, 0x20(r4) /* 80109F6C 00105DAC 38 00 00 04 */ li r0, 0x4 /* 80109F70 00105DB0 38 60 00 01 */ li r3, 0x1 /* 80109F74 00105DB4 38 A6 00 01 */ addi r5, r6, 0x1 /* 80109F78 00105DB8 90 A4 00 20 */ stw r5, 0x20(r4) /* 80109F7C 00105DBC 8B 86 00 00 */ lbz r28, 0x0(r6) /* 80109F80 00105DC0 48 00 00 24 */ b lbl_80109FA4 .global lbl_80109F84 lbl_80109F84: /* 80109F84 00105DC4 28 1C 00 A1 */ cmplwi r28, 0xa1 /* 80109F88 00105DC8 40 82 00 1C */ bne lbl_80109FA4 /* 80109F8C 00105DCC 80 C4 00 20 */ lwz r6, 0x20(r4) /* 80109F90 00105DD0 38 00 00 05 */ li r0, 0x5 /* 80109F94 00105DD4 38 60 00 01 */ li r3, 0x1 /* 80109F98 00105DD8 38 A6 00 01 */ addi r5, r6, 0x1 /* 80109F9C 00105DDC 90 A4 00 20 */ stw r5, 0x20(r4) /* 80109FA0 00105DE0 8B 86 00 00 */ lbz r28, 0x0(r6) .global lbl_80109FA4 lbl_80109FA4: /* 80109FA4 00105DE4 57 85 06 31 */ rlwinm. r5, r28, 0, 24, 24 /* 80109FA8 00105DE8 40 82 00 D4 */ bne lbl_8010A07C /* 80109FAC 00105DEC 80 E4 00 20 */ lwz r7, 0x20(r4) /* 80109FB0 00105DF0 2C 03 00 00 */ cmpwi r3, 0x0 /* 80109FB4 00105DF4 7F 23 CB 78 */ mr r3, r25 /* 80109FB8 00105DF8 7F E5 FB 78 */ mr r5, r31 /* 80109FBC 00105DFC 38 C7 00 01 */ addi r6, r7, 0x1 /* 80109FC0 00105E00 94 C4 00 20 */ stwu r6, 0x20(r4) /* 80109FC4 00105E04 7F 46 D3 78 */ mr r6, r26 /* 80109FC8 00105E08 8B 07 00 00 */ lbz r24, 0x0(r7) /* 80109FCC 00105E0C 38 E0 00 03 */ li r7, 0x3 /* 80109FD0 00105E10 41 82 00 08 */ beq lbl_80109FD8 /* 80109FD4 00105E14 7C 07 03 78 */ mr r7, r0 .global lbl_80109FD8 lbl_80109FD8: /* 80109FD8 00105E18 48 00 0E F9 */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 80109FDC 00105E1C 88 1A 00 8C */ lbz r0, 0x8c(r26) /* 80109FE0 00105E20 2C 1D 00 00 */ cmpwi r29, 0x0 /* 80109FE4 00105E24 7C 77 1B 78 */ mr r23, r3 /* 80109FE8 00105E28 7C 00 07 74 */ extsb r0, r0 /* 80109FEC 00105E2C 7C 7C 02 14 */ add r3, r28, r0 /* 80109FF0 00105E30 40 82 00 0C */ bne lbl_80109FFC /* 80109FF4 00105E34 38 60 00 00 */ li r3, 0x0 /* 80109FF8 00105E38 48 00 05 1C */ b lbl_8010A514 .global lbl_80109FFC lbl_80109FFC: /* 80109FFC 00105E3C 2C 03 00 7F */ cmpwi r3, 0x7f /* 8010A000 00105E40 40 81 00 0C */ ble lbl_8010A00C /* 8010A004 00105E44 38 A0 00 7F */ li r5, 0x7f /* 8010A008 00105E48 48 00 00 0C */ b lbl_8010A014 .global lbl_8010A00C lbl_8010A00C: /* 8010A00C 00105E4C 7C 60 FE 70 */ srawi r0, r3, 31 /* 8010A010 00105E50 7C 65 00 78 */ andc r5, r3, r0 .global lbl_8010A014 lbl_8010A014: /* 8010A014 00105E54 88 1A 00 48 */ lbz r0, 0x48(r26) /* 8010A018 00105E58 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010A01C 00105E5C 40 82 00 3C */ bne lbl_8010A058 /* 8010A020 00105E60 2C 1B 00 00 */ cmpwi r27, 0x0 /* 8010A024 00105E64 41 82 00 34 */ beq lbl_8010A058 /* 8010A028 00105E68 2C 17 00 00 */ cmpwi r23, 0x0 /* 8010A02C 00105E6C 7F 23 CB 78 */ mr r3, r25 /* 8010A030 00105E70 7F 44 D3 78 */ mr r4, r26 /* 8010A034 00105E74 7F 06 C3 78 */ mr r6, r24 /* 8010A038 00105E78 38 E0 FF FF */ li r7, -0x1 /* 8010A03C 00105E7C 40 81 00 08 */ ble lbl_8010A044 /* 8010A040 00105E80 7E E7 BB 78 */ mr r7, r23 .global lbl_8010A044 lbl_8010A044: /* 8010A044 00105E84 81 83 00 00 */ lwz r12, 0x0(r3) /* 8010A048 00105E88 89 1A 00 26 */ lbz r8, 0x26(r26) /* 8010A04C 00105E8C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 8010A050 00105E90 7D 89 03 A6 */ mtctr r12 /* 8010A054 00105E94 4E 80 04 21 */ bctrl .global lbl_8010A058 lbl_8010A058: /* 8010A058 00105E98 88 1A 00 25 */ lbz r0, 0x25(r26) /* 8010A05C 00105E9C 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010A060 00105EA0 41 82 04 B0 */ beq lbl_8010A510 /* 8010A064 00105EA4 2C 17 00 00 */ cmpwi r23, 0x0 /* 8010A068 00105EA8 92 FA 00 44 */ stw r23, 0x44(r26) /* 8010A06C 00105EAC 40 82 04 A4 */ bne lbl_8010A510 /* 8010A070 00105EB0 38 00 00 01 */ li r0, 0x1 /* 8010A074 00105EB4 98 1A 00 4A */ stb r0, 0x4a(r26) /* 8010A078 00105EB8 48 00 04 98 */ b lbl_8010A510 .global lbl_8010A07C lbl_8010A07C: /* 8010A07C 00105EBC 57 85 06 36 */ rlwinm r5, r28, 0, 24, 27 /* 8010A080 00105EC0 3A E0 00 00 */ li r23, 0x0 /* 8010A084 00105EC4 28 05 00 80 */ cmplwi r5, 0x80 /* 8010A088 00105EC8 3B 60 00 00 */ li r27, 0x0 /* 8010A08C 00105ECC 41 82 00 38 */ beq lbl_8010A0C4 /* 8010A090 00105ED0 28 05 00 B0 */ cmplwi r5, 0xb0 /* 8010A094 00105ED4 41 82 02 0C */ beq lbl_8010A2A0 /* 8010A098 00105ED8 28 05 00 C0 */ cmplwi r5, 0xc0 /* 8010A09C 00105EDC 41 82 02 04 */ beq lbl_8010A2A0 /* 8010A0A0 00105EE0 28 05 00 D0 */ cmplwi r5, 0xd0 /* 8010A0A4 00105EE4 41 82 01 FC */ beq lbl_8010A2A0 /* 8010A0A8 00105EE8 28 05 00 90 */ cmplwi r5, 0x90 /* 8010A0AC 00105EEC 41 82 02 88 */ beq lbl_8010A334 /* 8010A0B0 00105EF0 28 05 00 E0 */ cmplwi r5, 0xe0 /* 8010A0B4 00105EF4 41 82 02 B0 */ beq lbl_8010A364 /* 8010A0B8 00105EF8 28 05 00 F0 */ cmplwi r5, 0xf0 /* 8010A0BC 00105EFC 41 82 02 FC */ beq lbl_8010A3B8 /* 8010A0C0 00105F00 48 00 04 50 */ b lbl_8010A510 .global lbl_8010A0C4 lbl_8010A0C4: /* 8010A0C4 00105F04 28 1C 00 80 */ cmplwi r28, 0x80 /* 8010A0C8 00105F08 41 82 00 28 */ beq lbl_8010A0F0 /* 8010A0CC 00105F0C 28 1C 00 81 */ cmplwi r28, 0x81 /* 8010A0D0 00105F10 41 82 00 54 */ beq lbl_8010A124 /* 8010A0D4 00105F14 28 1C 00 88 */ cmplwi r28, 0x88 /* 8010A0D8 00105F18 41 82 00 A0 */ beq lbl_8010A178 /* 8010A0DC 00105F1C 28 1C 00 89 */ cmplwi r28, 0x89 /* 8010A0E0 00105F20 41 82 01 00 */ beq lbl_8010A1E0 /* 8010A0E4 00105F24 28 1C 00 8A */ cmplwi r28, 0x8a /* 8010A0E8 00105F28 41 82 01 58 */ beq lbl_8010A240 /* 8010A0EC 00105F2C 48 00 04 24 */ b lbl_8010A510 .global lbl_8010A0F0 lbl_8010A0F0: /* 8010A0F0 00105F30 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010A0F4 00105F34 7F 23 CB 78 */ mr r3, r25 /* 8010A0F8 00105F38 7F E5 FB 78 */ mr r5, r31 /* 8010A0FC 00105F3C 7F 46 D3 78 */ mr r6, r26 /* 8010A100 00105F40 38 E0 00 03 */ li r7, 0x3 /* 8010A104 00105F44 38 84 00 20 */ addi r4, r4, 0x20 /* 8010A108 00105F48 41 82 00 08 */ beq lbl_8010A110 /* 8010A10C 00105F4C 7C 07 03 78 */ mr r7, r0 .global lbl_8010A110 lbl_8010A110: /* 8010A110 00105F50 48 00 0D C1 */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A114 00105F54 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A118 00105F58 41 82 03 F8 */ beq lbl_8010A510 /* 8010A11C 00105F5C 90 7A 00 44 */ stw r3, 0x44(r26) /* 8010A120 00105F60 48 00 03 F0 */ b lbl_8010A510 .global lbl_8010A124 lbl_8010A124: /* 8010A124 00105F64 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010A128 00105F68 7F 23 CB 78 */ mr r3, r25 /* 8010A12C 00105F6C 7F E5 FB 78 */ mr r5, r31 /* 8010A130 00105F70 7F 46 D3 78 */ mr r6, r26 /* 8010A134 00105F74 38 E0 00 03 */ li r7, 0x3 /* 8010A138 00105F78 38 84 00 20 */ addi r4, r4, 0x20 /* 8010A13C 00105F7C 41 82 00 08 */ beq lbl_8010A144 /* 8010A140 00105F80 7C 07 03 78 */ mr r7, r0 .global lbl_8010A144 lbl_8010A144: /* 8010A144 00105F84 48 00 0D 8D */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A148 00105F88 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A14C 00105F8C 7C 66 1B 78 */ mr r6, r3 /* 8010A150 00105F90 41 82 03 C0 */ beq lbl_8010A510 /* 8010A154 00105F94 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A158 00105F98 7F 23 CB 78 */ mr r3, r25 /* 8010A15C 00105F9C 7F 44 D3 78 */ mr r4, r26 /* 8010A160 00105FA0 7F 85 E3 78 */ mr r5, r28 /* 8010A164 00105FA4 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A168 00105FA8 38 E0 00 00 */ li r7, 0x0 /* 8010A16C 00105FAC 7D 89 03 A6 */ mtctr r12 /* 8010A170 00105FB0 4E 80 04 21 */ bctrl /* 8010A174 00105FB4 48 00 03 9C */ b lbl_8010A510 .global lbl_8010A178 lbl_8010A178: /* 8010A178 00105FB8 80 64 00 20 */ lwz r3, 0x20(r4) /* 8010A17C 00105FBC 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A180 00105FC0 38 A3 00 01 */ addi r5, r3, 0x1 /* 8010A184 00105FC4 90 A4 00 20 */ stw r5, 0x20(r4) /* 8010A188 00105FC8 38 E5 00 01 */ addi r7, r5, 0x1 /* 8010A18C 00105FCC 88 C3 00 00 */ lbz r6, 0x0(r3) /* 8010A190 00105FD0 38 67 00 01 */ addi r3, r7, 0x1 /* 8010A194 00105FD4 38 03 00 01 */ addi r0, r3, 0x1 /* 8010A198 00105FD8 90 E4 00 20 */ stw r7, 0x20(r4) /* 8010A19C 00105FDC 88 A5 00 00 */ lbz r5, 0x0(r5) /* 8010A1A0 00105FE0 90 64 00 20 */ stw r3, 0x20(r4) /* 8010A1A4 00105FE4 88 E7 00 00 */ lbz r7, 0x0(r7) /* 8010A1A8 00105FE8 50 A7 44 2E */ rlwimi r7, r5, 8, 16, 23 /* 8010A1AC 00105FEC 90 04 00 20 */ stw r0, 0x20(r4) /* 8010A1B0 00105FF0 54 E7 40 2E */ slwi r7, r7, 8 /* 8010A1B4 00105FF4 88 03 00 00 */ lbz r0, 0x0(r3) /* 8010A1B8 00105FF8 7C E7 03 78 */ or r7, r7, r0 /* 8010A1BC 00105FFC 41 82 03 54 */ beq lbl_8010A510 /* 8010A1C0 00106000 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A1C4 00106004 7F 23 CB 78 */ mr r3, r25 /* 8010A1C8 00106008 7F 44 D3 78 */ mr r4, r26 /* 8010A1CC 0010600C 7F 85 E3 78 */ mr r5, r28 /* 8010A1D0 00106010 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A1D4 00106014 7D 89 03 A6 */ mtctr r12 /* 8010A1D8 00106018 4E 80 04 21 */ bctrl /* 8010A1DC 0010601C 48 00 03 34 */ b lbl_8010A510 .global lbl_8010A1E0 lbl_8010A1E0: /* 8010A1E0 00106020 80 A4 00 20 */ lwz r5, 0x20(r4) /* 8010A1E4 00106024 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A1E8 00106028 38 C5 00 01 */ addi r6, r5, 0x1 /* 8010A1EC 0010602C 90 C4 00 20 */ stw r6, 0x20(r4) /* 8010A1F0 00106030 38 66 00 01 */ addi r3, r6, 0x1 /* 8010A1F4 00106034 88 A5 00 00 */ lbz r5, 0x0(r5) /* 8010A1F8 00106038 38 03 00 01 */ addi r0, r3, 0x1 /* 8010A1FC 0010603C 90 64 00 20 */ stw r3, 0x20(r4) /* 8010A200 00106040 88 C6 00 00 */ lbz r6, 0x0(r6) /* 8010A204 00106044 50 A6 44 2E */ rlwimi r6, r5, 8, 16, 23 /* 8010A208 00106048 90 04 00 20 */ stw r0, 0x20(r4) /* 8010A20C 0010604C 54 C6 40 2E */ slwi r6, r6, 8 /* 8010A210 00106050 88 03 00 00 */ lbz r0, 0x0(r3) /* 8010A214 00106054 7C C6 03 78 */ or r6, r6, r0 /* 8010A218 00106058 41 82 02 F8 */ beq lbl_8010A510 /* 8010A21C 0010605C 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A220 00106060 7F 23 CB 78 */ mr r3, r25 /* 8010A224 00106064 7F 44 D3 78 */ mr r4, r26 /* 8010A228 00106068 7F 85 E3 78 */ mr r5, r28 /* 8010A22C 0010606C 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A230 00106070 38 E0 00 00 */ li r7, 0x0 /* 8010A234 00106074 7D 89 03 A6 */ mtctr r12 /* 8010A238 00106078 4E 80 04 21 */ bctrl /* 8010A23C 0010607C 48 00 02 D4 */ b lbl_8010A510 .global lbl_8010A240 lbl_8010A240: /* 8010A240 00106080 80 A4 00 20 */ lwz r5, 0x20(r4) /* 8010A244 00106084 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A248 00106088 38 C5 00 01 */ addi r6, r5, 0x1 /* 8010A24C 0010608C 90 C4 00 20 */ stw r6, 0x20(r4) /* 8010A250 00106090 38 66 00 01 */ addi r3, r6, 0x1 /* 8010A254 00106094 88 A5 00 00 */ lbz r5, 0x0(r5) /* 8010A258 00106098 38 03 00 01 */ addi r0, r3, 0x1 /* 8010A25C 0010609C 90 64 00 20 */ stw r3, 0x20(r4) /* 8010A260 001060A0 88 C6 00 00 */ lbz r6, 0x0(r6) /* 8010A264 001060A4 50 A6 44 2E */ rlwimi r6, r5, 8, 16, 23 /* 8010A268 001060A8 90 04 00 20 */ stw r0, 0x20(r4) /* 8010A26C 001060AC 54 C6 40 2E */ slwi r6, r6, 8 /* 8010A270 001060B0 88 03 00 00 */ lbz r0, 0x0(r3) /* 8010A274 001060B4 7C C6 03 78 */ or r6, r6, r0 /* 8010A278 001060B8 41 82 02 98 */ beq lbl_8010A510 /* 8010A27C 001060BC 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A280 001060C0 7F 23 CB 78 */ mr r3, r25 /* 8010A284 001060C4 7F 44 D3 78 */ mr r4, r26 /* 8010A288 001060C8 7F 85 E3 78 */ mr r5, r28 /* 8010A28C 001060CC 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A290 001060D0 38 E0 00 00 */ li r7, 0x0 /* 8010A294 001060D4 7D 89 03 A6 */ mtctr r12 /* 8010A298 001060D8 4E 80 04 21 */ bctrl /* 8010A29C 001060DC 48 00 02 74 */ b lbl_8010A510 .global lbl_8010A2A0 lbl_8010A2A0: /* 8010A2A0 001060E0 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010A2A4 001060E4 7F 23 CB 78 */ mr r3, r25 /* 8010A2A8 001060E8 7F E5 FB 78 */ mr r5, r31 /* 8010A2AC 001060EC 7F 46 D3 78 */ mr r6, r26 /* 8010A2B0 001060F0 38 E0 00 01 */ li r7, 0x1 /* 8010A2B4 001060F4 38 84 00 20 */ addi r4, r4, 0x20 /* 8010A2B8 001060F8 41 82 00 08 */ beq lbl_8010A2C0 /* 8010A2BC 001060FC 7C 07 03 78 */ mr r7, r0 .global lbl_8010A2C0 lbl_8010A2C0: /* 8010A2C0 00106100 48 00 0C 11 */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A2C4 00106104 2C 1E 00 00 */ cmpwi r30, 0x0 /* 8010A2C8 00106108 7C 78 1B 78 */ mr r24, r3 /* 8010A2CC 0010610C 41 82 00 20 */ beq lbl_8010A2EC /* 8010A2D0 00106110 7F 23 CB 78 */ mr r3, r25 /* 8010A2D4 00106114 7F E5 FB 78 */ mr r5, r31 /* 8010A2D8 00106118 7F 46 D3 78 */ mr r6, r26 /* 8010A2DC 0010611C 7F C7 F3 78 */ mr r7, r30 /* 8010A2E0 00106120 38 9A 00 20 */ addi r4, r26, 0x20 /* 8010A2E4 00106124 48 00 0B ED */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A2E8 00106128 7C 7B 1B 78 */ mr r27, r3 .global lbl_8010A2EC lbl_8010A2EC: /* 8010A2EC 0010612C 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A2F0 00106130 41 82 02 20 */ beq lbl_8010A510 /* 8010A2F4 00106134 38 1C FF 3D */ addi r0, r28, -0xc3 /* 8010A2F8 00106138 7F 23 CB 78 */ mr r3, r25 /* 8010A2FC 0010613C 28 00 00 01 */ cmplwi r0, 0x1 /* 8010A300 00106140 7F 44 D3 78 */ mr r4, r26 /* 8010A304 00106144 7F 85 E3 78 */ mr r5, r28 /* 8010A308 00106148 41 81 00 10 */ bgt lbl_8010A318 /* 8010A30C 0010614C 57 06 06 3E */ clrlwi r6, r24, 24 /* 8010A310 00106150 7C C6 07 74 */ extsb r6, r6 /* 8010A314 00106154 48 00 00 08 */ b lbl_8010A31C .global lbl_8010A318 lbl_8010A318: /* 8010A318 00106158 57 06 06 3E */ clrlwi r6, r24, 24 .global lbl_8010A31C lbl_8010A31C: /* 8010A31C 0010615C 81 83 00 00 */ lwz r12, 0x0(r3) /* 8010A320 00106160 7F 67 DB 78 */ mr r7, r27 /* 8010A324 00106164 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A328 00106168 7D 89 03 A6 */ mtctr r12 /* 8010A32C 0010616C 4E 80 04 21 */ bctrl /* 8010A330 00106170 48 00 01 E0 */ b lbl_8010A510 .global lbl_8010A334 lbl_8010A334: /* 8010A334 00106174 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A338 00106178 41 82 01 D8 */ beq lbl_8010A510 /* 8010A33C 0010617C 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A340 00106180 7F 23 CB 78 */ mr r3, r25 /* 8010A344 00106184 7F 44 D3 78 */ mr r4, r26 /* 8010A348 00106188 7F 85 E3 78 */ mr r5, r28 /* 8010A34C 0010618C 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A350 00106190 38 C0 00 00 */ li r6, 0x0 /* 8010A354 00106194 38 E0 00 00 */ li r7, 0x0 /* 8010A358 00106198 7D 89 03 A6 */ mtctr r12 /* 8010A35C 0010619C 4E 80 04 21 */ bctrl /* 8010A360 001061A0 48 00 01 B0 */ b lbl_8010A510 .global lbl_8010A364 lbl_8010A364: /* 8010A364 001061A4 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010A368 001061A8 7F 23 CB 78 */ mr r3, r25 /* 8010A36C 001061AC 7F E5 FB 78 */ mr r5, r31 /* 8010A370 001061B0 7F 46 D3 78 */ mr r6, r26 /* 8010A374 001061B4 38 E0 00 02 */ li r7, 0x2 /* 8010A378 001061B8 38 84 00 20 */ addi r4, r4, 0x20 /* 8010A37C 001061BC 41 82 00 08 */ beq lbl_8010A384 /* 8010A380 001061C0 7C 07 03 78 */ mr r7, r0 .global lbl_8010A384 lbl_8010A384: /* 8010A384 001061C4 48 00 0B 4D */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A388 001061C8 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A38C 001061CC 7C 66 07 34 */ extsh r6, r3 /* 8010A390 001061D0 41 82 01 80 */ beq lbl_8010A510 /* 8010A394 001061D4 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A398 001061D8 7F 23 CB 78 */ mr r3, r25 /* 8010A39C 001061DC 7F 44 D3 78 */ mr r4, r26 /* 8010A3A0 001061E0 7F 85 E3 78 */ mr r5, r28 /* 8010A3A4 001061E4 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A3A8 001061E8 38 E0 00 00 */ li r7, 0x0 /* 8010A3AC 001061EC 7D 89 03 A6 */ mtctr r12 /* 8010A3B0 001061F0 4E 80 04 21 */ bctrl /* 8010A3B4 001061F4 48 00 01 5C */ b lbl_8010A510 .global lbl_8010A3B8 lbl_8010A3B8: /* 8010A3B8 001061F8 28 1C 00 FE */ cmplwi r28, 0xfe /* 8010A3BC 001061FC 41 82 00 18 */ beq lbl_8010A3D4 /* 8010A3C0 00106200 28 1C 00 FF */ cmplwi r28, 0xff /* 8010A3C4 00106204 41 82 00 20 */ beq lbl_8010A3E4 /* 8010A3C8 00106208 28 1C 00 F0 */ cmplwi r28, 0xf0 /* 8010A3CC 0010620C 41 82 00 28 */ beq lbl_8010A3F4 /* 8010A3D0 00106210 48 00 01 14 */ b lbl_8010A4E4 .global lbl_8010A3D4 lbl_8010A3D4: /* 8010A3D4 00106214 80 64 00 20 */ lwz r3, 0x20(r4) /* 8010A3D8 00106218 38 03 00 02 */ addi r0, r3, 0x2 /* 8010A3DC 0010621C 90 04 00 20 */ stw r0, 0x20(r4) /* 8010A3E0 00106220 48 00 01 30 */ b lbl_8010A510 .global lbl_8010A3E4 lbl_8010A3E4: /* 8010A3E4 00106224 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A3E8 00106228 41 82 01 28 */ beq lbl_8010A510 /* 8010A3EC 0010622C 38 60 00 01 */ li r3, 0x1 /* 8010A3F0 00106230 48 00 01 24 */ b lbl_8010A514 .global lbl_8010A3F4 lbl_8010A3F4: /* 8010A3F4 00106234 80 C4 00 20 */ lwz r6, 0x20(r4) /* 8010A3F8 00106238 38 A6 00 01 */ addi r5, r6, 0x1 /* 8010A3FC 0010623C 90 A4 00 20 */ stw r5, 0x20(r4) /* 8010A400 00106240 8B 06 00 00 */ lbz r24, 0x0(r6) /* 8010A404 00106244 57 05 06 36 */ rlwinm r5, r24, 0, 24, 27 /* 8010A408 00106248 28 05 00 E0 */ cmplwi r5, 0xe0 /* 8010A40C 0010624C 41 82 00 18 */ beq lbl_8010A424 /* 8010A410 00106250 28 05 00 80 */ cmplwi r5, 0x80 /* 8010A414 00106254 41 82 00 6C */ beq lbl_8010A480 /* 8010A418 00106258 28 05 00 90 */ cmplwi r5, 0x90 /* 8010A41C 0010625C 41 82 00 64 */ beq lbl_8010A480 /* 8010A420 00106260 48 00 00 C4 */ b lbl_8010A4E4 .global lbl_8010A424 lbl_8010A424: /* 8010A424 00106264 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010A428 00106268 7F 23 CB 78 */ mr r3, r25 /* 8010A42C 0010626C 7F E5 FB 78 */ mr r5, r31 /* 8010A430 00106270 7F 46 D3 78 */ mr r6, r26 /* 8010A434 00106274 38 E0 00 02 */ li r7, 0x2 /* 8010A438 00106278 38 84 00 20 */ addi r4, r4, 0x20 /* 8010A43C 0010627C 41 82 00 08 */ beq lbl_8010A444 /* 8010A440 00106280 7C 07 03 78 */ mr r7, r0 .global lbl_8010A444 lbl_8010A444: /* 8010A444 00106284 48 00 0A 8D */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A448 00106288 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A44C 0010628C 54 77 04 3E */ clrlwi r23, r3, 16 /* 8010A450 00106290 41 82 00 94 */ beq lbl_8010A4E4 /* 8010A454 00106294 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A458 00106298 57 80 40 2E */ slwi r0, r28, 8 /* 8010A45C 0010629C 7F 23 CB 78 */ mr r3, r25 /* 8010A460 001062A0 7F 44 D3 78 */ mr r4, r26 /* 8010A464 001062A4 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A468 001062A8 7E E6 BB 78 */ mr r6, r23 /* 8010A46C 001062AC 7C A0 C2 14 */ add r5, r0, r24 /* 8010A470 001062B0 38 E0 00 00 */ li r7, 0x0 /* 8010A474 001062B4 7D 89 03 A6 */ mtctr r12 /* 8010A478 001062B8 4E 80 04 21 */ bctrl /* 8010A47C 001062BC 48 00 00 68 */ b lbl_8010A4E4 .global lbl_8010A480 lbl_8010A480: /* 8010A480 001062C0 80 E4 00 20 */ lwz r7, 0x20(r4) /* 8010A484 001062C4 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010A488 001062C8 7F 23 CB 78 */ mr r3, r25 /* 8010A48C 001062CC 7F E5 FB 78 */ mr r5, r31 /* 8010A490 001062D0 38 C7 00 01 */ addi r6, r7, 0x1 /* 8010A494 001062D4 94 C4 00 20 */ stwu r6, 0x20(r4) /* 8010A498 001062D8 7F 46 D3 78 */ mr r6, r26 /* 8010A49C 001062DC 8A E7 00 00 */ lbz r23, 0x0(r7) /* 8010A4A0 001062E0 38 E0 00 02 */ li r7, 0x2 /* 8010A4A4 001062E4 41 82 00 08 */ beq lbl_8010A4AC /* 8010A4A8 001062E8 7C 07 03 78 */ mr r7, r0 .global lbl_8010A4AC lbl_8010A4AC: /* 8010A4AC 001062EC 48 00 0A 25 */ bl ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType /* 8010A4B0 001062F0 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A4B4 001062F4 7C 7B 07 34 */ extsh r27, r3 /* 8010A4B8 001062F8 41 82 00 2C */ beq lbl_8010A4E4 /* 8010A4BC 001062FC 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A4C0 00106300 57 80 40 2E */ slwi r0, r28, 8 /* 8010A4C4 00106304 7F 23 CB 78 */ mr r3, r25 /* 8010A4C8 00106308 7F 44 D3 78 */ mr r4, r26 /* 8010A4CC 0010630C 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A4D0 00106310 7E E6 BB 78 */ mr r6, r23 /* 8010A4D4 00106314 7F 67 DB 78 */ mr r7, r27 /* 8010A4D8 00106318 7C A0 C2 14 */ add r5, r0, r24 /* 8010A4DC 0010631C 7D 89 03 A6 */ mtctr r12 /* 8010A4E0 00106320 4E 80 04 21 */ bctrl .global lbl_8010A4E4 lbl_8010A4E4: /* 8010A4E4 00106324 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010A4E8 00106328 41 82 00 28 */ beq lbl_8010A510 /* 8010A4EC 0010632C 81 99 00 00 */ lwz r12, 0x0(r25) /* 8010A4F0 00106330 7F 23 CB 78 */ mr r3, r25 /* 8010A4F4 00106334 7F 44 D3 78 */ mr r4, r26 /* 8010A4F8 00106338 7F 85 E3 78 */ mr r5, r28 /* 8010A4FC 0010633C 81 8C 00 08 */ lwz r12, 0x8(r12) /* 8010A500 00106340 7E E6 BB 78 */ mr r6, r23 /* 8010A504 00106344 7F 67 DB 78 */ mr r7, r27 /* 8010A508 00106348 7D 89 03 A6 */ mtctr r12 /* 8010A50C 0010634C 4E 80 04 21 */ bctrl .global lbl_8010A510 lbl_8010A510: /* 8010A510 00106350 38 60 00 00 */ li r3, 0x0 .global lbl_8010A514 lbl_8010A514: /* 8010A514 00106354 39 61 00 30 */ addi r11, r1, 0x30 /* 8010A518 00106358 4B EF CE 61 */ bl lbl_80007378 /* 8010A51C 0010635C 80 01 00 34 */ lwz r0, 0x34(r1) /* 8010A520 00106360 7C 08 03 A6 */ mtlr r0 /* 8010A524 00106364 38 21 00 30 */ addi r1, r1, 0x30 /* 8010A528 00106368 4E 80 00 20 */ blr /* 8010A52C 0010636C 00 00 00 00 */ .4byte 0x00000000 .global CommandProc__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackUlll CommandProc__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackUlll: /* 8010A530 00106370 94 21 FF C0 */ stwu r1, -0x40(r1) /* 8010A534 00106374 7C 08 02 A6 */ mflr r0 /* 8010A538 00106378 90 01 00 44 */ stw r0, 0x44(r1) /* 8010A53C 0010637C 39 61 00 40 */ addi r11, r1, 0x40 /* 8010A540 00106380 4B EF CD F5 */ bl lbl_80007334 /* 8010A544 00106384 28 05 00 FF */ cmplwi r5, 0xff /* 8010A548 00106388 3C 00 43 30 */ lis r0, 0x4330 /* 8010A54C 0010638C 90 01 00 08 */ stw r0, 0x8(r1) /* 8010A550 00106390 7C 9C 23 78 */ mr r28, r4 /* 8010A554 00106394 83 64 00 C4 */ lwz r27, 0xc4(r4) /* 8010A558 00106398 7C D9 33 78 */ mr r25, r6 /* 8010A55C 0010639C 90 01 00 10 */ stw r0, 0x10(r1) /* 8010A560 001063A0 7C FD 3B 78 */ mr r29, r7 /* 8010A564 001063A4 3B E4 00 1C */ addi r31, r4, 0x1c /* 8010A568 001063A8 41 81 06 2C */ bgt lbl_8010AB94 /* 8010A56C 001063AC 38 05 FF 7F */ addi r0, r5, -0x81 /* 8010A570 001063B0 28 00 00 7C */ cmplwi r0, 0x7c /* 8010A574 001063B4 41 81 09 20 */ bgt lbl_8010AE94 /* 8010A578 001063B8 3C 60 80 44 */ lis r3, "@10414_80442138"@ha /* 8010A57C 001063BC 54 00 10 3A */ slwi r0, r0, 2 /* 8010A580 001063C0 38 63 21 38 */ addi r3, r3, "@10414_80442138"@l /* 8010A584 001063C4 7C 63 00 2E */ lwzx r3, r3, r0 /* 8010A588 001063C8 7C 69 03 A6 */ mtctr r3 /* 8010A58C 001063CC 4E 80 04 20 */ bctr .global lbl_8010A590 lbl_8010A590: /* 8010A590 001063D0 2C 06 03 FF */ cmpwi r6, 0x3ff /* 8010A594 001063D4 40 81 00 0C */ ble lbl_8010A5A0 /* 8010A598 001063D8 38 00 03 FF */ li r0, 0x3ff /* 8010A59C 001063DC 48 00 00 0C */ b lbl_8010A5A8 .global lbl_8010A5A0 lbl_8010A5A0: /* 8010A5A0 001063E0 7C C0 FE 70 */ srawi r0, r6, 31 /* 8010A5A4 001063E4 7C C0 00 78 */ andc r0, r6, r0 .global lbl_8010A5A8 lbl_8010A5A8: /* 8010A5A8 001063E8 B0 1B 00 EC */ sth r0, 0xec(r27) /* 8010A5AC 001063EC 48 00 08 E8 */ b lbl_8010AE94 .global lbl_8010A5B0 lbl_8010A5B0: /* 8010A5B0 001063F0 98 DB 00 EA */ stb r6, 0xea(r27) /* 8010A5B4 001063F4 48 00 08 E0 */ b lbl_8010AE94 .global lbl_8010A5B8 lbl_8010A5B8: /* 8010A5B8 001063F8 3C 00 00 01 */ lis r0, 0x1 /* 8010A5BC 001063FC 7C 06 00 00 */ cmpw r6, r0 /* 8010A5C0 00106400 40 80 08 D4 */ bge lbl_8010AE94 /* 8010A5C4 00106404 54 C0 04 3E */ clrlwi r0, r6, 16 /* 8010A5C8 00106408 90 1F 00 38 */ stw r0, 0x38(r31) /* 8010A5CC 0010640C 48 00 08 C8 */ b lbl_8010AE94 .global lbl_8010A5D0 lbl_8010A5D0: /* 8010A5D0 00106410 7F 83 E3 78 */ mr r3, r28 /* 8010A5D4 00106414 7F 24 CB 78 */ mr r4, r25 /* 8010A5D8 00106418 48 00 48 39 */ bl SetMute__Q44nw4r3snd6detail8SeqTrackFQ34nw4r3snd7SeqMute /* 8010A5DC 0010641C 48 00 08 B8 */ b lbl_8010AE94 .global lbl_8010A5E0 lbl_8010A5E0: /* 8010A5E0 00106420 A8 9F 00 56 */ lha r4, 0x56(r31) /* 8010A5E4 00106424 A8 7F 00 58 */ lha r3, 0x58(r31) /* 8010A5E8 00106428 7C 03 20 00 */ cmpw r3, r4 /* 8010A5EC 0010642C 41 80 00 0C */ blt lbl_8010A5F8 /* 8010A5F0 00106430 88 7F 00 55 */ lbz r3, 0x55(r31) /* 8010A5F4 00106434 48 00 00 20 */ b lbl_8010A614 .global lbl_8010A5F8 lbl_8010A5F8: /* 8010A5F8 00106438 88 BF 00 54 */ lbz r5, 0x54(r31) /* 8010A5FC 0010643C 88 1F 00 55 */ lbz r0, 0x55(r31) /* 8010A600 00106440 7C 05 00 50 */ subf r0, r5, r0 /* 8010A604 00106444 7C 03 01 D6 */ mullw r0, r3, r0 /* 8010A608 00106448 7C 00 23 D6 */ divw r0, r0, r4 /* 8010A60C 0010644C 7C 05 02 14 */ add r0, r5, r0 /* 8010A610 00106450 54 03 06 3E */ clrlwi r3, r0, 24 .global lbl_8010A614 lbl_8010A614: /* 8010A614 00106454 38 00 00 00 */ li r0, 0x0 /* 8010A618 00106458 98 7F 00 54 */ stb r3, 0x54(r31) /* 8010A61C 0010645C 98 DF 00 55 */ stb r6, 0x55(r31) /* 8010A620 00106460 B0 FF 00 56 */ sth r7, 0x56(r31) /* 8010A624 00106464 B0 1F 00 58 */ sth r0, 0x58(r31) /* 8010A628 00106468 48 00 08 6C */ b lbl_8010AE94 .global lbl_8010A62C lbl_8010A62C: /* 8010A62C 0010646C 98 DF 00 6C */ stb r6, 0x6c(r31) /* 8010A630 00106470 48 00 08 64 */ b lbl_8010AE94 .global lbl_8010A634 lbl_8010A634: /* 8010A634 00106474 98 DF 00 6D */ stb r6, 0x6d(r31) /* 8010A638 00106478 48 00 08 5C */ b lbl_8010AE94 .global lbl_8010A63C lbl_8010A63C: /* 8010A63C 0010647C 98 DB 00 E8 */ stb r6, 0xe8(r27) /* 8010A640 00106480 48 00 08 54 */ b lbl_8010AE94 .global lbl_8010A644 lbl_8010A644: /* 8010A644 00106484 98 DF 00 70 */ stb r6, 0x70(r31) /* 8010A648 00106488 48 00 08 4C */ b lbl_8010AE94 .global lbl_8010A64C lbl_8010A64C: /* 8010A64C 0010648C A8 BF 00 68 */ lha r5, 0x68(r31) /* 8010A650 00106490 A8 9F 00 6A */ lha r4, 0x6a(r31) /* 8010A654 00106494 7C 04 28 00 */ cmpw r4, r5 /* 8010A658 00106498 41 80 00 10 */ blt lbl_8010A668 /* 8010A65C 0010649C 88 1F 00 67 */ lbz r0, 0x67(r31) /* 8010A660 001064A0 7C 03 07 74 */ extsb r3, r0 /* 8010A664 001064A4 48 00 00 28 */ b lbl_8010A68C .global lbl_8010A668 lbl_8010A668: /* 8010A668 001064A8 89 1F 00 66 */ lbz r8, 0x66(r31) /* 8010A66C 001064AC 88 1F 00 67 */ lbz r0, 0x67(r31) /* 8010A670 001064B0 7D 03 07 74 */ extsb r3, r8 /* 8010A674 001064B4 7C 00 07 74 */ extsb r0, r0 /* 8010A678 001064B8 7C 03 00 50 */ subf r0, r3, r0 /* 8010A67C 001064BC 7C 04 01 D6 */ mullw r0, r4, r0 /* 8010A680 001064C0 7C 00 2B D6 */ divw r0, r0, r5 /* 8010A684 001064C4 7C 08 02 14 */ add r0, r8, r0 /* 8010A688 001064C8 7C 03 07 74 */ extsb r3, r0 .global lbl_8010A68C lbl_8010A68C: /* 8010A68C 001064CC 38 00 00 00 */ li r0, 0x0 /* 8010A690 001064D0 98 7F 00 66 */ stb r3, 0x66(r31) /* 8010A694 001064D4 98 DF 00 67 */ stb r6, 0x67(r31) /* 8010A698 001064D8 B0 FF 00 68 */ sth r7, 0x68(r31) /* 8010A69C 001064DC B0 1F 00 6A */ sth r0, 0x6a(r31) /* 8010A6A0 001064E0 48 00 07 F4 */ b lbl_8010AE94 .global lbl_8010A6A4 lbl_8010A6A4: /* 8010A6A4 001064E4 98 DF 00 6E */ stb r6, 0x6e(r31) /* 8010A6A8 001064E8 48 00 07 EC */ b lbl_8010AE94 .global lbl_8010A6AC lbl_8010A6AC: /* 8010A6AC 001064EC A8 BF 00 5C */ lha r5, 0x5c(r31) /* 8010A6B0 001064F0 A8 9F 00 5E */ lha r4, 0x5e(r31) /* 8010A6B4 001064F4 7C 04 28 00 */ cmpw r4, r5 /* 8010A6B8 001064F8 41 80 00 10 */ blt lbl_8010A6C8 /* 8010A6BC 001064FC 88 1F 00 5B */ lbz r0, 0x5b(r31) /* 8010A6C0 00106500 7C 04 07 74 */ extsb r4, r0 /* 8010A6C4 00106504 48 00 00 28 */ b lbl_8010A6EC .global lbl_8010A6C8 lbl_8010A6C8: /* 8010A6C8 00106508 89 1F 00 5A */ lbz r8, 0x5a(r31) /* 8010A6CC 0010650C 88 1F 00 5B */ lbz r0, 0x5b(r31) /* 8010A6D0 00106510 7D 03 07 74 */ extsb r3, r8 /* 8010A6D4 00106514 7C 00 07 74 */ extsb r0, r0 /* 8010A6D8 00106518 7C 03 00 50 */ subf r0, r3, r0 /* 8010A6DC 0010651C 7C 04 01 D6 */ mullw r0, r4, r0 /* 8010A6E0 00106520 7C 00 2B D6 */ divw r0, r0, r5 /* 8010A6E4 00106524 7C 08 02 14 */ add r0, r8, r0 /* 8010A6E8 00106528 7C 04 07 74 */ extsb r4, r0 .global lbl_8010A6EC lbl_8010A6EC: /* 8010A6EC 0010652C 38 66 FF C0 */ addi r3, r6, -0x40 /* 8010A6F0 00106530 38 00 00 00 */ li r0, 0x0 /* 8010A6F4 00106534 98 9F 00 5A */ stb r4, 0x5a(r31) /* 8010A6F8 00106538 98 7F 00 5B */ stb r3, 0x5b(r31) /* 8010A6FC 0010653C B0 FF 00 5C */ sth r7, 0x5c(r31) /* 8010A700 00106540 B0 1F 00 5E */ sth r0, 0x5e(r31) /* 8010A704 00106544 48 00 07 90 */ b lbl_8010AE94 .global lbl_8010A708 lbl_8010A708: /* 8010A708 00106548 38 06 FF C0 */ addi r0, r6, -0x40 /* 8010A70C 0010654C 98 1F 00 6F */ stb r0, 0x6f(r31) /* 8010A710 00106550 48 00 07 84 */ b lbl_8010AE94 .global lbl_8010A714 lbl_8010A714: /* 8010A714 00106554 A8 BF 00 62 */ lha r5, 0x62(r31) /* 8010A718 00106558 A8 9F 00 64 */ lha r4, 0x64(r31) /* 8010A71C 0010655C 7C 04 28 00 */ cmpw r4, r5 /* 8010A720 00106560 41 80 00 10 */ blt lbl_8010A730 /* 8010A724 00106564 88 1F 00 61 */ lbz r0, 0x61(r31) /* 8010A728 00106568 7C 03 07 74 */ extsb r3, r0 /* 8010A72C 0010656C 48 00 00 28 */ b lbl_8010A754 .global lbl_8010A730 lbl_8010A730: /* 8010A730 00106570 89 1F 00 60 */ lbz r8, 0x60(r31) /* 8010A734 00106574 88 1F 00 61 */ lbz r0, 0x61(r31) /* 8010A738 00106578 7D 03 07 74 */ extsb r3, r8 /* 8010A73C 0010657C 7C 00 07 74 */ extsb r0, r0 /* 8010A740 00106580 7C 03 00 50 */ subf r0, r3, r0 /* 8010A744 00106584 7C 04 01 D6 */ mullw r0, r4, r0 /* 8010A748 00106588 7C 00 2B D6 */ divw r0, r0, r5 /* 8010A74C 0010658C 7C 08 02 14 */ add r0, r8, r0 /* 8010A750 00106590 7C 03 07 74 */ extsb r3, r0 .global lbl_8010A754 lbl_8010A754: /* 8010A754 00106594 38 00 00 00 */ li r0, 0x0 /* 8010A758 00106598 98 7F 00 60 */ stb r3, 0x60(r31) /* 8010A75C 0010659C 98 DF 00 61 */ stb r6, 0x61(r31) /* 8010A760 001065A0 B0 FF 00 62 */ sth r7, 0x62(r31) /* 8010A764 001065A4 B0 1F 00 64 */ sth r0, 0x64(r31) /* 8010A768 001065A8 48 00 07 2C */ b lbl_8010AE94 .global lbl_8010A76C lbl_8010A76C: /* 8010A76C 001065AC 98 DF 00 71 */ stb r6, 0x71(r31) /* 8010A770 001065B0 48 00 07 24 */ b lbl_8010AE94 .global lbl_8010A774 lbl_8010A774: /* 8010A774 001065B4 7C 06 00 D0 */ neg r0, r6 /* 8010A778 001065B8 7C 00 33 78 */ or r0, r0, r6 /* 8010A77C 001065BC 54 00 0F FE */ srwi r0, r0, 31 /* 8010A780 001065C0 98 1F 00 09 */ stb r0, 0x9(r31) /* 8010A784 001065C4 48 00 07 10 */ b lbl_8010AE94 .global lbl_8010A788 lbl_8010A788: /* 8010A788 001065C8 98 DF 00 73 */ stb r6, 0x73(r31) /* 8010A78C 001065CC 48 00 07 08 */ b lbl_8010AE94 .global lbl_8010A790 lbl_8010A790: /* 8010A790 001065D0 54 C0 06 3E */ clrlwi r0, r6, 24 /* 8010A794 001065D4 90 01 00 0C */ stw r0, 0xc(r1) /* 8010A798 001065D8 C8 42 93 E8 */ lfd f2, "@10415"@sda21(r2) /* 8010A79C 001065DC C8 21 00 08 */ lfd f1, 0x8(r1) /* 8010A7A0 001065E0 C0 02 93 D8 */ lfs f0, "@10403"@sda21(r2) /* 8010A7A4 001065E4 EC 21 10 28 */ fsubs f1, f1, f2 /* 8010A7A8 001065E8 EC 01 00 32 */ fmuls f0, f1, f0 /* 8010A7AC 001065EC D0 1F 00 3C */ stfs f0, 0x3c(r31) /* 8010A7B0 001065F0 48 00 06 E4 */ b lbl_8010AE94 .global lbl_8010A7B4 lbl_8010A7B4: /* 8010A7B4 001065F4 54 C0 06 3E */ clrlwi r0, r6, 24 /* 8010A7B8 001065F8 90 01 00 14 */ stw r0, 0x14(r1) /* 8010A7BC 001065FC C8 42 93 E8 */ lfd f2, "@10415"@sda21(r2) /* 8010A7C0 00106600 C8 21 00 10 */ lfd f1, 0x10(r1) /* 8010A7C4 00106604 C0 02 93 DC */ lfs f0, "@10404"@sda21(r2) /* 8010A7C8 00106608 EC 21 10 28 */ fsubs f1, f1, f2 /* 8010A7CC 0010660C EC 00 00 72 */ fmuls f0, f0, f1 /* 8010A7D0 00106610 D0 1F 00 40 */ stfs f0, 0x40(r31) /* 8010A7D4 00106614 48 00 06 C0 */ b lbl_8010AE94 .global lbl_8010A7D8 lbl_8010A7D8: /* 8010A7D8 00106618 98 DF 00 4C */ stb r6, 0x4c(r31) /* 8010A7DC 0010661C 48 00 06 B8 */ b lbl_8010AE94 .global lbl_8010A7E0 lbl_8010A7E0: /* 8010A7E0 00106620 98 DF 00 48 */ stb r6, 0x48(r31) /* 8010A7E4 00106624 48 00 06 B0 */ b lbl_8010AE94 .global lbl_8010A7E8 lbl_8010A7E8: /* 8010A7E8 00106628 54 C0 10 3A */ slwi r0, r6, 2 /* 8010A7EC 0010662C 7C 00 32 14 */ add r0, r0, r6 /* 8010A7F0 00106630 90 1F 00 44 */ stw r0, 0x44(r31) /* 8010A7F4 00106634 48 00 06 A0 */ b lbl_8010AE94 .global lbl_8010A7F8 lbl_8010A7F8: /* 8010A7F8 00106638 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 8010A7FC 0010663C 90 01 00 0C */ stw r0, 0xc(r1) /* 8010A800 00106640 C8 42 93 F0 */ lfd f2, "@10416"@sda21(r2) /* 8010A804 00106644 C8 21 00 08 */ lfd f1, 0x8(r1) /* 8010A808 00106648 C0 02 93 E0 */ lfs f0, "@10405"@sda21(r2) /* 8010A80C 0010664C EC 21 10 28 */ fsubs f1, f1, f2 /* 8010A810 00106650 EC 01 00 32 */ fmuls f0, f1, f0 /* 8010A814 00106654 D0 1F 00 50 */ stfs f0, 0x50(r31) /* 8010A818 00106658 48 00 06 7C */ b lbl_8010AE94 .global lbl_8010A81C lbl_8010A81C: /* 8010A81C 0010665C 98 DF 00 74 */ stb r6, 0x74(r31) /* 8010A820 00106660 48 00 06 74 */ b lbl_8010AE94 .global lbl_8010A824 lbl_8010A824: /* 8010A824 00106664 98 DF 00 75 */ stb r6, 0x75(r31) /* 8010A828 00106668 48 00 06 6C */ b lbl_8010AE94 .global lbl_8010A82C lbl_8010A82C: /* 8010A82C 0010666C 98 DF 00 76 */ stb r6, 0x76(r31) /* 8010A830 00106670 48 00 06 64 */ b lbl_8010AE94 .global lbl_8010A834 lbl_8010A834: /* 8010A834 00106674 98 DF 00 77 */ stb r6, 0x77(r31) /* 8010A838 00106678 48 00 06 5C */ b lbl_8010AE94 .global lbl_8010A83C lbl_8010A83C: /* 8010A83C 0010667C 54 C0 06 3E */ clrlwi r0, r6, 24 /* 8010A840 00106680 B0 1F 00 78 */ sth r0, 0x78(r31) /* 8010A844 00106684 48 00 06 50 */ b lbl_8010AE94 .global lbl_8010A848 lbl_8010A848: /* 8010A848 00106688 38 00 00 FF */ li r0, 0xff /* 8010A84C 0010668C 98 1F 00 74 */ stb r0, 0x74(r31) /* 8010A850 00106690 98 1F 00 75 */ stb r0, 0x75(r31) /* 8010A854 00106694 98 1F 00 76 */ stb r0, 0x76(r31) /* 8010A858 00106698 98 1F 00 77 */ stb r0, 0x77(r31) /* 8010A85C 0010669C B0 1F 00 78 */ sth r0, 0x78(r31) /* 8010A860 001066A0 48 00 06 34 */ b lbl_8010AE94 .global lbl_8010A864 lbl_8010A864: /* 8010A864 001066A4 54 C4 06 3E */ clrlwi r4, r6, 24 /* 8010A868 001066A8 38 60 00 40 */ li r3, 0x40 /* 8010A86C 001066AC 38 04 FF C0 */ addi r0, r4, -0x40 /* 8010A870 001066B0 7C 83 1B 38 */ orc r3, r4, r3 /* 8010A874 001066B4 54 00 F8 7E */ srwi r0, r0, 1 /* 8010A878 001066B8 7C 00 18 50 */ subf r0, r0, r3 /* 8010A87C 001066BC 54 00 0F FE */ srwi r0, r0, 31 /* 8010A880 001066C0 98 1F 00 30 */ stb r0, 0x30(r31) /* 8010A884 001066C4 48 00 06 10 */ b lbl_8010AE94 .global lbl_8010A888 lbl_8010A888: /* 8010A888 001066C8 7C 06 00 D0 */ neg r0, r6 /* 8010A88C 001066CC 7F 83 E3 78 */ mr r3, r28 /* 8010A890 001066D0 7C 00 33 78 */ or r0, r0, r6 /* 8010A894 001066D4 38 80 FF FF */ li r4, -0x1 /* 8010A898 001066D8 54 00 0F FE */ srwi r0, r0, 31 /* 8010A89C 001066DC 98 1F 00 0A */ stb r0, 0xa(r31) /* 8010A8A0 001066E0 48 00 3D 61 */ bl ReleaseAllChannel__Q44nw4r3snd6detail8SeqTrackFi /* 8010A8A4 001066E4 7F 83 E3 78 */ mr r3, r28 /* 8010A8A8 001066E8 48 00 44 09 */ bl FreeAllChannel__Q44nw4r3snd6detail8SeqTrackFv /* 8010A8AC 001066EC 48 00 05 E8 */ b lbl_8010AE94 .global lbl_8010A8B0 lbl_8010A8B0: /* 8010A8B0 001066F0 7C 06 00 D0 */ neg r0, r6 /* 8010A8B4 001066F4 7C 00 33 78 */ or r0, r0, r6 /* 8010A8B8 001066F8 54 00 0F FF */ srwi. r0, r0, 31 /* 8010A8BC 001066FC 98 1F 00 0B */ stb r0, 0xb(r31) /* 8010A8C0 00106700 41 82 05 D4 */ beq lbl_8010AE94 /* 8010A8C4 00106704 7F 83 E3 78 */ mr r3, r28 /* 8010A8C8 00106708 38 80 FF FF */ li r4, -0x1 /* 8010A8CC 0010670C 48 00 3D 35 */ bl ReleaseAllChannel__Q44nw4r3snd6detail8SeqTrackFi /* 8010A8D0 00106710 7F 83 E3 78 */ mr r3, r28 /* 8010A8D4 00106714 48 00 43 DD */ bl FreeAllChannel__Q44nw4r3snd6detail8SeqTrackFv /* 8010A8D8 00106718 48 00 05 BC */ b lbl_8010AE94 .global lbl_8010A8DC lbl_8010A8DC: /* 8010A8DC 0010671C 88 7F 00 70 */ lbz r3, 0x70(r31) /* 8010A8E0 00106720 38 00 00 01 */ li r0, 0x1 /* 8010A8E4 00106724 98 1F 00 2F */ stb r0, 0x2f(r31) /* 8010A8E8 00106728 7C 06 1A 14 */ add r0, r6, r3 /* 8010A8EC 0010672C 98 1F 00 72 */ stb r0, 0x72(r31) /* 8010A8F0 00106730 48 00 05 A4 */ b lbl_8010AE94 .global lbl_8010A8F4 lbl_8010A8F4: /* 8010A8F4 00106734 7C 06 00 D0 */ neg r0, r6 /* 8010A8F8 00106738 7C 00 33 78 */ or r0, r0, r6 /* 8010A8FC 0010673C 54 00 0F FE */ srwi r0, r0, 31 /* 8010A900 00106740 98 1F 00 2F */ stb r0, 0x2f(r31) /* 8010A904 00106744 48 00 05 90 */ b lbl_8010AE94 .global lbl_8010A908 lbl_8010A908: /* 8010A908 00106748 38 06 FF C0 */ addi r0, r6, -0x40 /* 8010A90C 0010674C C8 42 93 F0 */ lfd f2, "@10416"@sda21(r2) /* 8010A910 00106750 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 8010A914 00106754 90 01 00 14 */ stw r0, 0x14(r1) /* 8010A918 00106758 C0 02 93 E0 */ lfs f0, "@10405"@sda21(r2) /* 8010A91C 0010675C C8 21 00 10 */ lfd f1, 0x10(r1) /* 8010A920 00106760 EC 21 10 28 */ fsubs f1, f1, f2 /* 8010A924 00106764 EC 01 00 32 */ fmuls f0, f1, f0 /* 8010A928 00106768 D0 1F 00 80 */ stfs f0, 0x80(r31) /* 8010A92C 0010676C 48 00 05 68 */ b lbl_8010AE94 .global lbl_8010A930 lbl_8010A930: /* 8010A930 00106770 98 DF 00 7E */ stb r6, 0x7e(r31) /* 8010A934 00106774 48 00 05 60 */ b lbl_8010AE94 .global lbl_8010A938 lbl_8010A938: /* 8010A938 00106778 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 8010A93C 0010677C 90 01 00 0C */ stw r0, 0xc(r1) /* 8010A940 00106780 C8 42 93 F0 */ lfd f2, "@10416"@sda21(r2) /* 8010A944 00106784 C8 21 00 08 */ lfd f1, 0x8(r1) /* 8010A948 00106788 C0 02 93 E4 */ lfs f0, "@10406"@sda21(r2) /* 8010A94C 0010678C EC 21 10 28 */ fsubs f1, f1, f2 /* 8010A950 00106790 EC 01 00 24 */ fdivs f0, f1, f0 /* 8010A954 00106794 D0 1F 00 84 */ stfs f0, 0x84(r31) /* 8010A958 00106798 48 00 05 3C */ b lbl_8010AE94 .global lbl_8010A95C lbl_8010A95C: /* 8010A95C 0010679C 98 DF 00 7B */ stb r6, 0x7b(r31) /* 8010A960 001067A0 48 00 05 34 */ b lbl_8010AE94 .global lbl_8010A964 lbl_8010A964: /* 8010A964 001067A4 98 DF 00 7C */ stb r6, 0x7c(r31) /* 8010A968 001067A8 48 00 05 2C */ b lbl_8010AE94 .global lbl_8010A96C lbl_8010A96C: /* 8010A96C 001067AC 98 DF 00 7D */ stb r6, 0x7d(r31) /* 8010A970 001067B0 48 00 05 24 */ b lbl_8010AE94 .global lbl_8010A974 lbl_8010A974: /* 8010A974 001067B4 98 DF 00 7A */ stb r6, 0x7a(r31) /* 8010A978 001067B8 48 00 05 1C */ b lbl_8010AE94 .global lbl_8010A97C lbl_8010A97C: /* 8010A97C 001067BC 88 0D EB F0 */ lbz r0, mPrintVarEnabledFlag__Q44nw4r3snd6detail9MmlParser@sda21(r13) /* 8010A980 001067C0 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010A984 001067C4 41 82 05 10 */ beq lbl_8010AE94 /* 8010A988 001067C8 2C 06 00 20 */ cmpwi r6, 0x20 /* 8010A98C 001067CC 40 80 00 18 */ bge lbl_8010A9A4 /* 8010A990 001067D0 7F 63 DB 78 */ mr r3, r27 /* 8010A994 001067D4 7F 24 CB 78 */ mr r4, r25 /* 8010A998 001067D8 48 00 26 B9 */ bl GetVariablePtr__Q44nw4r3snd6detail9SeqPlayerFi /* 8010A99C 001067DC 7C 64 1B 78 */ mr r4, r3 /* 8010A9A0 001067E0 48 00 00 24 */ b lbl_8010A9C4 .global lbl_8010A9A4 lbl_8010A9A4: /* 8010A9A4 001067E4 2C 06 00 30 */ cmpwi r6, 0x30 /* 8010A9A8 001067E8 40 80 00 14 */ bge lbl_8010A9BC /* 8010A9AC 001067EC 7F 83 E3 78 */ mr r3, r28 /* 8010A9B0 001067F0 38 86 FF E0 */ addi r4, r6, -0x20 /* 8010A9B4 001067F4 48 00 45 CD */ bl GetVariablePtr__Q44nw4r3snd6detail8SeqTrackFi /* 8010A9B8 001067F8 48 00 00 08 */ b lbl_8010A9C0 .global lbl_8010A9BC lbl_8010A9BC: /* 8010A9BC 001067FC 38 60 00 00 */ li r3, 0x0 .global lbl_8010A9C0 lbl_8010A9C0: /* 8010A9C0 00106800 7C 64 1B 78 */ mr r4, r3 .global lbl_8010A9C4 lbl_8010A9C4: /* 8010A9C4 00106804 2C 19 00 20 */ cmpwi r25, 0x20 /* 8010A9C8 00106808 41 80 00 0C */ blt lbl_8010A9D4 /* 8010A9CC 0010680C 38 F9 FF E0 */ addi r7, r25, -0x20 /* 8010A9D0 00106810 48 00 00 14 */ b lbl_8010A9E4 .global lbl_8010A9D4 lbl_8010A9D4: /* 8010A9D4 00106814 2C 19 00 10 */ cmpwi r25, 0x10 /* 8010A9D8 00106818 7F 27 CB 78 */ mr r7, r25 /* 8010A9DC 0010681C 41 80 00 08 */ blt lbl_8010A9E4 /* 8010A9E0 00106820 38 F9 FF F0 */ addi r7, r25, -0x10 .global lbl_8010A9E4 lbl_8010A9E4: /* 8010A9E4 00106824 2C 19 00 20 */ cmpwi r25, 0x20 /* 8010A9E8 00106828 41 80 00 0C */ blt lbl_8010A9F4 /* 8010A9EC 0010682C 38 CD 86 38 */ addi r6, r13, "@10407"@sda21 /* 8010A9F0 00106830 48 00 00 14 */ b lbl_8010AA04 .global lbl_8010A9F4 lbl_8010A9F4: /* 8010A9F4 00106834 2C 19 00 10 */ cmpwi r25, 0x10 /* 8010A9F8 00106838 38 CD 86 40 */ addi r6, r13, "@10409"@sda21 /* 8010A9FC 0010683C 41 80 00 08 */ blt lbl_8010AA04 /* 8010AA00 00106840 38 CD 86 3C */ addi r6, r13, "@10408"@sda21 .global lbl_8010AA04 lbl_8010AA04: /* 8010AA04 00106844 3C 60 80 44 */ lis r3, "@10410"@ha /* 8010AA08 00106848 A9 24 00 00 */ lha r9, 0x0(r4) /* 8010AA0C 0010684C 88 BC 00 04 */ lbz r5, 0x4(r28) /* 8010AA10 00106850 7F 64 DB 78 */ mr r4, r27 /* 8010AA14 00106854 7F 28 CB 78 */ mr r8, r25 /* 8010AA18 00106858 38 63 21 10 */ addi r3, r3, "@10410"@l /* 8010AA1C 0010685C 4C C6 31 82 */ crclr 4*cr1+eq /* 8010AA20 00106860 4B F1 2F 71 */ bl OSReport /* 8010AA24 00106864 48 00 04 70 */ b lbl_8010AE94 .global lbl_8010AA28 lbl_8010AA28: /* 8010AA28 00106868 7F 63 DB 78 */ mr r3, r27 /* 8010AA2C 0010686C 7F 24 CB 78 */ mr r4, r25 /* 8010AA30 00106870 48 00 24 D1 */ bl GetPlayerTrack__Q44nw4r3snd6detail9SeqPlayerFi /* 8010AA34 00106874 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010AA38 00106878 7C 7B 1B 78 */ mr r27, r3 /* 8010AA3C 0010687C 41 82 04 58 */ beq lbl_8010AE94 /* 8010AA40 00106880 7C 03 E0 40 */ cmplw r3, r28 /* 8010AA44 00106884 41 82 04 50 */ beq lbl_8010AE94 /* 8010AA48 00106888 48 00 38 89 */ bl Close__Q44nw4r3snd6detail8SeqTrackFv /* 8010AA4C 0010688C 80 9F 00 00 */ lwz r4, 0x0(r31) /* 8010AA50 00106890 7F 63 DB 78 */ mr r3, r27 /* 8010AA54 00106894 7F A5 EB 78 */ mr r5, r29 /* 8010AA58 00106898 48 00 38 49 */ bl SetSeqData__Q44nw4r3snd6detail8SeqTrackFPCvl /* 8010AA5C 0010689C 7F 63 DB 78 */ mr r3, r27 /* 8010AA60 001068A0 48 00 38 51 */ bl Open__Q44nw4r3snd6detail8SeqTrackFv /* 8010AA64 001068A4 48 00 04 30 */ b lbl_8010AE94 .global lbl_8010AA68 lbl_8010AA68: /* 8010AA68 001068A8 80 1F 00 00 */ lwz r0, 0x0(r31) /* 8010AA6C 001068AC 7C 00 32 14 */ add r0, r0, r6 /* 8010AA70 001068B0 90 1F 00 04 */ stw r0, 0x4(r31) /* 8010AA74 001068B4 48 00 04 20 */ b lbl_8010AE94 .global lbl_8010AA78 lbl_8010AA78: /* 8010AA78 001068B8 88 1F 00 24 */ lbz r0, 0x24(r31) /* 8010AA7C 001068BC 28 00 00 03 */ cmplwi r0, 0x3 /* 8010AA80 001068C0 40 80 04 14 */ bge lbl_8010AE94 /* 8010AA84 001068C4 54 00 1D 78 */ rlwinm r0, r0, 3, 21, 28 /* 8010AA88 001068C8 80 7F 00 04 */ lwz r3, 0x4(r31) /* 8010AA8C 001068CC 7C 9F 02 14 */ add r4, r31, r0 /* 8010AA90 001068D0 90 64 00 10 */ stw r3, 0x10(r4) /* 8010AA94 001068D4 38 00 00 00 */ li r0, 0x0 /* 8010AA98 001068D8 98 04 00 0C */ stb r0, 0xc(r4) /* 8010AA9C 001068DC 88 7F 00 24 */ lbz r3, 0x24(r31) /* 8010AAA0 001068E0 80 1F 00 00 */ lwz r0, 0x0(r31) /* 8010AAA4 001068E4 38 63 00 01 */ addi r3, r3, 0x1 /* 8010AAA8 001068E8 98 7F 00 24 */ stb r3, 0x24(r31) /* 8010AAAC 001068EC 7C 00 32 14 */ add r0, r0, r6 /* 8010AAB0 001068F0 90 1F 00 04 */ stw r0, 0x4(r31) /* 8010AAB4 001068F4 48 00 03 E0 */ b lbl_8010AE94 .global lbl_8010AAB8 lbl_8010AAB8: /* 8010AAB8 001068F8 38 80 00 00 */ li r4, 0x0 /* 8010AABC 001068FC 48 00 00 2C */ b lbl_8010AAE8 .global lbl_8010AAC0 lbl_8010AAC0: /* 8010AAC0 00106900 88 7F 00 24 */ lbz r3, 0x24(r31) /* 8010AAC4 00106904 38 03 FF FF */ addi r0, r3, -0x1 /* 8010AAC8 00106908 98 1F 00 24 */ stb r0, 0x24(r31) /* 8010AACC 0010690C 54 00 1D 78 */ rlwinm r0, r0, 3, 21, 28 /* 8010AAD0 00106910 7C 7F 02 14 */ add r3, r31, r0 /* 8010AAD4 00106914 88 03 00 0C */ lbz r0, 0xc(r3) /* 8010AAD8 00106918 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010AADC 0010691C 40 82 00 0C */ bne lbl_8010AAE8 /* 8010AAE0 00106920 38 83 00 0C */ addi r4, r3, 0xc /* 8010AAE4 00106924 48 00 00 10 */ b lbl_8010AAF4 .global lbl_8010AAE8 lbl_8010AAE8: /* 8010AAE8 00106928 88 1F 00 24 */ lbz r0, 0x24(r31) /* 8010AAEC 0010692C 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010AAF0 00106930 40 82 FF D0 */ bne lbl_8010AAC0 .global lbl_8010AAF4 lbl_8010AAF4: /* 8010AAF4 00106934 2C 04 00 00 */ cmpwi r4, 0x0 /* 8010AAF8 00106938 41 82 03 9C */ beq lbl_8010AE94 /* 8010AAFC 0010693C 80 04 00 04 */ lwz r0, 0x4(r4) /* 8010AB00 00106940 90 1F 00 04 */ stw r0, 0x4(r31) /* 8010AB04 00106944 48 00 03 90 */ b lbl_8010AE94 .global lbl_8010AB08 lbl_8010AB08: /* 8010AB08 00106948 88 1F 00 24 */ lbz r0, 0x24(r31) /* 8010AB0C 0010694C 28 00 00 03 */ cmplwi r0, 0x3 /* 8010AB10 00106950 40 80 03 84 */ bge lbl_8010AE94 /* 8010AB14 00106954 54 00 1D 78 */ rlwinm r0, r0, 3, 21, 28 /* 8010AB18 00106958 80 7F 00 04 */ lwz r3, 0x4(r31) /* 8010AB1C 0010695C 7C 9F 02 14 */ add r4, r31, r0 /* 8010AB20 00106960 90 64 00 10 */ stw r3, 0x10(r4) /* 8010AB24 00106964 38 00 00 01 */ li r0, 0x1 /* 8010AB28 00106968 98 C4 00 0D */ stb r6, 0xd(r4) /* 8010AB2C 0010696C 98 04 00 0C */ stb r0, 0xc(r4) /* 8010AB30 00106970 88 7F 00 24 */ lbz r3, 0x24(r31) /* 8010AB34 00106974 38 03 00 01 */ addi r0, r3, 0x1 /* 8010AB38 00106978 98 1F 00 24 */ stb r0, 0x24(r31) /* 8010AB3C 0010697C 48 00 03 58 */ b lbl_8010AE94 .global lbl_8010AB40 lbl_8010AB40: /* 8010AB40 00106980 88 7F 00 24 */ lbz r3, 0x24(r31) /* 8010AB44 00106984 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010AB48 00106988 41 82 03 4C */ beq lbl_8010AE94 /* 8010AB4C 0010698C 38 83 FF FF */ addi r4, r3, -0x1 /* 8010AB50 00106990 54 80 18 38 */ slwi r0, r4, 3 /* 8010AB54 00106994 7C 7F 02 14 */ add r3, r31, r0 /* 8010AB58 00106998 88 03 00 0C */ lbz r0, 0xc(r3) /* 8010AB5C 0010699C 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010AB60 001069A0 41 82 03 34 */ beq lbl_8010AE94 /* 8010AB64 001069A4 88 A3 00 0D */ lbz r5, 0xd(r3) /* 8010AB68 001069A8 2C 05 00 00 */ cmpwi r5, 0x0 /* 8010AB6C 001069AC 41 82 00 18 */ beq lbl_8010AB84 /* 8010AB70 001069B0 38 A5 FF FF */ addi r5, r5, -0x1 /* 8010AB74 001069B4 54 A0 06 3F */ clrlwi. r0, r5, 24 /* 8010AB78 001069B8 40 82 00 0C */ bne lbl_8010AB84 /* 8010AB7C 001069BC 98 9F 00 24 */ stb r4, 0x24(r31) /* 8010AB80 001069C0 48 00 03 14 */ b lbl_8010AE94 .global lbl_8010AB84 lbl_8010AB84: /* 8010AB84 001069C4 98 A3 00 0D */ stb r5, 0xd(r3) /* 8010AB88 001069C8 80 03 00 10 */ lwz r0, 0x10(r3) /* 8010AB8C 001069CC 90 1F 00 04 */ stw r0, 0x4(r31) /* 8010AB90 001069D0 48 00 03 04 */ b lbl_8010AE94 .global lbl_8010AB94 lbl_8010AB94: /* 8010AB94 001069D4 28 05 FF FF */ cmplwi r5, 0xffff /* 8010AB98 001069D8 41 81 02 FC */ bgt lbl_8010AE94 /* 8010AB9C 001069DC 54 A0 06 36 */ rlwinm r0, r5, 0, 24, 27 /* 8010ABA0 001069E0 54 BA 06 3E */ clrlwi r26, r5, 24 /* 8010ABA4 001069E4 28 00 00 80 */ cmplwi r0, 0x80 /* 8010ABA8 001069E8 3B C0 00 00 */ li r30, 0x0 /* 8010ABAC 001069EC 41 82 00 0C */ beq lbl_8010ABB8 /* 8010ABB0 001069F0 28 00 00 90 */ cmplwi r0, 0x90 /* 8010ABB4 001069F4 40 82 00 44 */ bne lbl_8010ABF8 .global lbl_8010ABB8 lbl_8010ABB8: /* 8010ABB8 001069F8 2C 06 00 20 */ cmpwi r6, 0x20 /* 8010ABBC 001069FC 40 80 00 14 */ bge lbl_8010ABD0 /* 8010ABC0 00106A00 7F 63 DB 78 */ mr r3, r27 /* 8010ABC4 00106A04 7F 24 CB 78 */ mr r4, r25 /* 8010ABC8 00106A08 48 00 24 89 */ bl GetVariablePtr__Q44nw4r3snd6detail9SeqPlayerFi /* 8010ABCC 00106A0C 48 00 00 20 */ b lbl_8010ABEC .global lbl_8010ABD0 lbl_8010ABD0: /* 8010ABD0 00106A10 2C 06 00 30 */ cmpwi r6, 0x30 /* 8010ABD4 00106A14 40 80 00 14 */ bge lbl_8010ABE8 /* 8010ABD8 00106A18 7F 83 E3 78 */ mr r3, r28 /* 8010ABDC 00106A1C 38 86 FF E0 */ addi r4, r6, -0x20 /* 8010ABE0 00106A20 48 00 43 A1 */ bl GetVariablePtr__Q44nw4r3snd6detail8SeqTrackFi /* 8010ABE4 00106A24 48 00 00 08 */ b lbl_8010ABEC .global lbl_8010ABE8 lbl_8010ABE8: /* 8010ABE8 00106A28 38 60 00 00 */ li r3, 0x0 .global lbl_8010ABEC lbl_8010ABEC: /* 8010ABEC 00106A2C 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010ABF0 00106A30 7C 7E 1B 78 */ mr r30, r3 /* 8010ABF4 00106A34 41 82 02 A0 */ beq lbl_8010AE94 .global lbl_8010ABF8 lbl_8010ABF8: /* 8010ABF8 00106A38 2C 1A 00 8A */ cmpwi r26, 0x8a /* 8010ABFC 00106A3C 41 82 01 AC */ beq lbl_8010ADA8 /* 8010AC00 00106A40 40 80 00 58 */ bge lbl_8010AC58 /* 8010AC04 00106A44 2C 1A 00 84 */ cmpwi r26, 0x84 /* 8010AC08 00106A48 41 82 00 E0 */ beq lbl_8010ACE8 /* 8010AC0C 00106A4C 40 80 00 28 */ bge lbl_8010AC34 /* 8010AC10 00106A50 2C 1A 00 81 */ cmpwi r26, 0x81 /* 8010AC14 00106A54 41 82 00 98 */ beq lbl_8010ACAC /* 8010AC18 00106A58 40 80 00 10 */ bge lbl_8010AC28 /* 8010AC1C 00106A5C 2C 1A 00 80 */ cmpwi r26, 0x80 /* 8010AC20 00106A60 40 80 00 84 */ bge lbl_8010ACA4 /* 8010AC24 00106A64 48 00 02 70 */ b lbl_8010AE94 .global lbl_8010AC28 lbl_8010AC28: /* 8010AC28 00106A68 2C 1A 00 83 */ cmpwi r26, 0x83 /* 8010AC2C 00106A6C 40 80 00 A8 */ bge lbl_8010ACD4 /* 8010AC30 00106A70 48 00 00 90 */ b lbl_8010ACC0 .global lbl_8010AC34 lbl_8010AC34: /* 8010AC34 00106A74 2C 1A 00 87 */ cmpwi r26, 0x87 /* 8010AC38 00106A78 41 82 01 34 */ beq lbl_8010AD6C /* 8010AC3C 00106A7C 40 80 00 10 */ bge lbl_8010AC4C /* 8010AC40 00106A80 2C 1A 00 86 */ cmpwi r26, 0x86 /* 8010AC44 00106A84 40 80 00 E8 */ bge lbl_8010AD2C /* 8010AC48 00106A88 48 00 00 B8 */ b lbl_8010AD00 .global lbl_8010AC4C lbl_8010AC4C: /* 8010AC4C 00106A8C 2C 1A 00 89 */ cmpwi r26, 0x89 /* 8010AC50 00106A90 40 80 01 44 */ bge lbl_8010AD94 /* 8010AC54 00106A94 48 00 01 2C */ b lbl_8010AD80 .global lbl_8010AC58 lbl_8010AC58: /* 8010AC58 00106A98 2C 1A 00 93 */ cmpwi r26, 0x93 /* 8010AC5C 00106A9C 41 82 01 D0 */ beq lbl_8010AE2C /* 8010AC60 00106AA0 40 80 00 28 */ bge lbl_8010AC88 /* 8010AC64 00106AA4 2C 1A 00 90 */ cmpwi r26, 0x90 /* 8010AC68 00106AA8 41 82 01 70 */ beq lbl_8010ADD8 /* 8010AC6C 00106AAC 40 80 00 10 */ bge lbl_8010AC7C /* 8010AC70 00106AB0 2C 1A 00 8C */ cmpwi r26, 0x8c /* 8010AC74 00106AB4 40 80 02 20 */ bge lbl_8010AE94 /* 8010AC78 00106AB8 48 00 01 40 */ b lbl_8010ADB8 .global lbl_8010AC7C lbl_8010AC7C: /* 8010AC7C 00106ABC 2C 1A 00 92 */ cmpwi r26, 0x92 /* 8010AC80 00106AC0 40 80 01 8C */ bge lbl_8010AE0C /* 8010AC84 00106AC4 48 00 01 6C */ b lbl_8010ADF0 .global lbl_8010AC88 lbl_8010AC88: /* 8010AC88 00106AC8 2C 1A 00 E0 */ cmpwi r26, 0xe0 /* 8010AC8C 00106ACC 41 82 01 F8 */ beq lbl_8010AE84 /* 8010AC90 00106AD0 40 80 02 04 */ bge lbl_8010AE94 /* 8010AC94 00106AD4 2C 1A 00 95 */ cmpwi r26, 0x95 /* 8010AC98 00106AD8 41 82 01 D0 */ beq lbl_8010AE68 /* 8010AC9C 00106ADC 40 80 01 F8 */ bge lbl_8010AE94 /* 8010ACA0 00106AE0 48 00 01 A8 */ b lbl_8010AE48 .global lbl_8010ACA4 lbl_8010ACA4: /* 8010ACA4 00106AE4 B3 BE 00 00 */ sth r29, 0x0(r30) /* 8010ACA8 00106AE8 48 00 01 EC */ b lbl_8010AE94 .global lbl_8010ACAC lbl_8010ACAC: /* 8010ACAC 00106AEC A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010ACB0 00106AF0 7F A0 07 34 */ extsh r0, r29 /* 8010ACB4 00106AF4 7C 03 02 14 */ add r0, r3, r0 /* 8010ACB8 00106AF8 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ACBC 00106AFC 48 00 01 D8 */ b lbl_8010AE94 .global lbl_8010ACC0 lbl_8010ACC0: /* 8010ACC0 00106B00 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010ACC4 00106B04 7F A3 07 34 */ extsh r3, r29 /* 8010ACC8 00106B08 7C 03 00 50 */ subf r0, r3, r0 /* 8010ACCC 00106B0C B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ACD0 00106B10 48 00 01 C4 */ b lbl_8010AE94 .global lbl_8010ACD4 lbl_8010ACD4: /* 8010ACD4 00106B14 A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010ACD8 00106B18 7F A0 07 34 */ extsh r0, r29 /* 8010ACDC 00106B1C 7C 03 01 D6 */ mullw r0, r3, r0 /* 8010ACE0 00106B20 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ACE4 00106B24 48 00 01 B0 */ b lbl_8010AE94 .global lbl_8010ACE8 lbl_8010ACE8: /* 8010ACE8 00106B28 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010ACEC 00106B2C 41 82 01 A8 */ beq lbl_8010AE94 /* 8010ACF0 00106B30 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010ACF4 00106B34 7C 00 EB D6 */ divw r0, r0, r29 /* 8010ACF8 00106B38 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ACFC 00106B3C 48 00 01 98 */ b lbl_8010AE94 .global lbl_8010AD00 lbl_8010AD00: /* 8010AD00 00106B40 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010AD04 00106B44 41 80 00 14 */ blt lbl_8010AD18 /* 8010AD08 00106B48 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010AD0C 00106B4C 7C 00 E8 30 */ slw r0, r0, r29 /* 8010AD10 00106B50 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010AD14 00106B54 48 00 01 80 */ b lbl_8010AE94 .global lbl_8010AD18 lbl_8010AD18: /* 8010AD18 00106B58 A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010AD1C 00106B5C 7C 1D 00 D0 */ neg r0, r29 /* 8010AD20 00106B60 7C 60 06 30 */ sraw r0, r3, r0 /* 8010AD24 00106B64 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010AD28 00106B68 48 00 01 6C */ b lbl_8010AE94 .global lbl_8010AD2C lbl_8010AD2C: /* 8010AD2C 00106B6C 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010AD30 00106B70 3B 40 00 00 */ li r26, 0x0 /* 8010AD34 00106B74 40 80 00 10 */ bge lbl_8010AD44 /* 8010AD38 00106B78 7C 1D 00 D0 */ neg r0, r29 /* 8010AD3C 00106B7C 3B 40 00 01 */ li r26, 0x1 /* 8010AD40 00106B80 7C 1D 07 34 */ extsh r29, r0 .global lbl_8010AD44 lbl_8010AD44: /* 8010AD44 00106B84 48 01 23 BD */ bl CalcRandom__Q44nw4r3snd6detail4UtilFv /* 8010AD48 00106B88 54 63 04 3E */ clrlwi r3, r3, 16 /* 8010AD4C 00106B8C 38 1D 00 01 */ addi r0, r29, 0x1 /* 8010AD50 00106B90 7C 63 01 D6 */ mullw r3, r3, r0 /* 8010AD54 00106B94 2C 1A 00 00 */ cmpwi r26, 0x0 /* 8010AD58 00106B98 7C 63 86 70 */ srawi r3, r3, 16 /* 8010AD5C 00106B9C 41 82 00 08 */ beq lbl_8010AD64 /* 8010AD60 00106BA0 7C 63 00 D0 */ neg r3, r3 .global lbl_8010AD64 lbl_8010AD64: /* 8010AD64 00106BA4 B0 7E 00 00 */ sth r3, 0x0(r30) /* 8010AD68 00106BA8 48 00 01 2C */ b lbl_8010AE94 .global lbl_8010AD6C lbl_8010AD6C: /* 8010AD6C 00106BAC A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010AD70 00106BB0 7F A0 07 34 */ extsh r0, r29 /* 8010AD74 00106BB4 7C 60 00 38 */ and r0, r3, r0 /* 8010AD78 00106BB8 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010AD7C 00106BBC 48 00 01 18 */ b lbl_8010AE94 .global lbl_8010AD80 lbl_8010AD80: /* 8010AD80 00106BC0 A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010AD84 00106BC4 7F A0 07 34 */ extsh r0, r29 /* 8010AD88 00106BC8 7C 60 03 78 */ or r0, r3, r0 /* 8010AD8C 00106BCC B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010AD90 00106BD0 48 00 01 04 */ b lbl_8010AE94 .global lbl_8010AD94 lbl_8010AD94: /* 8010AD94 00106BD4 A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010AD98 00106BD8 7F A0 07 34 */ extsh r0, r29 /* 8010AD9C 00106BDC 7C 60 02 78 */ xor r0, r3, r0 /* 8010ADA0 00106BE0 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ADA4 00106BE4 48 00 00 F0 */ b lbl_8010AE94 .global lbl_8010ADA8 lbl_8010ADA8: /* 8010ADA8 00106BE8 57 A0 04 3E */ clrlwi r0, r29, 16 /* 8010ADAC 00106BEC 7C 00 00 F8 */ nor r0, r0, r0 /* 8010ADB0 00106BF0 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ADB4 00106BF4 48 00 00 E0 */ b lbl_8010AE94 .global lbl_8010ADB8 lbl_8010ADB8: /* 8010ADB8 00106BF8 2C 1D 00 00 */ cmpwi r29, 0x0 /* 8010ADBC 00106BFC 41 82 00 D8 */ beq lbl_8010AE94 /* 8010ADC0 00106C00 A8 7E 00 00 */ lha r3, 0x0(r30) /* 8010ADC4 00106C04 7C 03 EB D6 */ divw r0, r3, r29 /* 8010ADC8 00106C08 7C 00 E9 D6 */ mullw r0, r0, r29 /* 8010ADCC 00106C0C 7C 00 18 50 */ subf r0, r0, r3 /* 8010ADD0 00106C10 B0 1E 00 00 */ sth r0, 0x0(r30) /* 8010ADD4 00106C14 48 00 00 C0 */ b lbl_8010AE94 .global lbl_8010ADD8 lbl_8010ADD8: /* 8010ADD8 00106C18 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010ADDC 00106C1C 7C 00 E8 50 */ subf r0, r0, r29 /* 8010ADE0 00106C20 7C 00 00 34 */ cntlzw r0, r0 /* 8010ADE4 00106C24 54 00 D9 7E */ srwi r0, r0, 5 /* 8010ADE8 00106C28 98 1F 00 08 */ stb r0, 0x8(r31) /* 8010ADEC 00106C2C 48 00 00 A8 */ b lbl_8010AE94 .global lbl_8010ADF0 lbl_8010ADF0: /* 8010ADF0 00106C30 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010ADF4 00106C34 57 A3 0F FE */ srwi r3, r29, 31 /* 8010ADF8 00106C38 7C 04 FE 70 */ srawi r4, r0, 31 /* 8010ADFC 00106C3C 7C 1D 00 10 */ subfc r0, r29, r0 /* 8010AE00 00106C40 7C 04 19 14 */ adde r0, r4, r3 /* 8010AE04 00106C44 98 1F 00 08 */ stb r0, 0x8(r31) /* 8010AE08 00106C48 48 00 00 8C */ b lbl_8010AE94 .global lbl_8010AE0C lbl_8010AE0C: /* 8010AE0C 00106C4C A8 9E 00 00 */ lha r4, 0x0(r30) /* 8010AE10 00106C50 7C 80 EA 78 */ xor r0, r4, r29 /* 8010AE14 00106C54 7C 03 0E 70 */ srawi r3, r0, 1 /* 8010AE18 00106C58 7C 00 20 38 */ and r0, r0, r4 /* 8010AE1C 00106C5C 7C 00 18 50 */ subf r0, r0, r3 /* 8010AE20 00106C60 54 00 0F FE */ srwi r0, r0, 31 /* 8010AE24 00106C64 98 1F 00 08 */ stb r0, 0x8(r31) /* 8010AE28 00106C68 48 00 00 6C */ b lbl_8010AE94 .global lbl_8010AE2C lbl_8010AE2C: /* 8010AE2C 00106C6C A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010AE30 00106C70 7F A4 FE 70 */ srawi r4, r29, 31 /* 8010AE34 00106C74 54 03 0F FE */ srwi r3, r0, 31 /* 8010AE38 00106C78 7C 00 E8 10 */ subfc r0, r0, r29 /* 8010AE3C 00106C7C 7C 04 19 14 */ adde r0, r4, r3 /* 8010AE40 00106C80 98 1F 00 08 */ stb r0, 0x8(r31) /* 8010AE44 00106C84 48 00 00 50 */ b lbl_8010AE94 .global lbl_8010AE48 lbl_8010AE48: /* 8010AE48 00106C88 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010AE4C 00106C8C 7F A0 02 78 */ xor r0, r29, r0 /* 8010AE50 00106C90 7C 03 0E 70 */ srawi r3, r0, 1 /* 8010AE54 00106C94 7C 00 E8 38 */ and r0, r0, r29 /* 8010AE58 00106C98 7C 00 18 50 */ subf r0, r0, r3 /* 8010AE5C 00106C9C 54 00 0F FE */ srwi r0, r0, 31 /* 8010AE60 00106CA0 98 1F 00 08 */ stb r0, 0x8(r31) /* 8010AE64 00106CA4 48 00 00 30 */ b lbl_8010AE94 .global lbl_8010AE68 lbl_8010AE68: /* 8010AE68 00106CA8 A8 1E 00 00 */ lha r0, 0x0(r30) /* 8010AE6C 00106CAC 7C 60 E8 50 */ subf r3, r0, r29 /* 8010AE70 00106CB0 7C 1D 00 50 */ subf r0, r29, r0 /* 8010AE74 00106CB4 7C 60 03 78 */ or r0, r3, r0 /* 8010AE78 00106CB8 54 00 0F FE */ srwi r0, r0, 31 /* 8010AE7C 00106CBC 98 1F 00 08 */ stb r0, 0x8(r31) /* 8010AE80 00106CC0 48 00 00 14 */ b lbl_8010AE94 .global lbl_8010AE84 lbl_8010AE84: /* 8010AE84 00106CC4 7F 63 DB 78 */ mr r3, r27 /* 8010AE88 00106CC8 7F 85 E3 78 */ mr r5, r28 /* 8010AE8C 00106CCC 57 24 04 3E */ clrlwi r4, r25, 16 /* 8010AE90 00106CD0 48 00 1E 11 */ bl CallSeqUserprocCallback__Q44nw4r3snd6detail9SeqPlayerFUsPQ44nw4r3snd6detail8SeqTrack .global lbl_8010AE94 lbl_8010AE94: /* 8010AE94 00106CD4 39 61 00 40 */ addi r11, r1, 0x40 /* 8010AE98 00106CD8 4B EF C4 E9 */ bl lbl_80007380 /* 8010AE9C 00106CDC 80 01 00 44 */ lwz r0, 0x44(r1) /* 8010AEA0 00106CE0 7C 08 03 A6 */ mtlr r0 /* 8010AEA4 00106CE4 38 21 00 40 */ addi r1, r1, 0x40 /* 8010AEA8 00106CE8 4E 80 00 20 */ blr /* 8010AEAC 00106CEC 00 00 00 00 */ .4byte 0x00000000 .global NoteOnCommandProc__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackiilb NoteOnCommandProc__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackiilb: /* 8010AEB0 00106CF0 7C 83 23 78 */ mr r3, r4 /* 8010AEB4 00106CF4 7C A4 2B 78 */ mr r4, r5 /* 8010AEB8 00106CF8 7C C5 33 78 */ mr r5, r6 /* 8010AEBC 00106CFC 7C E6 3B 78 */ mr r6, r7 /* 8010AEC0 00106D00 7D 07 43 78 */ mr r7, r8 /* 8010AEC4 00106D04 48 00 40 DC */ b NoteOn__Q44nw4r3snd6detail8SeqTrackFiilb /* 8010AEC8 00106D08 00 00 00 00 */ .4byte 0x00000000 /* 8010AECC 00106D0C 00 00 00 00 */ .4byte 0x00000000 .global ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType ReadArg__Q44nw4r3snd6detail9MmlParserCFPPCUcPQ44nw4r3snd6detail9SeqPlayerPQ44nw4r3snd6detail8SeqTrackQ54nw4r3snd6detail9MmlParser10SeqArgType: /* 8010AED0 00106D10 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8010AED4 00106D14 7C 08 02 A6 */ mflr r0 /* 8010AED8 00106D18 2C 07 00 01 */ cmpwi r7, 0x1 /* 8010AEDC 00106D1C 90 01 00 14 */ stw r0, 0x14(r1) /* 8010AEE0 00106D20 93 E1 00 0C */ stw r31, 0xc(r1) /* 8010AEE4 00106D24 93 C1 00 08 */ stw r30, 0x8(r1) /* 8010AEE8 00106D28 41 82 00 28 */ beq lbl_8010AF10 /* 8010AEEC 00106D2C 2C 07 00 02 */ cmpwi r7, 0x2 /* 8010AEF0 00106D30 41 82 00 34 */ beq lbl_8010AF24 /* 8010AEF4 00106D34 2C 07 00 03 */ cmpwi r7, 0x3 /* 8010AEF8 00106D38 41 82 00 50 */ beq lbl_8010AF48 /* 8010AEFC 00106D3C 2C 07 00 05 */ cmpwi r7, 0x5 /* 8010AF00 00106D40 41 82 00 78 */ beq lbl_8010AF78 /* 8010AF04 00106D44 2C 07 00 04 */ cmpwi r7, 0x4 /* 8010AF08 00106D48 41 82 00 C0 */ beq lbl_8010AFC8 /* 8010AF0C 00106D4C 48 00 01 1C */ b lbl_8010B028 .global lbl_8010AF10 lbl_8010AF10: /* 8010AF10 00106D50 80 64 00 00 */ lwz r3, 0x0(r4) /* 8010AF14 00106D54 38 03 00 01 */ addi r0, r3, 0x1 /* 8010AF18 00106D58 90 04 00 00 */ stw r0, 0x0(r4) /* 8010AF1C 00106D5C 88 63 00 00 */ lbz r3, 0x0(r3) /* 8010AF20 00106D60 48 00 01 08 */ b lbl_8010B028 .global lbl_8010AF24 lbl_8010AF24: /* 8010AF24 00106D64 80 A4 00 00 */ lwz r5, 0x0(r4) /* 8010AF28 00106D68 38 65 00 01 */ addi r3, r5, 0x1 /* 8010AF2C 00106D6C 90 64 00 00 */ stw r3, 0x0(r4) /* 8010AF30 00106D70 38 03 00 01 */ addi r0, r3, 0x1 /* 8010AF34 00106D74 88 A5 00 00 */ lbz r5, 0x0(r5) /* 8010AF38 00106D78 90 04 00 00 */ stw r0, 0x0(r4) /* 8010AF3C 00106D7C 88 63 00 00 */ lbz r3, 0x0(r3) /* 8010AF40 00106D80 50 A3 44 2E */ rlwimi r3, r5, 8, 16, 23 /* 8010AF44 00106D84 48 00 00 E4 */ b lbl_8010B028 .global lbl_8010AF48 lbl_8010AF48: /* 8010AF48 00106D88 38 60 00 00 */ li r3, 0x0 /* 8010AF4C 00106D8C 60 00 00 00 */ nop .global lbl_8010AF50 lbl_8010AF50: /* 8010AF50 00106D90 80 A4 00 00 */ lwz r5, 0x0(r4) /* 8010AF54 00106D94 54 63 38 30 */ slwi r3, r3, 7 /* 8010AF58 00106D98 38 05 00 01 */ addi r0, r5, 0x1 /* 8010AF5C 00106D9C 90 04 00 00 */ stw r0, 0x0(r4) /* 8010AF60 00106DA0 88 A5 00 00 */ lbz r5, 0x0(r5) /* 8010AF64 00106DA4 54 A0 06 31 */ rlwinm. r0, r5, 0, 24, 24 /* 8010AF68 00106DA8 54 A0 06 7E */ clrlwi r0, r5, 25 /* 8010AF6C 00106DAC 7C 63 03 78 */ or r3, r3, r0 /* 8010AF70 00106DB0 40 82 FF E0 */ bne lbl_8010AF50 /* 8010AF74 00106DB4 48 00 00 B4 */ b lbl_8010B028 .global lbl_8010AF78 lbl_8010AF78: /* 8010AF78 00106DB8 80 64 00 00 */ lwz r3, 0x0(r4) /* 8010AF7C 00106DBC 38 03 00 01 */ addi r0, r3, 0x1 /* 8010AF80 00106DC0 90 04 00 00 */ stw r0, 0x0(r4) /* 8010AF84 00106DC4 88 83 00 00 */ lbz r4, 0x0(r3) /* 8010AF88 00106DC8 2C 04 00 20 */ cmpwi r4, 0x20 /* 8010AF8C 00106DCC 40 80 00 10 */ bge lbl_8010AF9C /* 8010AF90 00106DD0 7C A3 2B 78 */ mr r3, r5 /* 8010AF94 00106DD4 48 00 20 BD */ bl GetVariablePtr__Q44nw4r3snd6detail9SeqPlayerFi /* 8010AF98 00106DD8 48 00 00 20 */ b lbl_8010AFB8 .global lbl_8010AF9C lbl_8010AF9C: /* 8010AF9C 00106DDC 2C 04 00 30 */ cmpwi r4, 0x30 /* 8010AFA0 00106DE0 40 80 00 14 */ bge lbl_8010AFB4 /* 8010AFA4 00106DE4 7C C3 33 78 */ mr r3, r6 /* 8010AFA8 00106DE8 38 84 FF E0 */ addi r4, r4, -0x20 /* 8010AFAC 00106DEC 48 00 3F D5 */ bl GetVariablePtr__Q44nw4r3snd6detail8SeqTrackFi /* 8010AFB0 00106DF0 48 00 00 08 */ b lbl_8010AFB8 .global lbl_8010AFB4 lbl_8010AFB4: /* 8010AFB4 00106DF4 38 60 00 00 */ li r3, 0x0 .global lbl_8010AFB8 lbl_8010AFB8: /* 8010AFB8 00106DF8 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010AFBC 00106DFC 41 82 00 6C */ beq lbl_8010B028 /* 8010AFC0 00106E00 A8 63 00 00 */ lha r3, 0x0(r3) /* 8010AFC4 00106E04 48 00 00 64 */ b lbl_8010B028 .global lbl_8010AFC8 lbl_8010AFC8: /* 8010AFC8 00106E08 80 A4 00 00 */ lwz r5, 0x0(r4) /* 8010AFCC 00106E0C 38 E5 00 01 */ addi r7, r5, 0x1 /* 8010AFD0 00106E10 90 E4 00 00 */ stw r7, 0x0(r4) /* 8010AFD4 00106E14 38 67 00 01 */ addi r3, r7, 0x1 /* 8010AFD8 00106E18 88 C5 00 00 */ lbz r6, 0x0(r5) /* 8010AFDC 00106E1C 38 A3 00 01 */ addi r5, r3, 0x1 /* 8010AFE0 00106E20 38 05 00 01 */ addi r0, r5, 0x1 /* 8010AFE4 00106E24 90 64 00 00 */ stw r3, 0x0(r4) /* 8010AFE8 00106E28 88 E7 00 00 */ lbz r7, 0x0(r7) /* 8010AFEC 00106E2C 50 C7 44 2E */ rlwimi r7, r6, 8, 16, 23 /* 8010AFF0 00106E30 90 A4 00 00 */ stw r5, 0x0(r4) /* 8010AFF4 00106E34 7C FE 07 34 */ extsh r30, r7 /* 8010AFF8 00106E38 88 63 00 00 */ lbz r3, 0x0(r3) /* 8010AFFC 00106E3C 90 04 00 00 */ stw r0, 0x0(r4) /* 8010B000 00106E40 8B E5 00 00 */ lbz r31, 0x0(r5) /* 8010B004 00106E44 50 7F 44 2E */ rlwimi r31, r3, 8, 16, 23 /* 8010B008 00106E48 48 01 20 F9 */ bl CalcRandom__Q44nw4r3snd6detail4UtilFv /* 8010B00C 00106E4C 7F E0 07 34 */ extsh r0, r31 /* 8010B010 00106E50 54 64 04 3E */ clrlwi r4, r3, 16 /* 8010B014 00106E54 7C 7E 00 50 */ subf r3, r30, r0 /* 8010B018 00106E58 38 03 00 01 */ addi r0, r3, 0x1 /* 8010B01C 00106E5C 7C 84 01 D6 */ mullw r4, r4, r0 /* 8010B020 00106E60 7C 84 86 70 */ srawi r4, r4, 16 /* 8010B024 00106E64 7C 64 F2 14 */ add r3, r4, r30 .global lbl_8010B028 lbl_8010B028: /* 8010B028 00106E68 80 01 00 14 */ lwz r0, 0x14(r1) /* 8010B02C 00106E6C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8010B030 00106E70 83 C1 00 08 */ lwz r30, 0x8(r1) /* 8010B034 00106E74 7C 08 03 A6 */ mtlr r0 /* 8010B038 00106E78 38 21 00 10 */ addi r1, r1, 0x10 /* 8010B03C 00106E7C 4E 80 00 20 */ blr .global ParseAllocTrack__Q44nw4r3snd6detail9MmlParserFPCvUlPUl ParseAllocTrack__Q44nw4r3snd6detail9MmlParserFPCvUlPUl: /* 8010B040 00106E80 7C 04 18 AE */ lbzx r0, r4, r3 /* 8010B044 00106E84 7C C4 1A 14 */ add r6, r4, r3 /* 8010B048 00106E88 28 00 00 FE */ cmplwi r0, 0xfe /* 8010B04C 00106E8C 41 82 00 14 */ beq lbl_8010B060 /* 8010B050 00106E90 38 00 00 01 */ li r0, 0x1 /* 8010B054 00106E94 90 05 00 00 */ stw r0, 0x0(r5) /* 8010B058 00106E98 7C 83 23 78 */ mr r3, r4 /* 8010B05C 00106E9C 4E 80 00 20 */ blr .global lbl_8010B060 lbl_8010B060: /* 8010B060 00106EA0 88 E6 00 01 */ lbz r7, 0x1(r6) /* 8010B064 00106EA4 38 64 00 03 */ addi r3, r4, 0x3 /* 8010B068 00106EA8 88 06 00 02 */ lbz r0, 0x2(r6) /* 8010B06C 00106EAC 54 E7 40 2E */ slwi r7, r7, 8 /* 8010B070 00106EB0 7C E7 03 78 */ or r7, r7, r0 /* 8010B074 00106EB4 90 E5 00 00 */ stw r7, 0x0(r5) /* 8010B078 00106EB8 4E 80 00 20 */ blr /* 8010B07C 00106EBC 00 00 00 00 */ .4byte 0x00000000 .include "macros.inc" .section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 .global "@10410" "@10410": .4byte 0x23253038 .4byte 0x785B2564 .4byte 0x5D3A2070 .4byte 0x72696E74 .4byte 0x76617220 .4byte 0x25735641 .4byte 0x525F2564 .4byte 0x28256429 .4byte 0x203D2025 .4byte 0x640A0000 .global "@10414_80442138" "@10414_80442138": .4byte lbl_8010A5B8 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AA28 .4byte lbl_8010AA68 .4byte lbl_8010AA78 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010A5B0 .4byte lbl_8010A83C .4byte lbl_8010A8B0 .4byte lbl_8010A634 .4byte lbl_8010A930 .4byte lbl_8010A938 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010A6AC .4byte lbl_8010A5E0 .4byte lbl_8010A63C .4byte lbl_8010A644 .4byte lbl_8010A64C .4byte lbl_8010A6A4 .4byte lbl_8010A76C .4byte lbl_8010A774 .4byte lbl_8010A888 .4byte lbl_8010A8DC .4byte lbl_8010A790 .4byte lbl_8010A7B4 .4byte lbl_8010A7D8 .4byte lbl_8010A7E0 .4byte lbl_8010A8F4 .4byte lbl_8010A788 .4byte lbl_8010A81C .4byte lbl_8010A824 .4byte lbl_8010A82C .4byte lbl_8010A834 .4byte lbl_8010AB08 .4byte lbl_8010A62C .4byte lbl_8010A97C .4byte lbl_8010A714 .4byte lbl_8010A908 .4byte lbl_8010A95C .4byte lbl_8010A964 .4byte lbl_8010A974 .4byte lbl_8010A708 .4byte lbl_8010A5D0 .4byte lbl_8010A96C .4byte lbl_8010A864 .4byte lbl_8010A7E8 .4byte lbl_8010A590 .4byte lbl_8010AE94 .4byte lbl_8010A7F8 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010AE94 .4byte lbl_8010A848 .4byte lbl_8010AB40 .4byte lbl_8010AAB8 .4byte 0 .global __vt__Q44nw4r3snd6detail9MmlParser __vt__Q44nw4r3snd6detail9MmlParser: .4byte 0 .4byte 0 .4byte CommandProc__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackUlll .4byte NoteOnCommandProc__Q44nw4r3snd6detail9MmlParserCFPQ44nw4r3snd6detail11MmlSeqTrackiilb .include "macros.inc" .section .sdata, "wa" # 0x80556420 - 0x8055C6E0 ; 0x000062C0 .global "@10407" "@10407": .4byte 0x54000000 .global "@10408" "@10408": .4byte 0x47000000 .global "@10409" "@10409": .4byte 0 .4byte 0 .include "macros.inc" .section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 .global mPrintVarEnabledFlag__Q44nw4r3snd6detail9MmlParser mPrintVarEnabledFlag__Q44nw4r3snd6detail9MmlParser: .skip 0x8 .include "macros.inc" .section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 .global "@10403" "@10403": .4byte 0x3C000000 .global "@10404" "@10404": .4byte 0x3EC80000 .global "@10405" "@10405": .4byte 0x3C800000 .global "@10406" "@10406": .4byte 0x42FE0000 .global "@10415" "@10415": .4byte 0x43300000 .4byte 0 .global "@10416" "@10416": .4byte 0x43300000 .4byte 0x80000000