pikmin2/asm/JSystem/JAI/JAISequenceMgr.s
EpochFlame 75c3292df0 reduce label emissions
linkmap goes faster now
2022-11-03 17:02:42 -04:00

3377 lines
174 KiB
ArmAsm

.include "macros.inc"
.section .sbss # 0x80514D80 - 0x80516360
.balign 8
.global seqTrackInfo__Q27JAInter11SequenceMgr
seqTrackInfo__Q27JAInter11SequenceMgr:
.skip 0x4
.global FixSeqBufPointer__Q27JAInter11SequenceMgr
FixSeqBufPointer__Q27JAInter11SequenceMgr:
.skip 0x4
.global seqControl__Q27JAInter11SequenceMgr
seqControl__Q27JAInter11SequenceMgr:
.skip 0x8
.global arcPointer__Q27JAInter11SequenceMgr
arcPointer__Q27JAInter11SequenceMgr:
.skip 0x4
.global customHeapCallback__Q27JAInter11SequenceMgr
customHeapCallback__Q27JAInter11SequenceMgr:
.skip 0x4
.section .sdata2, "a" # 0x80516360 - 0x80520E40
.balign 8
.global lbl_80516FA0
lbl_80516FA0:
.float 1.0
.global lbl_80516FA4
lbl_80516FA4:
.float 0.5
.global lbl_80516FA8
lbl_80516FA8:
.4byte 0x00000000
.global lbl_80516FAC
lbl_80516FAC:
.4byte 0x42800000
.global lbl_80516FB0
lbl_80516FB0:
.4byte 0x3F8CCCCD
.4byte 0x00000000
.global lbl_80516FB8
lbl_80516FB8:
.4byte 0x3FE00000
.4byte 0x00000000
.global lbl_80516FC0
lbl_80516FC0:
.4byte 0x40080000
.4byte 0x00000000
.global lbl_80516FC8
lbl_80516FC8:
.4byte 0x00000000
.4byte 0x00000000
.global lbl_80516FD0
lbl_80516FD0:
.4byte 0x42FE0000
.4byte 0x00000000
.global lbl_80516FD8
lbl_80516FD8:
.4byte 0x43300000
.4byte 0x00000000
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global init__Q27JAInter11SequenceMgrFv
init__Q27JAInter11SequenceMgrFv:
/* 800B0944 000AD884 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 800B0948 000AD888 7C 08 02 A6 */ mflr r0
/* 800B094C 000AD88C 90 01 00 84 */ stw r0, 0x84(r1)
/* 800B0950 000AD890 DB E1 00 70 */ stfd f31, 0x70(r1)
/* 800B0954 000AD894 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0
/* 800B0958 000AD898 DB C1 00 60 */ stfd f30, 0x60(r1)
/* 800B095C 000AD89C F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0
/* 800B0960 000AD8A0 DB A1 00 50 */ stfd f29, 0x50(r1)
/* 800B0964 000AD8A4 F3 A1 00 58 */ psq_st f29, 88(r1), 0, qr0
/* 800B0968 000AD8A8 DB 81 00 40 */ stfd f28, 0x40(r1)
/* 800B096C 000AD8AC F3 81 00 48 */ psq_st f28, 72(r1), 0, qr0
/* 800B0970 000AD8B0 BE 81 00 10 */ stmw r20, 0x10(r1)
/* 800B0974 000AD8B4 38 6D 8C 10 */ addi r3, r13, seqControl__Q27JAInter11SequenceMgr@sda21
/* 800B0978 000AD8B8 48 00 4D 85 */ bl init__Q27JAInter9LinkSoundFv
/* 800B097C 000AD8BC 82 AD 8B 6C */ lwz r21, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0980 000AD8C0 4B FF D1 4D */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B0984 000AD8C4 54 63 10 3A */ slwi r3, r3, 2
/* 800B0988 000AD8C8 7E A4 AB 78 */ mr r4, r21
/* 800B098C 000AD8CC 38 A0 00 20 */ li r5, 0x20
/* 800B0990 000AD8D0 4B F7 36 B9 */ bl __nwa__FUlP7JKRHeapi
/* 800B0994 000AD8D4 90 6D 8C 0C */ stw r3, FixSeqBufPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B0998 000AD8D8 3A A0 00 00 */ li r21, 0
/* 800B099C 000AD8DC 48 00 00 2C */ b .L_800B09C8
.L_800B09A0:
/* 800B09A0 000AD8E0 80 6D 8B 68 */ lwz r3, msBasic__8JAIBasic@sda21(r13)
/* 800B09A4 000AD8E4 81 83 00 00 */ lwz r12, 0(r3)
/* 800B09A8 000AD8E8 81 8C 00 08 */ lwz r12, 8(r12)
/* 800B09AC 000AD8EC 7D 89 03 A6 */ mtctr r12
/* 800B09B0 000AD8F0 4E 80 04 21 */ bctrl
/* 800B09B4 000AD8F4 7C 60 1B 78 */ mr r0, r3
/* 800B09B8 000AD8F8 80 6D 8C 10 */ lwz r3, seqControl__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B09BC 000AD8FC 7C 04 03 78 */ mr r4, r0
/* 800B09C0 000AD900 4B F7 5F 25 */ bl append__10JSUPtrListFP10JSUPtrLink
/* 800B09C4 000AD904 3A B5 00 01 */ addi r21, r21, 1
.L_800B09C8:
/* 800B09C8 000AD908 4B FF D0 ED */ bl getParamSeqControlBufferMax__18JAIGlobalParameterFv
/* 800B09CC 000AD90C 7C 15 18 40 */ cmplw r21, r3
/* 800B09D0 000AD910 41 80 FF D0 */ blt .L_800B09A0
/* 800B09D4 000AD914 80 CD 8C 10 */ lwz r6, seqControl__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B09D8 000AD918 3C 60 80 0B */ lis r3, __defctor__Q27JAInter11MoveParaSetFv@ha
/* 800B09DC 000AD91C 3A E3 E5 64 */ addi r23, r3, __defctor__Q27JAInter11MoveParaSetFv@l
/* 800B09E0 000AD920 3C 80 80 0B */ lis r4, __ct__Q27JAInter19MoveParaSetInitZeroFv@ha
/* 800B09E4 000AD924 3C A0 80 0B */ lis r5, __ct__Q27JAInter19MoveParaSetInitHalfFv@ha
/* 800B09E8 000AD928 3C 60 80 0B */ lis r3, __ct__Q27JAInter7MuteBitFv@ha
/* 800B09EC 000AD92C 83 C6 00 00 */ lwz r30, 0(r6)
/* 800B09F0 000AD930 3B A4 E5 34 */ addi r29, r4, __ct__Q27JAInter19MoveParaSetInitZeroFv@l
/* 800B09F4 000AD934 7E F8 BB 78 */ mr r24, r23
/* 800B09F8 000AD938 7E F9 BB 78 */ mr r25, r23
/* 800B09FC 000AD93C 7E FA BB 78 */ mr r26, r23
/* 800B0A00 000AD940 7E FC BB 78 */ mr r28, r23
/* 800B0A04 000AD944 3B 65 E5 4C */ addi r27, r5, __ct__Q27JAInter19MoveParaSetInitHalfFv@l
/* 800B0A08 000AD948 3A C3 0D CC */ addi r22, r3, __ct__Q27JAInter7MuteBitFv@l
/* 800B0A0C 000AD94C 48 00 02 98 */ b .L_800B0CA4
.L_800B0A10:
/* 800B0A10 000AD950 83 FE 00 00 */ lwz r31, 0(r30)
/* 800B0A14 000AD954 4B FF D1 79 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B0A18 000AD958 54 66 25 36 */ rlwinm r6, r3, 4, 0x14, 0x1b
/* 800B0A1C 000AD95C 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0A20 000AD960 54 75 06 3E */ clrlwi r21, r3, 0x18
/* 800B0A24 000AD964 38 A0 00 20 */ li r5, 0x20
/* 800B0A28 000AD968 38 66 00 10 */ addi r3, r6, 0x10
/* 800B0A2C 000AD96C 4B F7 36 1D */ bl __nwa__FUlP7JKRHeapi
/* 800B0A30 000AD970 7E E4 BB 78 */ mr r4, r23
/* 800B0A34 000AD974 7E A7 AB 78 */ mr r7, r21
/* 800B0A38 000AD978 38 A0 00 00 */ li r5, 0
/* 800B0A3C 000AD97C 38 C0 00 10 */ li r6, 0x10
/* 800B0A40 000AD980 48 01 0F B1 */ bl __construct_new_array
/* 800B0A44 000AD984 90 7F 02 98 */ stw r3, 0x298(r31)
/* 800B0A48 000AD988 4B FF D1 45 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B0A4C 000AD98C 54 66 25 36 */ rlwinm r6, r3, 4, 0x14, 0x1b
/* 800B0A50 000AD990 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0A54 000AD994 54 75 06 3E */ clrlwi r21, r3, 0x18
/* 800B0A58 000AD998 38 A0 00 20 */ li r5, 0x20
/* 800B0A5C 000AD99C 38 66 00 10 */ addi r3, r6, 0x10
/* 800B0A60 000AD9A0 4B F7 35 E9 */ bl __nwa__FUlP7JKRHeapi
/* 800B0A64 000AD9A4 7E E4 BB 78 */ mr r4, r23
/* 800B0A68 000AD9A8 7E A7 AB 78 */ mr r7, r21
/* 800B0A6C 000AD9AC 38 A0 00 00 */ li r5, 0
/* 800B0A70 000AD9B0 38 C0 00 10 */ li r6, 0x10
/* 800B0A74 000AD9B4 48 01 0F 7D */ bl __construct_new_array
/* 800B0A78 000AD9B8 90 7F 02 9C */ stw r3, 0x29c(r31)
/* 800B0A7C 000AD9BC 4B FF D1 11 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B0A80 000AD9C0 54 66 25 36 */ rlwinm r6, r3, 4, 0x14, 0x1b
/* 800B0A84 000AD9C4 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0A88 000AD9C8 54 75 06 3E */ clrlwi r21, r3, 0x18
/* 800B0A8C 000AD9CC 38 A0 00 20 */ li r5, 0x20
/* 800B0A90 000AD9D0 38 66 00 10 */ addi r3, r6, 0x10
/* 800B0A94 000AD9D4 4B F7 35 B5 */ bl __nwa__FUlP7JKRHeapi
/* 800B0A98 000AD9D8 7F 04 C3 78 */ mr r4, r24
/* 800B0A9C 000AD9DC 7E A7 AB 78 */ mr r7, r21
/* 800B0AA0 000AD9E0 38 A0 00 00 */ li r5, 0
/* 800B0AA4 000AD9E4 38 C0 00 10 */ li r6, 0x10
/* 800B0AA8 000AD9E8 48 01 0F 49 */ bl __construct_new_array
/* 800B0AAC 000AD9EC 90 7F 02 A0 */ stw r3, 0x2a0(r31)
/* 800B0AB0 000AD9F0 4B FF D0 DD */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B0AB4 000AD9F4 54 66 25 36 */ rlwinm r6, r3, 4, 0x14, 0x1b
/* 800B0AB8 000AD9F8 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0ABC 000AD9FC 54 75 06 3E */ clrlwi r21, r3, 0x18
/* 800B0AC0 000ADA00 38 A0 00 20 */ li r5, 0x20
/* 800B0AC4 000ADA04 38 66 00 10 */ addi r3, r6, 0x10
/* 800B0AC8 000ADA08 4B F7 35 81 */ bl __nwa__FUlP7JKRHeapi
/* 800B0ACC 000ADA0C 7F 24 CB 78 */ mr r4, r25
/* 800B0AD0 000ADA10 7E A7 AB 78 */ mr r7, r21
/* 800B0AD4 000ADA14 38 A0 00 00 */ li r5, 0
/* 800B0AD8 000ADA18 38 C0 00 10 */ li r6, 0x10
/* 800B0ADC 000ADA1C 48 01 0F 15 */ bl __construct_new_array
/* 800B0AE0 000ADA20 90 7F 02 A4 */ stw r3, 0x2a4(r31)
/* 800B0AE4 000ADA24 4B FF CF C9 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0AE8 000ADA28 7C 75 1B 78 */ mr r21, r3
/* 800B0AEC 000ADA2C 54 63 20 36 */ slwi r3, r3, 4
/* 800B0AF0 000ADA30 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0AF4 000ADA34 38 A0 00 20 */ li r5, 0x20
/* 800B0AF8 000ADA38 38 63 00 10 */ addi r3, r3, 0x10
/* 800B0AFC 000ADA3C 4B F7 35 4D */ bl __nwa__FUlP7JKRHeapi
/* 800B0B00 000ADA40 7F 44 D3 78 */ mr r4, r26
/* 800B0B04 000ADA44 7E A7 AB 78 */ mr r7, r21
/* 800B0B08 000ADA48 38 A0 00 00 */ li r5, 0
/* 800B0B0C 000ADA4C 38 C0 00 10 */ li r6, 0x10
/* 800B0B10 000ADA50 48 01 0E E1 */ bl __construct_new_array
/* 800B0B14 000ADA54 90 7F 02 A8 */ stw r3, 0x2a8(r31)
/* 800B0B18 000ADA58 4B FF CF 95 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0B1C 000ADA5C 7C 75 1B 78 */ mr r21, r3
/* 800B0B20 000ADA60 54 63 20 36 */ slwi r3, r3, 4
/* 800B0B24 000ADA64 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0B28 000ADA68 38 A0 00 20 */ li r5, 0x20
/* 800B0B2C 000ADA6C 38 63 00 10 */ addi r3, r3, 0x10
/* 800B0B30 000ADA70 4B F7 35 19 */ bl __nwa__FUlP7JKRHeapi
/* 800B0B34 000ADA74 7F 64 DB 78 */ mr r4, r27
/* 800B0B38 000ADA78 7E A7 AB 78 */ mr r7, r21
/* 800B0B3C 000ADA7C 38 A0 00 00 */ li r5, 0
/* 800B0B40 000ADA80 38 C0 00 10 */ li r6, 0x10
/* 800B0B44 000ADA84 48 01 0E AD */ bl __construct_new_array
/* 800B0B48 000ADA88 90 7F 02 AC */ stw r3, 0x2ac(r31)
/* 800B0B4C 000ADA8C 4B FF CF 61 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0B50 000ADA90 7C 75 1B 78 */ mr r21, r3
/* 800B0B54 000ADA94 54 63 20 36 */ slwi r3, r3, 4
/* 800B0B58 000ADA98 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0B5C 000ADA9C 38 A0 00 20 */ li r5, 0x20
/* 800B0B60 000ADAA0 38 63 00 10 */ addi r3, r3, 0x10
/* 800B0B64 000ADAA4 4B F7 34 E5 */ bl __nwa__FUlP7JKRHeapi
/* 800B0B68 000ADAA8 7F 84 E3 78 */ mr r4, r28
/* 800B0B6C 000ADAAC 7E A7 AB 78 */ mr r7, r21
/* 800B0B70 000ADAB0 38 A0 00 00 */ li r5, 0
/* 800B0B74 000ADAB4 38 C0 00 10 */ li r6, 0x10
/* 800B0B78 000ADAB8 48 01 0E 79 */ bl __construct_new_array
/* 800B0B7C 000ADABC 90 7F 02 B0 */ stw r3, 0x2b0(r31)
/* 800B0B80 000ADAC0 4B FF CF 2D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0B84 000ADAC4 7C 75 1B 78 */ mr r21, r3
/* 800B0B88 000ADAC8 54 63 20 36 */ slwi r3, r3, 4
/* 800B0B8C 000ADACC 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0B90 000ADAD0 38 A0 00 20 */ li r5, 0x20
/* 800B0B94 000ADAD4 38 63 00 10 */ addi r3, r3, 0x10
/* 800B0B98 000ADAD8 4B F7 34 B1 */ bl __nwa__FUlP7JKRHeapi
/* 800B0B9C 000ADADC 7F A4 EB 78 */ mr r4, r29
/* 800B0BA0 000ADAE0 7E A7 AB 78 */ mr r7, r21
/* 800B0BA4 000ADAE4 38 A0 00 00 */ li r5, 0
/* 800B0BA8 000ADAE8 38 C0 00 10 */ li r6, 0x10
/* 800B0BAC 000ADAEC 48 01 0E 45 */ bl __construct_new_array
/* 800B0BB0 000ADAF0 90 7F 02 B4 */ stw r3, 0x2b4(r31)
/* 800B0BB4 000ADAF4 4B FF CE F9 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0BB8 000ADAF8 7C 75 1B 78 */ mr r21, r3
/* 800B0BBC 000ADAFC 54 63 20 36 */ slwi r3, r3, 4
/* 800B0BC0 000ADB00 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0BC4 000ADB04 38 A0 00 20 */ li r5, 0x20
/* 800B0BC8 000ADB08 38 63 00 10 */ addi r3, r3, 0x10
/* 800B0BCC 000ADB0C 4B F7 34 7D */ bl __nwa__FUlP7JKRHeapi
/* 800B0BD0 000ADB10 7F A4 EB 78 */ mr r4, r29
/* 800B0BD4 000ADB14 7E A7 AB 78 */ mr r7, r21
/* 800B0BD8 000ADB18 38 A0 00 00 */ li r5, 0
/* 800B0BDC 000ADB1C 38 C0 00 10 */ li r6, 0x10
/* 800B0BE0 000ADB20 48 01 0E 11 */ bl __construct_new_array
/* 800B0BE4 000ADB24 90 7F 02 B8 */ stw r3, 0x2b8(r31)
/* 800B0BE8 000ADB28 82 AD 8B 6C */ lwz r21, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0BEC 000ADB2C 4B FF CE C1 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0BF0 000ADB30 54 63 10 3A */ slwi r3, r3, 2
/* 800B0BF4 000ADB34 7E A4 AB 78 */ mr r4, r21
/* 800B0BF8 000ADB38 38 A0 00 20 */ li r5, 0x20
/* 800B0BFC 000ADB3C 4B F7 34 4D */ bl __nwa__FUlP7JKRHeapi
/* 800B0C00 000ADB40 90 7F 02 BC */ stw r3, 0x2bc(r31)
/* 800B0C04 000ADB44 3A 80 00 00 */ li r20, 0
/* 800B0C08 000ADB48 3A A0 00 00 */ li r21, 0
/* 800B0C0C 000ADB4C 48 00 00 24 */ b .L_800B0C30
.L_800B0C10:
/* 800B0C10 000ADB50 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0C14 000ADB54 38 60 00 20 */ li r3, 0x20
/* 800B0C18 000ADB58 38 A0 00 20 */ li r5, 0x20
/* 800B0C1C 000ADB5C 4B F7 34 2D */ bl __nwa__FUlP7JKRHeapi
/* 800B0C20 000ADB60 80 9F 02 BC */ lwz r4, 0x2bc(r31)
/* 800B0C24 000ADB64 3A 94 00 01 */ addi r20, r20, 1
/* 800B0C28 000ADB68 7C 64 A9 2E */ stwx r3, r4, r21
/* 800B0C2C 000ADB6C 3A B5 00 04 */ addi r21, r21, 4
.L_800B0C30:
/* 800B0C30 000ADB70 4B FF CE 7D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0C34 000ADB74 7C 14 18 40 */ cmplw r20, r3
/* 800B0C38 000ADB78 41 80 FF D8 */ blt .L_800B0C10
/* 800B0C3C 000ADB7C 82 AD 8B 6C */ lwz r21, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0C40 000ADB80 4B FF CE 6D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0C44 000ADB84 54 63 10 3A */ slwi r3, r3, 2
/* 800B0C48 000ADB88 7E A4 AB 78 */ mr r4, r21
/* 800B0C4C 000ADB8C 38 A0 00 20 */ li r5, 0x20
/* 800B0C50 000ADB90 4B F7 33 F9 */ bl __nwa__FUlP7JKRHeapi
/* 800B0C54 000ADB94 90 7F 02 FC */ stw r3, 0x2fc(r31)
/* 800B0C58 000ADB98 82 AD 8B 6C */ lwz r21, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0C5C 000ADB9C 4B FF CE 51 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0C60 000ADBA0 7E A4 AB 78 */ mr r4, r21
/* 800B0C64 000ADBA4 38 A0 00 20 */ li r5, 0x20
/* 800B0C68 000ADBA8 4B F7 33 E1 */ bl __nwa__FUlP7JKRHeapi
/* 800B0C6C 000ADBAC 90 7F 03 00 */ stw r3, 0x300(r31)
/* 800B0C70 000ADBB0 4B FF CE 3D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0C74 000ADBB4 7C 75 1B 78 */ mr r21, r3
/* 800B0C78 000ADBB8 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0C7C 000ADBBC 38 A0 00 20 */ li r5, 0x20
/* 800B0C80 000ADBC0 38 75 00 10 */ addi r3, r21, 0x10
/* 800B0C84 000ADBC4 4B F7 33 C5 */ bl __nwa__FUlP7JKRHeapi
/* 800B0C88 000ADBC8 7E C4 B3 78 */ mr r4, r22
/* 800B0C8C 000ADBCC 7E A7 AB 78 */ mr r7, r21
/* 800B0C90 000ADBD0 38 A0 00 00 */ li r5, 0
/* 800B0C94 000ADBD4 38 C0 00 01 */ li r6, 1
/* 800B0C98 000ADBD8 48 01 0D 59 */ bl __construct_new_array
/* 800B0C9C 000ADBDC 90 7F 03 04 */ stw r3, 0x304(r31)
/* 800B0CA0 000ADBE0 83 DE 00 0C */ lwz r30, 0xc(r30)
.L_800B0CA4:
/* 800B0CA4 000ADBE4 28 1E 00 00 */ cmplwi r30, 0
/* 800B0CA8 000ADBE8 40 82 FD 68 */ bne .L_800B0A10
/* 800B0CAC 000ADBEC 4B FF CE 21 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B0CB0 000ADBF0 7C 75 1B 78 */ mr r21, r3
/* 800B0CB4 000ADBF4 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0CB8 000ADBF8 1C 75 00 50 */ mulli r3, r21, 0x50
/* 800B0CBC 000ADBFC 38 A0 00 20 */ li r5, 0x20
/* 800B0CC0 000ADC00 38 63 00 10 */ addi r3, r3, 0x10
/* 800B0CC4 000ADC04 4B F7 33 85 */ bl __nwa__FUlP7JKRHeapi
/* 800B0CC8 000ADC08 3C 80 80 0B */ lis r4, __ct__Q27JAInter13SeqUpdateDataFv@ha
/* 800B0CCC 000ADC0C 7E A7 AB 78 */ mr r7, r21
/* 800B0CD0 000ADC10 38 84 0D EC */ addi r4, r4, __ct__Q27JAInter13SeqUpdateDataFv@l
/* 800B0CD4 000ADC14 38 A0 00 00 */ li r5, 0
/* 800B0CD8 000ADC18 38 C0 00 50 */ li r6, 0x50
/* 800B0CDC 000ADC1C 48 01 0D 15 */ bl __construct_new_array
/* 800B0CE0 000ADC20 3B 20 00 00 */ li r25, 0
/* 800B0CE4 000ADC24 90 6D 8C 08 */ stw r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B0CE8 000ADC28 C3 A2 8C 40 */ lfs f29, lbl_80516FA0@sda21(r2)
/* 800B0CEC 000ADC2C 7F 3A CB 78 */ mr r26, r25
/* 800B0CF0 000ADC30 C3 C2 8C 4C */ lfs f30, lbl_80516FAC@sda21(r2)
/* 800B0CF4 000ADC34 3A 80 00 00 */ li r20, 0
/* 800B0CF8 000ADC38 C3 E2 8C 48 */ lfs f31, lbl_80516FA8@sda21(r2)
/* 800B0CFC 000ADC3C C3 82 8C 44 */ lfs f28, lbl_80516FA4@sda21(r2)
/* 800B0D00 000ADC40 48 00 00 8C */ b .L_800B0D8C
.L_800B0D04:
/* 800B0D04 000ADC44 80 6D 8C 0C */ lwz r3, FixSeqBufPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B0D08 000ADC48 3A C0 00 00 */ li r22, 0
/* 800B0D0C 000ADC4C 7E D5 B3 78 */ mr r21, r22
/* 800B0D10 000ADC50 7E C3 C9 2E */ stwx r22, r3, r25
/* 800B0D14 000ADC54 7E D8 B3 78 */ mr r24, r22
/* 800B0D18 000ADC58 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B0D1C 000ADC5C 7E E0 D2 14 */ add r23, r0, r26
/* 800B0D20 000ADC60 D3 B7 00 0C */ stfs f29, 0xc(r23)
/* 800B0D24 000ADC64 D3 97 00 18 */ stfs f28, 0x18(r23)
/* 800B0D28 000ADC68 D3 B7 00 10 */ stfs f29, 0x10(r23)
/* 800B0D2C 000ADC6C D3 F7 00 14 */ stfs f31, 0x14(r23)
/* 800B0D30 000ADC70 D3 F7 00 1C */ stfs f31, 0x1c(r23)
/* 800B0D34 000ADC74 D3 B7 00 20 */ stfs f29, 0x20(r23)
/* 800B0D38 000ADC78 48 00 00 3C */ b .L_800B0D74
.L_800B0D3C:
/* 800B0D3C 000ADC7C 80 77 00 24 */ lwz r3, 0x24(r23)
/* 800B0D40 000ADC80 3A B5 00 01 */ addi r21, r21, 1
/* 800B0D44 000ADC84 7F A3 C5 2E */ stfsx f29, r3, r24
/* 800B0D48 000ADC88 80 77 00 30 */ lwz r3, 0x30(r23)
/* 800B0D4C 000ADC8C 7F C3 C5 2E */ stfsx f30, r3, r24
/* 800B0D50 000ADC90 80 77 00 28 */ lwz r3, 0x28(r23)
/* 800B0D54 000ADC94 7F A3 C5 2E */ stfsx f29, r3, r24
/* 800B0D58 000ADC98 80 77 00 2C */ lwz r3, 0x2c(r23)
/* 800B0D5C 000ADC9C 7F E3 C5 2E */ stfsx f31, r3, r24
/* 800B0D60 000ADCA0 80 77 00 34 */ lwz r3, 0x34(r23)
/* 800B0D64 000ADCA4 7F E3 C5 2E */ stfsx f31, r3, r24
/* 800B0D68 000ADCA8 80 77 00 44 */ lwz r3, 0x44(r23)
/* 800B0D6C 000ADCAC 7E C3 C1 2E */ stwx r22, r3, r24
/* 800B0D70 000ADCB0 3B 18 00 04 */ addi r24, r24, 4
.L_800B0D74:
/* 800B0D74 000ADCB4 4B FF CD 39 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0D78 000ADCB8 7C 15 18 40 */ cmplw r21, r3
/* 800B0D7C 000ADCBC 41 80 FF C0 */ blt .L_800B0D3C
/* 800B0D80 000ADCC0 3B 39 00 04 */ addi r25, r25, 4
/* 800B0D84 000ADCC4 3B 5A 00 50 */ addi r26, r26, 0x50
/* 800B0D88 000ADCC8 3A 94 00 01 */ addi r20, r20, 1
.L_800B0D8C:
/* 800B0D8C 000ADCCC 4B FF CD 41 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B0D90 000ADCD0 7C 14 18 40 */ cmplw r20, r3
/* 800B0D94 000ADCD4 41 80 FF 70 */ blt .L_800B0D04
/* 800B0D98 000ADCD8 E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0
/* 800B0D9C 000ADCDC CB E1 00 70 */ lfd f31, 0x70(r1)
/* 800B0DA0 000ADCE0 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0
/* 800B0DA4 000ADCE4 CB C1 00 60 */ lfd f30, 0x60(r1)
/* 800B0DA8 000ADCE8 E3 A1 00 58 */ psq_l f29, 88(r1), 0, qr0
/* 800B0DAC 000ADCEC CB A1 00 50 */ lfd f29, 0x50(r1)
/* 800B0DB0 000ADCF0 E3 81 00 48 */ psq_l f28, 72(r1), 0, qr0
/* 800B0DB4 000ADCF4 CB 81 00 40 */ lfd f28, 0x40(r1)
/* 800B0DB8 000ADCF8 BA 81 00 10 */ lmw r20, 0x10(r1)
/* 800B0DBC 000ADCFC 80 01 00 84 */ lwz r0, 0x84(r1)
/* 800B0DC0 000ADD00 7C 08 03 A6 */ mtlr r0
/* 800B0DC4 000ADD04 38 21 00 80 */ addi r1, r1, 0x80
/* 800B0DC8 000ADD08 4E 80 00 20 */ blr
.global __ct__Q27JAInter7MuteBitFv
__ct__Q27JAInter7MuteBitFv:
/* 800B0DCC 000ADD0C 88 03 00 00 */ lbz r0, 0(r3)
/* 800B0DD0 000ADD10 38 80 00 00 */ li r4, 0
/* 800B0DD4 000ADD14 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18
/* 800B0DD8 000ADD18 98 03 00 00 */ stb r0, 0(r3)
/* 800B0DDC 000ADD1C 88 03 00 00 */ lbz r0, 0(r3)
/* 800B0DE0 000ADD20 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a
/* 800B0DE4 000ADD24 98 03 00 00 */ stb r0, 0(r3)
/* 800B0DE8 000ADD28 4E 80 00 20 */ blr
.global __ct__Q27JAInter13SeqUpdateDataFv
__ct__Q27JAInter13SeqUpdateDataFv:
/* 800B0DEC 000ADD2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B0DF0 000ADD30 7C 08 02 A6 */ mflr r0
/* 800B0DF4 000ADD34 38 A0 00 20 */ li r5, 0x20
/* 800B0DF8 000ADD38 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B0DFC 000ADD3C 38 00 00 00 */ li r0, 0
/* 800B0E00 000ADD40 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B0E04 000ADD44 7C 7F 1B 78 */ mr r31, r3
/* 800B0E08 000ADD48 93 C1 00 08 */ stw r30, 8(r1)
/* 800B0E0C 000ADD4C 98 03 00 00 */ stb r0, 0(r3)
/* 800B0E10 000ADD50 38 60 09 58 */ li r3, 0x958
/* 800B0E14 000ADD54 98 1F 00 01 */ stb r0, 1(r31)
/* 800B0E18 000ADD58 98 1F 00 02 */ stb r0, 2(r31)
/* 800B0E1C 000ADD5C 98 1F 00 03 */ stb r0, 3(r31)
/* 800B0E20 000ADD60 90 1F 00 08 */ stw r0, 8(r31)
/* 800B0E24 000ADD64 90 1F 00 48 */ stw r0, 0x48(r31)
/* 800B0E28 000ADD68 80 8D 8B 6C */ lwz r4, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0E2C 000ADD6C 4B F7 32 1D */ bl __nwa__FUlP7JKRHeapi
/* 800B0E30 000ADD70 3C 80 80 0B */ lis r4, __ct__Q27JAInter15PlayerParameterFv@ha
/* 800B0E34 000ADD74 3C A0 80 0B */ lis r5, __dt__Q27JAInter15PlayerParameterFv@ha
/* 800B0E38 000ADD78 38 84 0F 80 */ addi r4, r4, __ct__Q27JAInter15PlayerParameterFv@l
/* 800B0E3C 000ADD7C 38 C0 00 48 */ li r6, 0x48
/* 800B0E40 000ADD80 38 A5 0F 18 */ addi r5, r5, __dt__Q27JAInter15PlayerParameterFv@l
/* 800B0E44 000ADD84 38 E0 00 21 */ li r7, 0x21
/* 800B0E48 000ADD88 48 01 0B A9 */ bl __construct_new_array
/* 800B0E4C 000ADD8C 90 7F 00 4C */ stw r3, 0x4c(r31)
/* 800B0E50 000ADD90 83 CD 8B 6C */ lwz r30, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0E54 000ADD94 4B FF CC 59 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0E58 000ADD98 54 63 10 3A */ slwi r3, r3, 2
/* 800B0E5C 000ADD9C 7F C4 F3 78 */ mr r4, r30
/* 800B0E60 000ADDA0 38 A0 00 20 */ li r5, 0x20
/* 800B0E64 000ADDA4 4B F7 31 E5 */ bl __nwa__FUlP7JKRHeapi
/* 800B0E68 000ADDA8 90 7F 00 24 */ stw r3, 0x24(r31)
/* 800B0E6C 000ADDAC 83 CD 8B 6C */ lwz r30, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0E70 000ADDB0 4B FF CC 3D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0E74 000ADDB4 54 63 10 3A */ slwi r3, r3, 2
/* 800B0E78 000ADDB8 7F C4 F3 78 */ mr r4, r30
/* 800B0E7C 000ADDBC 38 A0 00 20 */ li r5, 0x20
/* 800B0E80 000ADDC0 4B F7 31 C9 */ bl __nwa__FUlP7JKRHeapi
/* 800B0E84 000ADDC4 90 7F 00 30 */ stw r3, 0x30(r31)
/* 800B0E88 000ADDC8 83 CD 8B 6C */ lwz r30, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0E8C 000ADDCC 4B FF CC 21 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0E90 000ADDD0 54 63 10 3A */ slwi r3, r3, 2
/* 800B0E94 000ADDD4 7F C4 F3 78 */ mr r4, r30
/* 800B0E98 000ADDD8 38 A0 00 20 */ li r5, 0x20
/* 800B0E9C 000ADDDC 4B F7 31 AD */ bl __nwa__FUlP7JKRHeapi
/* 800B0EA0 000ADDE0 90 7F 00 28 */ stw r3, 0x28(r31)
/* 800B0EA4 000ADDE4 83 CD 8B 6C */ lwz r30, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0EA8 000ADDE8 4B FF CC 05 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0EAC 000ADDEC 54 63 10 3A */ slwi r3, r3, 2
/* 800B0EB0 000ADDF0 7F C4 F3 78 */ mr r4, r30
/* 800B0EB4 000ADDF4 38 A0 00 20 */ li r5, 0x20
/* 800B0EB8 000ADDF8 4B F7 31 91 */ bl __nwa__FUlP7JKRHeapi
/* 800B0EBC 000ADDFC 90 7F 00 2C */ stw r3, 0x2c(r31)
/* 800B0EC0 000ADE00 83 CD 8B 6C */ lwz r30, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0EC4 000ADE04 4B FF CB E9 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0EC8 000ADE08 54 63 10 3A */ slwi r3, r3, 2
/* 800B0ECC 000ADE0C 7F C4 F3 78 */ mr r4, r30
/* 800B0ED0 000ADE10 38 A0 00 20 */ li r5, 0x20
/* 800B0ED4 000ADE14 4B F7 31 75 */ bl __nwa__FUlP7JKRHeapi
/* 800B0ED8 000ADE18 90 7F 00 34 */ stw r3, 0x34(r31)
/* 800B0EDC 000ADE1C 83 CD 8B 6C */ lwz r30, msCurrentHeap__8JAIBasic@sda21(r13)
/* 800B0EE0 000ADE20 4B FF CB CD */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B0EE4 000ADE24 38 03 00 01 */ addi r0, r3, 1
/* 800B0EE8 000ADE28 7F C4 F3 78 */ mr r4, r30
/* 800B0EEC 000ADE2C 54 03 10 3A */ slwi r3, r0, 2
/* 800B0EF0 000ADE30 38 A0 00 20 */ li r5, 0x20
/* 800B0EF4 000ADE34 4B F7 31 55 */ bl __nwa__FUlP7JKRHeapi
/* 800B0EF8 000ADE38 90 7F 00 44 */ stw r3, 0x44(r31)
/* 800B0EFC 000ADE3C 7F E3 FB 78 */ mr r3, r31
/* 800B0F00 000ADE40 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B0F04 000ADE44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B0F08 000ADE48 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B0F0C 000ADE4C 7C 08 03 A6 */ mtlr r0
/* 800B0F10 000ADE50 38 21 00 10 */ addi r1, r1, 0x10
/* 800B0F14 000ADE54 4E 80 00 20 */ blr
.global __dt__Q27JAInter15PlayerParameterFv
__dt__Q27JAInter15PlayerParameterFv:
/* 800B0F18 000ADE58 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B0F1C 000ADE5C 7C 08 02 A6 */ mflr r0
/* 800B0F20 000ADE60 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B0F24 000ADE64 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B0F28 000ADE68 7C 9F 23 78 */ mr r31, r4
/* 800B0F2C 000ADE6C 93 C1 00 08 */ stw r30, 8(r1)
/* 800B0F30 000ADE70 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B0F34 000ADE74 41 82 00 30 */ beq .L_800B0F64
/* 800B0F38 000ADE78 34 1E 00 30 */ addic. r0, r30, 0x30
/* 800B0F3C 000ADE7C 41 82 00 18 */ beq .L_800B0F54
/* 800B0F40 000ADE80 34 1E 00 30 */ addic. r0, r30, 0x30
/* 800B0F44 000ADE84 41 82 00 10 */ beq .L_800B0F54
/* 800B0F48 000ADE88 38 7E 00 30 */ addi r3, r30, 0x30
/* 800B0F4C 000ADE8C 38 80 00 00 */ li r4, 0
/* 800B0F50 000ADE90 4B F7 58 81 */ bl __dt__10JSUPtrLinkFv
.L_800B0F54:
/* 800B0F54 000ADE94 7F E0 07 35 */ extsh. r0, r31
/* 800B0F58 000ADE98 40 81 00 0C */ ble .L_800B0F64
/* 800B0F5C 000ADE9C 7F C3 F3 78 */ mr r3, r30
/* 800B0F60 000ADEA0 4B F7 31 55 */ bl __dl__FPv
.L_800B0F64:
/* 800B0F64 000ADEA4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B0F68 000ADEA8 7F C3 F3 78 */ mr r3, r30
/* 800B0F6C 000ADEAC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B0F70 000ADEB0 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B0F74 000ADEB4 7C 08 03 A6 */ mtlr r0
/* 800B0F78 000ADEB8 38 21 00 10 */ addi r1, r1, 0x10
/* 800B0F7C 000ADEBC 4E 80 00 20 */ blr
.global __ct__Q27JAInter15PlayerParameterFv
__ct__Q27JAInter15PlayerParameterFv:
/* 800B0F80 000ADEC0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B0F84 000ADEC4 7C 08 02 A6 */ mflr r0
/* 800B0F88 000ADEC8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B0F8C 000ADECC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B0F90 000ADED0 93 C1 00 08 */ stw r30, 8(r1)
/* 800B0F94 000ADED4 7C 7E 1B 78 */ mr r30, r3
/* 800B0F98 000ADED8 3B FE 00 30 */ addi r31, r30, 0x30
/* 800B0F9C 000ADEDC 7F E3 FB 78 */ mr r3, r31
/* 800B0FA0 000ADEE0 7F E4 FB 78 */ mr r4, r31
/* 800B0FA4 000ADEE4 4B F7 58 15 */ bl __ct__10JSUPtrLinkFPv
/* 800B0FA8 000ADEE8 38 00 00 00 */ li r0, 0
/* 800B0FAC 000ADEEC 7F C3 F3 78 */ mr r3, r30
/* 800B0FB0 000ADEF0 90 1F 00 10 */ stw r0, 0x10(r31)
/* 800B0FB4 000ADEF4 90 1F 00 14 */ stw r0, 0x14(r31)
/* 800B0FB8 000ADEF8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B0FBC 000ADEFC 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B0FC0 000ADF00 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B0FC4 000ADF04 7C 08 03 A6 */ mtlr r0
/* 800B0FC8 000ADF08 38 21 00 10 */ addi r1, r1, 0x10
/* 800B0FCC 000ADF0C 4E 80 00 20 */ blr
.global __dt__10JASPortCmdFv
__dt__10JASPortCmdFv:
/* 800B0FD0 000ADF10 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B0FD4 000ADF14 7C 08 02 A6 */ mflr r0
/* 800B0FD8 000ADF18 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B0FDC 000ADF1C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B0FE0 000ADF20 7C 9F 23 78 */ mr r31, r4
/* 800B0FE4 000ADF24 93 C1 00 08 */ stw r30, 8(r1)
/* 800B0FE8 000ADF28 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B0FEC 000ADF2C 41 82 00 20 */ beq .L_800B100C
/* 800B0FF0 000ADF30 41 82 00 0C */ beq .L_800B0FFC
/* 800B0FF4 000ADF34 38 80 00 00 */ li r4, 0
/* 800B0FF8 000ADF38 4B F7 57 D9 */ bl __dt__10JSUPtrLinkFv
.L_800B0FFC:
/* 800B0FFC 000ADF3C 7F E0 07 35 */ extsh. r0, r31
/* 800B1000 000ADF40 40 81 00 0C */ ble .L_800B100C
/* 800B1004 000ADF44 7F C3 F3 78 */ mr r3, r30
/* 800B1008 000ADF48 4B F7 30 AD */ bl __dl__FPv
.L_800B100C:
/* 800B100C 000ADF4C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B1010 000ADF50 7F C3 F3 78 */ mr r3, r30
/* 800B1014 000ADF54 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B1018 000ADF58 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B101C 000ADF5C 7C 08 03 A6 */ mtlr r0
/* 800B1020 000ADF60 38 21 00 10 */ addi r1, r1, 0x10
/* 800B1024 000ADF64 4E 80 00 20 */ blr
.global getArchiveName__Q27JAInter11SequenceMgrFPc
getArchiveName__Q27JAInter11SequenceMgrFPc:
/* 800B1028 000ADF68 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B102C 000ADF6C 7C 08 02 A6 */ mflr r0
/* 800B1030 000ADF70 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B1034 000ADF74 38 00 00 00 */ li r0, 0
/* 800B1038 000ADF78 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B103C 000ADF7C 7C 7F 1B 78 */ mr r31, r3
/* 800B1040 000ADF80 98 03 00 00 */ stb r0, 0(r3)
/* 800B1044 000ADF84 4B FF CB 01 */ bl getParamAudioResPath__18JAIGlobalParameterFv
/* 800B1048 000ADF88 28 03 00 00 */ cmplwi r3, 0
/* 800B104C 000ADF8C 41 82 00 14 */ beq .L_800B1060
/* 800B1050 000ADF90 4B FF CA F5 */ bl getParamAudioResPath__18JAIGlobalParameterFv
/* 800B1054 000ADF94 7C 64 1B 78 */ mr r4, r3
/* 800B1058 000ADF98 7F E3 FB 78 */ mr r3, r31
/* 800B105C 000ADF9C 48 01 97 8D */ bl strcat
.L_800B1060:
/* 800B1060 000ADFA0 4B FF CA D5 */ bl getParamSequenceArchivesPath__18JAIGlobalParameterFv
/* 800B1064 000ADFA4 7C 64 1B 78 */ mr r4, r3
/* 800B1068 000ADFA8 7F E3 FB 78 */ mr r3, r31
/* 800B106C 000ADFAC 48 01 97 7D */ bl strcat
/* 800B1070 000ADFB0 4B FF CA DD */ bl getParamSequenceArchivesFileName__18JAIGlobalParameterFv
/* 800B1074 000ADFB4 7C 64 1B 78 */ mr r4, r3
/* 800B1078 000ADFB8 7F E3 FB 78 */ mr r3, r31
/* 800B107C 000ADFBC 48 01 97 6D */ bl strcat
/* 800B1080 000ADFC0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B1084 000ADFC4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B1088 000ADFC8 7C 08 03 A6 */ mtlr r0
/* 800B108C 000ADFCC 38 21 00 10 */ addi r1, r1, 0x10
/* 800B1090 000ADFD0 4E 80 00 20 */ blr
.global setArchivePointer__Q27JAInter11SequenceMgrFP10JKRArchive
setArchivePointer__Q27JAInter11SequenceMgrFP10JKRArchive:
/* 800B1094 000ADFD4 90 6D 8C 18 */ stw r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1098 000ADFD8 4E 80 00 20 */ blr
.global getArchivePointer__Q27JAInter11SequenceMgrFv
getArchivePointer__Q27JAInter11SequenceMgrFv:
/* 800B109C 000ADFDC 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B10A0 000ADFE0 4E 80 00 20 */ blr
.global setCustomHeapCallback__Q27JAInter11SequenceMgrFPFUlUsP11JAISequence_Q37JAInter11SequenceMgr14CustomHeapInfo
setCustomHeapCallback__Q27JAInter11SequenceMgrFPFUlUsP11JAISequence_Q37JAInter11SequenceMgr14CustomHeapInfo:
/* 800B10A4 000ADFE4 90 6D 8C 1C */ stw r3, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B10A8 000ADFE8 4E 80 00 20 */ blr
.global processGFrameSequence__Q27JAInter11SequenceMgrFv
processGFrameSequence__Q27JAInter11SequenceMgrFv:
/* 800B10AC 000ADFEC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B10B0 000ADFF0 7C 08 02 A6 */ mflr r0
/* 800B10B4 000ADFF4 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B10B8 000ADFF8 48 00 00 2D */ bl checkEntriedSeq__Q27JAInter11SequenceMgrFv
/* 800B10BC 000ADFFC 48 00 05 31 */ bl checkStoppedSeq__Q27JAInter11SequenceMgrFv
/* 800B10C0 000AE000 48 00 05 D1 */ bl checkPlayingSeq__Q27JAInter11SequenceMgrFv
/* 800B10C4 000AE004 48 00 04 51 */ bl checkFadeoutSeq__Q27JAInter11SequenceMgrFv
/* 800B10C8 000AE008 48 00 06 B5 */ bl checkStartedSeq__Q27JAInter11SequenceMgrFv
/* 800B10CC 000AE00C 48 00 07 51 */ bl checkReadSeq__Q27JAInter11SequenceMgrFv
/* 800B10D0 000AE010 48 00 09 71 */ bl checkSeqWave__Q27JAInter11SequenceMgrFv
/* 800B10D4 000AE014 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B10D8 000AE018 7C 08 03 A6 */ mtlr r0
/* 800B10DC 000AE01C 38 21 00 10 */ addi r1, r1, 0x10
/* 800B10E0 000AE020 4E 80 00 20 */ blr
.global checkEntriedSeq__Q27JAInter11SequenceMgrFv
checkEntriedSeq__Q27JAInter11SequenceMgrFv:
/* 800B10E4 000AE024 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 800B10E8 000AE028 7C 08 02 A6 */ mflr r0
/* 800B10EC 000AE02C 90 01 00 44 */ stw r0, 0x44(r1)
/* 800B10F0 000AE030 BE C1 00 18 */ stmw r22, 0x18(r1)
/* 800B10F4 000AE034 3B A0 00 00 */ li r29, 0
/* 800B10F8 000AE038 3B C0 00 00 */ li r30, 0
/* 800B10FC 000AE03C 48 00 03 F8 */ b .L_800B14F4
.L_800B1100:
/* 800B1100 000AE040 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1104 000AE044 7F 80 F2 14 */ add r28, r0, r30
/* 800B1108 000AE048 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B110C 000AE04C 28 03 00 00 */ cmplwi r3, 0
/* 800B1110 000AE050 41 82 03 DC */ beq .L_800B14EC
/* 800B1114 000AE054 80 1C 00 08 */ lwz r0, 8(r28)
/* 800B1118 000AE058 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 800B111C 000AE05C 41 82 03 D0 */ beq .L_800B14EC
/* 800B1120 000AE060 80 83 00 44 */ lwz r4, 0x44(r3)
/* 800B1124 000AE064 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1128 000AE068 A3 64 00 06 */ lhz r27, 6(r4)
/* 800B112C 000AE06C 7F 64 DB 78 */ mr r4, r27
/* 800B1130 000AE070 4B FF 65 41 */ bl getResSize__15JASResArcLoaderFP10JKRArchiveUs
/* 800B1134 000AE074 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1138 000AE078 7C 7A 1B 78 */ mr r26, r3
/* 800B113C 000AE07C 28 0C 00 00 */ cmplwi r12, 0
/* 800B1140 000AE080 41 82 00 AC */ beq .L_800B11EC
/* 800B1144 000AE084 7F 65 DB 78 */ mr r5, r27
/* 800B1148 000AE088 38 61 00 0C */ addi r3, r1, 0xc
/* 800B114C 000AE08C 80 DC 00 48 */ lwz r6, 0x48(r28)
/* 800B1150 000AE090 38 80 00 00 */ li r4, 0
/* 800B1154 000AE094 7D 89 03 A6 */ mtctr r12
/* 800B1158 000AE098 4E 80 04 21 */ bctrl
/* 800B115C 000AE09C 88 01 00 10 */ lbz r0, 0x10(r1)
/* 800B1160 000AE0A0 82 E1 00 0C */ lwz r23, 0xc(r1)
/* 800B1164 000AE0A4 28 00 00 01 */ cmplwi r0, 1
/* 800B1168 000AE0A8 7E FF BB 78 */ mr r31, r23
/* 800B116C 000AE0AC 40 82 00 70 */ bne .L_800B11DC
/* 800B1170 000AE0B0 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1174 000AE0B4 38 80 00 40 */ li r4, 0x40
/* 800B1178 000AE0B8 48 00 29 DD */ bl checkSwBit__8JAISoundFUl
/* 800B117C 000AE0BC 28 03 00 00 */ cmplwi r3, 0
/* 800B1180 000AE0C0 40 82 00 38 */ bne .L_800B11B8
/* 800B1184 000AE0C4 80 BC 00 48 */ lwz r5, 0x48(r28)
/* 800B1188 000AE0C8 38 00 00 01 */ li r0, 1
/* 800B118C 000AE0CC 3C 60 80 0B */ lis r3, checkCustomDvdLoadArc__Q27JAInter11SequenceMgrFUlUl@ha
/* 800B1190 000AE0D0 7F 64 DB 78 */ mr r4, r27
/* 800B1194 000AE0D4 98 05 00 15 */ stb r0, 0x15(r5)
/* 800B1198 000AE0D8 38 E3 2D FC */ addi r7, r3, checkCustomDvdLoadArc__Q27JAInter11SequenceMgrFUlUl@l
/* 800B119C 000AE0DC 7E E5 BB 78 */ mr r5, r23
/* 800B11A0 000AE0E0 7F 46 D3 78 */ mr r6, r26
/* 800B11A4 000AE0E4 98 1C 00 03 */ stb r0, 3(r28)
/* 800B11A8 000AE0E8 7F A8 EB 78 */ mr r8, r29
/* 800B11AC 000AE0EC 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B11B0 000AE0F0 4B FF 66 61 */ bl loadResourceAsync__15JASResArcLoaderFP10JKRArchiveUsPUcUlPFUlUl_vUl
/* 800B11B4 000AE0F4 48 00 03 14 */ b .L_800B14C8
.L_800B11B8:
/* 800B11B8 000AE0F8 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B11BC 000AE0FC 7F 64 DB 78 */ mr r4, r27
/* 800B11C0 000AE100 7E E5 BB 78 */ mr r5, r23
/* 800B11C4 000AE104 7F 46 D3 78 */ mr r6, r26
/* 800B11C8 000AE108 4B FF 65 79 */ bl loadResource__15JASResArcLoaderFP10JKRArchiveUsPUcUl
/* 800B11CC 000AE10C 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B11D0 000AE110 38 00 00 02 */ li r0, 2
/* 800B11D4 000AE114 98 03 00 15 */ stb r0, 0x15(r3)
/* 800B11D8 000AE118 48 00 02 F0 */ b .L_800B14C8
.L_800B11DC:
/* 800B11DC 000AE11C 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B11E0 000AE120 38 00 00 02 */ li r0, 2
/* 800B11E4 000AE124 98 03 00 15 */ stb r0, 0x15(r3)
/* 800B11E8 000AE128 48 00 02 E0 */ b .L_800B14C8
.L_800B11EC:
/* 800B11EC 000AE12C 88 1C 00 03 */ lbz r0, 3(r28)
/* 800B11F0 000AE130 28 00 00 00 */ cmplwi r0, 0
/* 800B11F4 000AE134 40 82 02 F8 */ bne .L_800B14EC
/* 800B11F8 000AE138 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B11FC 000AE13C 38 81 00 08 */ addi r4, r1, 8
/* 800B1200 000AE140 3B 20 00 00 */ li r25, 0
/* 800B1204 000AE144 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800B1208 000AE148 54 03 05 BE */ clrlwi r3, r0, 0x16
/* 800B120C 000AE14C 4B FF F3 91 */ bl checkOnMemory__Q27JAInter7HeapMgrFUlPUc
/* 800B1210 000AE150 7C 7F 1B 79 */ or. r31, r3, r3
/* 800B1214 000AE154 40 82 02 74 */ bne .L_800B1488
/* 800B1218 000AE158 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B121C 000AE15C 38 80 00 10 */ li r4, 0x10
/* 800B1220 000AE160 48 00 29 35 */ bl checkSwBit__8JAISoundFUl
/* 800B1224 000AE164 28 03 00 00 */ cmplwi r3, 0
/* 800B1228 000AE168 41 82 00 44 */ beq .L_800B126C
/* 800B122C 000AE16C 4B FF F5 C5 */ bl checkUsefulStayHeapPosition__Q27JAInter7HeapMgrFv
/* 800B1230 000AE170 98 61 00 08 */ stb r3, 8(r1)
/* 800B1234 000AE174 7F 43 D3 78 */ mr r3, r26
/* 800B1238 000AE178 80 9C 00 48 */ lwz r4, 0x48(r28)
/* 800B123C 000AE17C 80 04 00 20 */ lwz r0, 0x20(r4)
/* 800B1240 000AE180 54 04 05 BE */ clrlwi r4, r0, 0x16
/* 800B1244 000AE184 4B FF F5 B9 */ bl getFreeStayHeapPointer__Q27JAInter7HeapMgrFUlUl
/* 800B1248 000AE188 7C 7F 1B 79 */ or. r31, r3, r3
/* 800B124C 000AE18C 40 82 00 10 */ bne .L_800B125C
/* 800B1250 000AE190 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1254 000AE194 38 80 00 20 */ li r4, 0x20
/* 800B1258 000AE198 48 00 28 FD */ bl checkSwBit__8JAISoundFUl
.L_800B125C:
/* 800B125C 000AE19C 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1260 000AE1A0 38 00 00 FF */ li r0, 0xff
/* 800B1264 000AE1A4 3B 20 00 01 */ li r25, 1
/* 800B1268 000AE1A8 98 03 02 C0 */ stb r0, 0x2c0(r3)
.L_800B126C:
/* 800B126C 000AE1AC 28 1F 00 00 */ cmplwi r31, 0
/* 800B1270 000AE1B0 40 82 01 70 */ bne .L_800B13E0
/* 800B1274 000AE1B4 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1278 000AE1B8 38 80 00 20 */ li r4, 0x20
/* 800B127C 000AE1BC 48 00 28 D9 */ bl checkSwBit__8JAISoundFUl
/* 800B1280 000AE1C0 28 03 00 00 */ cmplwi r3, 0
/* 800B1284 000AE1C4 40 82 00 18 */ bne .L_800B129C
/* 800B1288 000AE1C8 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B128C 000AE1CC 38 80 00 10 */ li r4, 0x10
/* 800B1290 000AE1D0 48 00 28 C5 */ bl checkSwBit__8JAISoundFUl
/* 800B1294 000AE1D4 28 03 00 00 */ cmplwi r3, 0
/* 800B1298 000AE1D8 40 82 01 48 */ bne .L_800B13E0
.L_800B129C:
/* 800B129C 000AE1DC 4B FF F4 25 */ bl checkUsefulAutoHeapPosition__Q27JAInter7HeapMgrFv
/* 800B12A0 000AE1E0 98 61 00 08 */ stb r3, 8(r1)
/* 800B12A4 000AE1E4 4B FF C8 19 */ bl getParamAutoHeapMax__18JAIGlobalParameterFv
/* 800B12A8 000AE1E8 88 01 00 08 */ lbz r0, 8(r1)
/* 800B12AC 000AE1EC 7C 00 18 40 */ cmplw r0, r3
/* 800B12B0 000AE1F0 41 80 00 E0 */ blt .L_800B1390
/* 800B12B4 000AE1F4 3B 00 00 00 */ li r24, 0
/* 800B12B8 000AE1F8 3B E0 00 00 */ li r31, 0
/* 800B12BC 000AE1FC 48 00 00 9C */ b .L_800B1358
.L_800B12C0:
/* 800B12C0 000AE200 4B FF F2 D5 */ bl getAutoHeapPointer__Q27JAInter7HeapMgrFv
/* 800B12C4 000AE204 7C 63 FA 14 */ add r3, r3, r31
/* 800B12C8 000AE208 80 63 00 10 */ lwz r3, 0x10(r3)
/* 800B12CC 000AE20C 3C 03 00 01 */ addis r0, r3, 1
/* 800B12D0 000AE210 28 00 FF FF */ cmplwi r0, 0xffff
/* 800B12D4 000AE214 41 82 00 7C */ beq .L_800B1350
/* 800B12D8 000AE218 3A E0 00 00 */ li r23, 0
/* 800B12DC 000AE21C 48 00 00 50 */ b .L_800B132C
.L_800B12E0:
/* 800B12E0 000AE220 1E D7 00 50 */ mulli r22, r23, 0x50
/* 800B12E4 000AE224 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B12E8 000AE228 38 16 00 48 */ addi r0, r22, 0x48
/* 800B12EC 000AE22C 7C 03 00 2E */ lwzx r0, r3, r0
/* 800B12F0 000AE230 28 00 00 00 */ cmplwi r0, 0
/* 800B12F4 000AE234 41 82 00 34 */ beq .L_800B1328
/* 800B12F8 000AE238 4B FF F2 9D */ bl getAutoHeapPointer__Q27JAInter7HeapMgrFv
/* 800B12FC 000AE23C 80 8D 8C 08 */ lwz r4, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1300 000AE240 38 16 00 48 */ addi r0, r22, 0x48
/* 800B1304 000AE244 7C A3 FA 14 */ add r5, r3, r31
/* 800B1308 000AE248 7C 64 00 2E */ lwzx r3, r4, r0
/* 800B130C 000AE24C 80 05 00 08 */ lwz r0, 8(r5)
/* 800B1310 000AE250 80 63 00 20 */ lwz r3, 0x20(r3)
/* 800B1314 000AE254 54 63 05 BE */ clrlwi r3, r3, 0x16
/* 800B1318 000AE258 7C 03 00 40 */ cmplw r3, r0
/* 800B131C 000AE25C 40 82 00 0C */ bne .L_800B1328
/* 800B1320 000AE260 4B FF C7 AD */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1324 000AE264 7C 77 1B 78 */ mr r23, r3
.L_800B1328:
/* 800B1328 000AE268 3A F7 00 01 */ addi r23, r23, 1
.L_800B132C:
/* 800B132C 000AE26C 4B FF C7 A1 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1330 000AE270 7C 17 18 40 */ cmplw r23, r3
/* 800B1334 000AE274 41 80 FF AC */ blt .L_800B12E0
/* 800B1338 000AE278 4B FF C7 95 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B133C 000AE27C 7C 17 18 40 */ cmplw r23, r3
/* 800B1340 000AE280 40 82 00 10 */ bne .L_800B1350
/* 800B1344 000AE284 57 03 06 3E */ clrlwi r3, r24, 0x18
/* 800B1348 000AE288 4B FF F3 55 */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
/* 800B134C 000AE28C 9B 01 00 08 */ stb r24, 8(r1)
.L_800B1350:
/* 800B1350 000AE290 3B FF 00 14 */ addi r31, r31, 0x14
/* 800B1354 000AE294 3B 18 00 01 */ addi r24, r24, 1
.L_800B1358:
/* 800B1358 000AE298 4B FF C7 65 */ bl getParamAutoHeapMax__18JAIGlobalParameterFv
/* 800B135C 000AE29C 7C 18 18 40 */ cmplw r24, r3
/* 800B1360 000AE2A0 41 80 FF 60 */ blt .L_800B12C0
/* 800B1364 000AE2A4 4B FF C7 59 */ bl getParamAutoHeapMax__18JAIGlobalParameterFv
/* 800B1368 000AE2A8 88 01 00 08 */ lbz r0, 8(r1)
/* 800B136C 000AE2AC 7C 00 18 40 */ cmplw r0, r3
/* 800B1370 000AE2B0 41 80 00 4C */ blt .L_800B13BC
/* 800B1374 000AE2B4 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1378 000AE2B8 38 80 00 00 */ li r4, 0
/* 800B137C 000AE2BC 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1380 000AE2C0 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 800B1384 000AE2C4 7D 89 03 A6 */ mtctr r12
/* 800B1388 000AE2C8 4E 80 04 21 */ bctrl
/* 800B138C 000AE2CC 48 00 01 60 */ b .L_800B14EC
.L_800B1390:
/* 800B1390 000AE2D0 4B FF C7 7D */ bl getParamAutoHeapRoomSize__18JAIGlobalParameterFv
/* 800B1394 000AE2D4 7C 1A 18 40 */ cmplw r26, r3
/* 800B1398 000AE2D8 41 80 00 24 */ blt .L_800B13BC
/* 800B139C 000AE2DC 4B FF C7 71 */ bl getParamAutoHeapRoomSize__18JAIGlobalParameterFv
/* 800B13A0 000AE2E0 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B13A4 000AE2E4 38 80 00 00 */ li r4, 0
/* 800B13A8 000AE2E8 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B13AC 000AE2EC 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 800B13B0 000AE2F0 7D 89 03 A6 */ mtctr r12
/* 800B13B4 000AE2F4 4E 80 04 21 */ bctrl
/* 800B13B8 000AE2F8 48 00 01 34 */ b .L_800B14EC
.L_800B13BC:
/* 800B13BC 000AE2FC 88 01 00 08 */ lbz r0, 8(r1)
/* 800B13C0 000AE300 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B13C4 000AE304 98 03 02 C0 */ stb r0, 0x2c0(r3)
/* 800B13C8 000AE308 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B13CC 000AE30C 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800B13D0 000AE310 88 63 02 C0 */ lbz r3, 0x2c0(r3)
/* 800B13D4 000AE314 54 04 05 BE */ clrlwi r4, r0, 0x16
/* 800B13D8 000AE318 4B FF F3 D1 */ bl getFreeAutoHeapPointer__Q27JAInter7HeapMgrFUcUl
/* 800B13DC 000AE31C 7C 7F 1B 78 */ mr r31, r3
.L_800B13E0:
/* 800B13E0 000AE320 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B13E4 000AE324 38 80 00 40 */ li r4, 0x40
/* 800B13E8 000AE328 48 00 27 6D */ bl checkSwBit__8JAISoundFUl
/* 800B13EC 000AE32C 28 03 00 00 */ cmplwi r3, 0
/* 800B13F0 000AE330 40 82 00 74 */ bne .L_800B1464
/* 800B13F4 000AE334 80 9C 00 48 */ lwz r4, 0x48(r28)
/* 800B13F8 000AE338 38 A0 00 01 */ li r5, 1
/* 800B13FC 000AE33C 57 60 80 1E */ slwi r0, r27, 0x10
/* 800B1400 000AE340 57 23 06 3F */ clrlwi. r3, r25, 0x18
/* 800B1404 000AE344 98 A4 00 15 */ stb r5, 0x15(r4)
/* 800B1408 000AE348 7F A0 03 78 */ or r0, r29, r0
/* 800B140C 000AE34C 57 25 7A 60 */ rlwinm r5, r25, 0xf, 9, 0x10
/* 800B1410 000AE350 88 61 00 08 */ lbz r3, 8(r1)
/* 800B1414 000AE354 54 64 44 2E */ rlwinm r4, r3, 8, 0x10, 0x17
/* 800B1418 000AE358 7C 80 03 78 */ or r0, r4, r0
/* 800B141C 000AE35C 7C B6 03 78 */ or r22, r5, r0
/* 800B1420 000AE360 40 82 00 10 */ bne .L_800B1430
/* 800B1424 000AE364 38 80 00 01 */ li r4, 1
/* 800B1428 000AE368 4B FF F4 DD */ bl setAutoHeapLoadedFlag__Q27JAInter7HeapMgrFUcUc
/* 800B142C 000AE36C 48 00 00 0C */ b .L_800B1438
.L_800B1430:
/* 800B1430 000AE370 38 80 00 01 */ li r4, 1
/* 800B1434 000AE374 4B FF F4 E5 */ bl setStayHeapLoadedFlag__Q27JAInter7HeapMgrFUcUc
.L_800B1438:
/* 800B1438 000AE378 38 00 00 01 */ li r0, 1
/* 800B143C 000AE37C 3C 60 80 0B */ lis r3, checkDvdLoadArc__Q27JAInter11SequenceMgrFUlUl@ha
/* 800B1440 000AE380 98 1C 00 03 */ stb r0, 3(r28)
/* 800B1444 000AE384 38 E3 2D 18 */ addi r7, r3, checkDvdLoadArc__Q27JAInter11SequenceMgrFUlUl@l
/* 800B1448 000AE388 7F 64 DB 78 */ mr r4, r27
/* 800B144C 000AE38C 7F E5 FB 78 */ mr r5, r31
/* 800B1450 000AE390 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1454 000AE394 7F 46 D3 78 */ mr r6, r26
/* 800B1458 000AE398 7E C8 B3 78 */ mr r8, r22
/* 800B145C 000AE39C 4B FF 63 B5 */ bl loadResourceAsync__15JASResArcLoaderFP10JKRArchiveUsPUcUlPFUlUl_vUl
/* 800B1460 000AE3A0 48 00 00 68 */ b .L_800B14C8
.L_800B1464:
/* 800B1464 000AE3A4 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1468 000AE3A8 7F 64 DB 78 */ mr r4, r27
/* 800B146C 000AE3AC 7F E5 FB 78 */ mr r5, r31
/* 800B1470 000AE3B0 7F 46 D3 78 */ mr r6, r26
/* 800B1474 000AE3B4 4B FF 62 CD */ bl loadResource__15JASResArcLoaderFP10JKRArchiveUsPUcUl
/* 800B1478 000AE3B8 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B147C 000AE3BC 38 00 00 02 */ li r0, 2
/* 800B1480 000AE3C0 98 03 00 15 */ stb r0, 0x15(r3)
/* 800B1484 000AE3C4 48 00 00 44 */ b .L_800B14C8
.L_800B1488:
/* 800B1488 000AE3C8 3C 1F 00 01 */ addis r0, r31, 1
/* 800B148C 000AE3CC 28 00 FF FF */ cmplwi r0, 0xffff
/* 800B1490 000AE3D0 41 82 00 5C */ beq .L_800B14EC
/* 800B1494 000AE3D4 88 61 00 08 */ lbz r3, 8(r1)
/* 800B1498 000AE3D8 28 03 00 FF */ cmplwi r3, 0xff
/* 800B149C 000AE3DC 41 82 00 14 */ beq .L_800B14B0
/* 800B14A0 000AE3E0 80 9C 00 48 */ lwz r4, 0x48(r28)
/* 800B14A4 000AE3E4 80 04 00 20 */ lwz r0, 0x20(r4)
/* 800B14A8 000AE3E8 54 04 05 BE */ clrlwi r4, r0, 0x16
/* 800B14AC 000AE3EC 4B FF F2 FD */ bl getFreeAutoHeapPointer__Q27JAInter7HeapMgrFUcUl
.L_800B14B0:
/* 800B14B0 000AE3F0 88 81 00 08 */ lbz r4, 8(r1)
/* 800B14B4 000AE3F4 38 00 00 02 */ li r0, 2
/* 800B14B8 000AE3F8 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B14BC 000AE3FC 98 83 02 C0 */ stb r4, 0x2c0(r3)
/* 800B14C0 000AE400 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B14C4 000AE404 98 03 00 15 */ stb r0, 0x15(r3)
.L_800B14C8:
/* 800B14C8 000AE408 28 1F 00 00 */ cmplwi r31, 0
/* 800B14CC 000AE40C 41 82 00 18 */ beq .L_800B14E4
/* 800B14D0 000AE410 93 FC 00 40 */ stw r31, 0x40(r28)
/* 800B14D4 000AE414 80 1C 00 08 */ lwz r0, 8(r28)
/* 800B14D8 000AE418 68 00 00 01 */ xori r0, r0, 1
/* 800B14DC 000AE41C 90 1C 00 08 */ stw r0, 8(r28)
/* 800B14E0 000AE420 48 00 00 0C */ b .L_800B14EC
.L_800B14E4:
/* 800B14E4 000AE424 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B14E8 000AE428 48 00 17 01 */ bl stopSeq__Q27JAInter11SequenceMgrFP11JAISequence
.L_800B14EC:
/* 800B14EC 000AE42C 3B DE 00 50 */ addi r30, r30, 0x50
/* 800B14F0 000AE430 3B BD 00 01 */ addi r29, r29, 1
.L_800B14F4:
/* 800B14F4 000AE434 4B FF C5 D9 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B14F8 000AE438 7C 1D 18 40 */ cmplw r29, r3
/* 800B14FC 000AE43C 41 80 FC 04 */ blt .L_800B1100
/* 800B1500 000AE440 BA C1 00 18 */ lmw r22, 0x18(r1)
/* 800B1504 000AE444 80 01 00 44 */ lwz r0, 0x44(r1)
/* 800B1508 000AE448 7C 08 03 A6 */ mtlr r0
/* 800B150C 000AE44C 38 21 00 40 */ addi r1, r1, 0x40
/* 800B1510 000AE450 4E 80 00 20 */ blr
.global checkFadeoutSeq__Q27JAInter11SequenceMgrFv
checkFadeoutSeq__Q27JAInter11SequenceMgrFv:
/* 800B1514 000AE454 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B1518 000AE458 7C 08 02 A6 */ mflr r0
/* 800B151C 000AE45C 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B1520 000AE460 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B1524 000AE464 3B E0 00 00 */ li r31, 0
/* 800B1528 000AE468 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B152C 000AE46C 3B C0 00 00 */ li r30, 0
/* 800B1530 000AE470 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B1534 000AE474 48 00 00 70 */ b .L_800B15A4
.L_800B1538:
/* 800B1538 000AE478 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B153C 000AE47C 7F A0 FA 14 */ add r29, r0, r31
/* 800B1540 000AE480 80 7D 00 48 */ lwz r3, 0x48(r29)
/* 800B1544 000AE484 28 03 00 00 */ cmplwi r3, 0
/* 800B1548 000AE488 41 82 00 54 */ beq .L_800B159C
/* 800B154C 000AE48C 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B1550 000AE490 28 00 00 05 */ cmplwi r0, 5
/* 800B1554 000AE494 40 82 00 48 */ bne .L_800B159C
/* 800B1558 000AE498 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B155C 000AE49C 38 80 00 07 */ li r4, 7
/* 800B1560 000AE4A0 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 800B1564 000AE4A4 7D 89 03 A6 */ mtctr r12
/* 800B1568 000AE4A8 4E 80 04 21 */ bctrl
/* 800B156C 000AE4AC C0 02 8C 48 */ lfs f0, lbl_80516FA8@sda21(r2)
/* 800B1570 000AE4B0 FC 00 08 00 */ fcmpu cr0, f0, f1
/* 800B1574 000AE4B4 40 82 00 28 */ bne .L_800B159C
/* 800B1578 000AE4B8 80 7D 00 48 */ lwz r3, 0x48(r29)
/* 800B157C 000AE4BC 38 63 03 0C */ addi r3, r3, 0x30c
/* 800B1580 000AE4C0 4B FE F9 D9 */ bl stopSeq__8JASTrackFv
/* 800B1584 000AE4C4 80 7D 00 48 */ lwz r3, 0x48(r29)
/* 800B1588 000AE4C8 48 00 25 E9 */ bl clearMainSoundPPointer__8JAISoundFv
/* 800B158C 000AE4CC 80 7D 00 48 */ lwz r3, 0x48(r29)
/* 800B1590 000AE4D0 48 00 16 59 */ bl stopSeq__Q27JAInter11SequenceMgrFP11JAISequence
/* 800B1594 000AE4D4 38 00 00 00 */ li r0, 0
/* 800B1598 000AE4D8 90 1D 00 08 */ stw r0, 8(r29)
.L_800B159C:
/* 800B159C 000AE4DC 3B FF 00 50 */ addi r31, r31, 0x50
/* 800B15A0 000AE4E0 3B DE 00 01 */ addi r30, r30, 1
.L_800B15A4:
/* 800B15A4 000AE4E4 4B FF C5 29 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B15A8 000AE4E8 7C 1E 18 40 */ cmplw r30, r3
/* 800B15AC 000AE4EC 41 80 FF 8C */ blt .L_800B1538
/* 800B15B0 000AE4F0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B15B4 000AE4F4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B15B8 000AE4F8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B15BC 000AE4FC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B15C0 000AE500 7C 08 03 A6 */ mtlr r0
/* 800B15C4 000AE504 38 21 00 20 */ addi r1, r1, 0x20
/* 800B15C8 000AE508 4E 80 00 20 */ blr
.global getVolume__11JAISequenceFUc
getVolume__11JAISequenceFUc:
/* 800B15CC 000AE50C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B15D0 000AE510 7C 08 02 A6 */ mflr r0
/* 800B15D4 000AE514 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B15D8 000AE518 48 00 3E D1 */ bl getSeqInterVolume__11JAISequenceFUc
/* 800B15DC 000AE51C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B15E0 000AE520 7C 08 03 A6 */ mtlr r0
/* 800B15E4 000AE524 38 21 00 10 */ addi r1, r1, 0x10
/* 800B15E8 000AE528 4E 80 00 20 */ blr
.global checkStoppedSeq__Q27JAInter11SequenceMgrFv
checkStoppedSeq__Q27JAInter11SequenceMgrFv:
/* 800B15EC 000AE52C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B15F0 000AE530 7C 08 02 A6 */ mflr r0
/* 800B15F4 000AE534 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B15F8 000AE538 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B15FC 000AE53C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B1600 000AE540 3B C0 00 00 */ li r30, 0
/* 800B1604 000AE544 7F DF F3 78 */ mr r31, r30
/* 800B1608 000AE548 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B160C 000AE54C 3B A0 00 00 */ li r29, 0
/* 800B1610 000AE550 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B1614 000AE554 48 00 00 50 */ b .L_800B1664
.L_800B1618:
/* 800B1618 000AE558 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B161C 000AE55C 7F 80 F2 14 */ add r28, r0, r30
/* 800B1620 000AE560 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1624 000AE564 28 03 00 00 */ cmplwi r3, 0
/* 800B1628 000AE568 41 82 00 34 */ beq .L_800B165C
/* 800B162C 000AE56C 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B1630 000AE570 28 00 00 04 */ cmplwi r0, 4
/* 800B1634 000AE574 41 82 00 0C */ beq .L_800B1640
/* 800B1638 000AE578 28 00 00 05 */ cmplwi r0, 5
/* 800B163C 000AE57C 40 82 00 20 */ bne .L_800B165C
.L_800B1640:
/* 800B1640 000AE580 88 03 06 67 */ lbz r0, 0x667(r3)
/* 800B1644 000AE584 28 00 00 00 */ cmplwi r0, 0
/* 800B1648 000AE588 40 82 00 14 */ bne .L_800B165C
/* 800B164C 000AE58C 48 00 25 25 */ bl clearMainSoundPPointer__8JAISoundFv
/* 800B1650 000AE590 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1654 000AE594 48 00 15 95 */ bl stopSeq__Q27JAInter11SequenceMgrFP11JAISequence
/* 800B1658 000AE598 93 FC 00 08 */ stw r31, 8(r28)
.L_800B165C:
/* 800B165C 000AE59C 3B DE 00 50 */ addi r30, r30, 0x50
/* 800B1660 000AE5A0 3B BD 00 01 */ addi r29, r29, 1
.L_800B1664:
/* 800B1664 000AE5A4 4B FF C4 69 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1668 000AE5A8 7C 1D 18 40 */ cmplw r29, r3
/* 800B166C 000AE5AC 41 80 FF AC */ blt .L_800B1618
/* 800B1670 000AE5B0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B1674 000AE5B4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B1678 000AE5B8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B167C 000AE5BC 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B1680 000AE5C0 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B1684 000AE5C4 7C 08 03 A6 */ mtlr r0
/* 800B1688 000AE5C8 38 21 00 20 */ addi r1, r1, 0x20
/* 800B168C 000AE5CC 4E 80 00 20 */ blr
.global checkPlayingSeq__Q27JAInter11SequenceMgrFv
checkPlayingSeq__Q27JAInter11SequenceMgrFv:
/* 800B1690 000AE5D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B1694 000AE5D4 7C 08 02 A6 */ mflr r0
/* 800B1698 000AE5D8 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B169C 000AE5DC BF 61 00 0C */ stmw r27, 0xc(r1)
/* 800B16A0 000AE5E0 3B E0 00 00 */ li r31, 0
/* 800B16A4 000AE5E4 3B A0 00 00 */ li r29, 0
/* 800B16A8 000AE5E8 48 00 00 B4 */ b .L_800B175C
.L_800B16AC:
/* 800B16AC 000AE5EC 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B16B0 000AE5F0 7F C0 EA 14 */ add r30, r0, r29
/* 800B16B4 000AE5F4 80 7E 00 48 */ lwz r3, 0x48(r30)
/* 800B16B8 000AE5F8 28 03 00 00 */ cmplwi r3, 0
/* 800B16BC 000AE5FC 41 82 00 98 */ beq .L_800B1754
/* 800B16C0 000AE600 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B16C4 000AE604 28 00 00 04 */ cmplwi r0, 4
/* 800B16C8 000AE608 41 80 00 8C */ blt .L_800B1754
/* 800B16CC 000AE60C 7F E3 FB 78 */ mr r3, r31
/* 800B16D0 000AE610 48 00 04 49 */ bl checkPlayingSeqTrack__Q27JAInter11SequenceMgrFUl
/* 800B16D4 000AE614 3B 60 00 00 */ li r27, 0
/* 800B16D8 000AE618 48 00 00 68 */ b .L_800B1740
.L_800B16DC:
/* 800B16DC 000AE61C 80 7E 00 44 */ lwz r3, 0x44(r30)
/* 800B16E0 000AE620 57 60 15 BA */ rlwinm r0, r27, 2, 0x16, 0x1d
/* 800B16E4 000AE624 57 7C 06 3E */ clrlwi r28, r27, 0x18
/* 800B16E8 000AE628 7C C3 00 2E */ lwzx r6, r3, r0
/* 800B16EC 000AE62C 28 06 00 00 */ cmplwi r6, 0
/* 800B16F0 000AE630 41 82 00 4C */ beq .L_800B173C
/* 800B16F4 000AE634 28 1C 00 20 */ cmplwi r28, 0x20
/* 800B16F8 000AE638 41 82 00 20 */ beq .L_800B1718
/* 800B16FC 000AE63C 80 7E 00 48 */ lwz r3, 0x48(r30)
/* 800B1700 000AE640 38 00 00 01 */ li r0, 1
/* 800B1704 000AE644 7C 04 20 30 */ slw r4, r0, r4
/* 800B1708 000AE648 80 63 03 08 */ lwz r3, 0x308(r3)
/* 800B170C 000AE64C 80 03 00 04 */ lwz r0, 4(r3)
/* 800B1710 000AE650 7C 80 00 39 */ and. r0, r4, r0
/* 800B1714 000AE654 41 82 00 28 */ beq .L_800B173C
.L_800B1718:
/* 800B1718 000AE658 7F C3 F3 78 */ mr r3, r30
/* 800B171C 000AE65C 7F 84 E3 78 */ mr r4, r28
/* 800B1720 000AE660 38 A0 00 02 */ li r5, 2
/* 800B1724 000AE664 48 00 79 45 */ bl setSeqPortargsU32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcUl
/* 800B1728 000AE668 1C 7C 00 48 */ mulli r3, r28, 0x48
/* 800B172C 000AE66C 80 1E 00 4C */ lwz r0, 0x4c(r30)
/* 800B1730 000AE670 38 63 00 30 */ addi r3, r3, 0x30
/* 800B1734 000AE674 7C 60 1A 14 */ add r3, r0, r3
/* 800B1738 000AE678 4B FF 4F ED */ bl addPortCmdOnce__10JASPortCmdFv
.L_800B173C:
/* 800B173C 000AE67C 3B 7B 00 01 */ addi r27, r27, 1
.L_800B1740:
/* 800B1740 000AE680 4B FF C3 6D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B1744 000AE684 38 03 00 01 */ addi r0, r3, 1
/* 800B1748 000AE688 57 64 06 3E */ clrlwi r4, r27, 0x18
/* 800B174C 000AE68C 7C 04 00 40 */ cmplw r4, r0
/* 800B1750 000AE690 41 80 FF 8C */ blt .L_800B16DC
.L_800B1754:
/* 800B1754 000AE694 3B BD 00 50 */ addi r29, r29, 0x50
/* 800B1758 000AE698 3B FF 00 01 */ addi r31, r31, 1
.L_800B175C:
/* 800B175C 000AE69C 4B FF C3 71 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1760 000AE6A0 7C 1F 18 40 */ cmplw r31, r3
/* 800B1764 000AE6A4 41 80 FF 48 */ blt .L_800B16AC
/* 800B1768 000AE6A8 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 800B176C 000AE6AC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B1770 000AE6B0 7C 08 03 A6 */ mtlr r0
/* 800B1774 000AE6B4 38 21 00 20 */ addi r1, r1, 0x20
/* 800B1778 000AE6B8 4E 80 00 20 */ blr
.global checkStartedSeq__Q27JAInter11SequenceMgrFv
checkStartedSeq__Q27JAInter11SequenceMgrFv:
/* 800B177C 000AE6BC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B1780 000AE6C0 7C 08 02 A6 */ mflr r0
/* 800B1784 000AE6C4 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B1788 000AE6C8 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B178C 000AE6CC 3B E0 00 04 */ li r31, 4
/* 800B1790 000AE6D0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B1794 000AE6D4 3B C0 00 00 */ li r30, 0
/* 800B1798 000AE6D8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B179C 000AE6DC 3B A0 00 00 */ li r29, 0
/* 800B17A0 000AE6E0 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B17A4 000AE6E4 48 00 00 4C */ b .L_800B17F0
.L_800B17A8:
/* 800B17A8 000AE6E8 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B17AC 000AE6EC 7F 80 F2 14 */ add r28, r0, r30
/* 800B17B0 000AE6F0 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B17B4 000AE6F4 28 03 00 00 */ cmplwi r3, 0
/* 800B17B8 000AE6F8 41 82 00 30 */ beq .L_800B17E8
/* 800B17BC 000AE6FC 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B17C0 000AE700 28 00 00 03 */ cmplwi r0, 3
/* 800B17C4 000AE704 40 82 00 24 */ bne .L_800B17E8
/* 800B17C8 000AE708 38 63 03 0C */ addi r3, r3, 0x30c
/* 800B17CC 000AE70C 48 00 77 49 */ bl checkSeqActiveFlag__Q27JAInter15SystemInterfaceFP8JASTrack
/* 800B17D0 000AE710 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 800B17D4 000AE714 41 82 00 14 */ beq .L_800B17E8
/* 800B17D8 000AE718 80 9C 00 48 */ lwz r4, 0x48(r28)
/* 800B17DC 000AE71C 7F 83 E3 78 */ mr r3, r28
/* 800B17E0 000AE720 9B E4 00 15 */ stb r31, 0x15(r4)
/* 800B17E4 000AE724 48 00 78 F9 */ bl trackInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateData
.L_800B17E8:
/* 800B17E8 000AE728 3B DE 00 50 */ addi r30, r30, 0x50
/* 800B17EC 000AE72C 3B BD 00 01 */ addi r29, r29, 1
.L_800B17F0:
/* 800B17F0 000AE730 4B FF C2 DD */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B17F4 000AE734 7C 1D 18 40 */ cmplw r29, r3
/* 800B17F8 000AE738 41 80 FF B0 */ blt .L_800B17A8
/* 800B17FC 000AE73C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B1800 000AE740 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B1804 000AE744 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B1808 000AE748 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B180C 000AE74C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B1810 000AE750 7C 08 03 A6 */ mtlr r0
/* 800B1814 000AE754 38 21 00 20 */ addi r1, r1, 0x20
/* 800B1818 000AE758 4E 80 00 20 */ blr
.global checkReadSeq__Q27JAInter11SequenceMgrFv
checkReadSeq__Q27JAInter11SequenceMgrFv:
/* 800B181C 000AE75C 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800B1820 000AE760 7C 08 02 A6 */ mflr r0
/* 800B1824 000AE764 90 01 00 64 */ stw r0, 0x64(r1)
/* 800B1828 000AE768 DB E1 00 50 */ stfd f31, 0x50(r1)
/* 800B182C 000AE76C F3 E1 00 58 */ psq_st f31, 88(r1), 0, qr0
/* 800B1830 000AE770 DB C1 00 40 */ stfd f30, 0x40(r1)
/* 800B1834 000AE774 F3 C1 00 48 */ psq_st f30, 72(r1), 0, qr0
/* 800B1838 000AE778 DB A1 00 30 */ stfd f29, 0x30(r1)
/* 800B183C 000AE77C F3 A1 00 38 */ psq_st f29, 56(r1), 0, qr0
/* 800B1840 000AE780 BF 01 00 10 */ stmw r24, 0x10(r1)
/* 800B1844 000AE784 3B A0 00 00 */ li r29, 0
/* 800B1848 000AE788 3B E0 00 00 */ li r31, 0
/* 800B184C 000AE78C 48 00 01 BC */ b .L_800B1A08
.L_800B1850:
/* 800B1850 000AE790 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1854 000AE794 7F 80 FA 14 */ add r28, r0, r31
/* 800B1858 000AE798 83 DC 00 48 */ lwz r30, 0x48(r28)
/* 800B185C 000AE79C 28 1E 00 00 */ cmplwi r30, 0
/* 800B1860 000AE7A0 41 82 01 A0 */ beq .L_800B1A00
/* 800B1864 000AE7A4 88 1E 00 15 */ lbz r0, 0x15(r30)
/* 800B1868 000AE7A8 28 00 00 02 */ cmplwi r0, 2
/* 800B186C 000AE7AC 40 82 01 94 */ bne .L_800B1A00
/* 800B1870 000AE7B0 80 7E 02 C4 */ lwz r3, 0x2c4(r30)
/* 800B1874 000AE7B4 3C 03 00 01 */ addis r0, r3, 1
/* 800B1878 000AE7B8 28 00 FF FF */ cmplwi r0, 0xffff
/* 800B187C 000AE7BC 40 82 01 84 */ bne .L_800B1A00
/* 800B1880 000AE7C0 80 7E 03 08 */ lwz r3, 0x308(r30)
/* 800B1884 000AE7C4 88 03 00 02 */ lbz r0, 2(r3)
/* 800B1888 000AE7C8 28 00 00 00 */ cmplwi r0, 0
/* 800B188C 000AE7CC 40 82 01 74 */ bne .L_800B1A00
/* 800B1890 000AE7D0 88 1E 06 67 */ lbz r0, 0x667(r30)
/* 800B1894 000AE7D4 28 00 00 00 */ cmplwi r0, 0
/* 800B1898 000AE7D8 40 82 01 68 */ bne .L_800B1A00
/* 800B189C 000AE7DC 80 9E 00 44 */ lwz r4, 0x44(r30)
/* 800B18A0 000AE7E0 80 6D 8C 18 */ lwz r3, arcPointer__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B18A4 000AE7E4 A0 84 00 06 */ lhz r4, 6(r4)
/* 800B18A8 000AE7E8 4B FF 5D C9 */ bl getResSize__15JASResArcLoaderFP10JKRArchiveUs
/* 800B18AC 000AE7EC 80 9C 00 40 */ lwz r4, 0x40(r28)
/* 800B18B0 000AE7F0 7C 65 1B 78 */ mr r5, r3
/* 800B18B4 000AE7F4 38 7E 03 0C */ addi r3, r30, 0x30c
/* 800B18B8 000AE7F8 4B FE F5 C5 */ bl setSeqData__8JASTrackFPUcl
/* 800B18BC 000AE7FC 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B18C0 000AE800 3B 40 00 00 */ li r26, 0
/* 800B18C4 000AE804 80 8D 8C 08 */ lwz r4, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B18C8 000AE808 7F 58 D3 78 */ mr r24, r26
/* 800B18CC 000AE80C 88 03 00 14 */ lbz r0, 0x14(r3)
/* 800B18D0 000AE810 7F 5B D3 78 */ mr r27, r26
/* 800B18D4 000AE814 C3 A2 8C 40 */ lfs f29, lbl_80516FA0@sda21(r2)
/* 800B18D8 000AE818 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B18DC 000AE81C C0 02 8C 44 */ lfs f0, lbl_80516FA4@sda21(r2)
/* 800B18E0 000AE820 C3 C2 8C 48 */ lfs f30, lbl_80516FA8@sda21(r2)
/* 800B18E4 000AE824 C3 E2 8C 4C */ lfs f31, lbl_80516FAC@sda21(r2)
/* 800B18E8 000AE828 7F 24 02 14 */ add r25, r4, r0
/* 800B18EC 000AE82C D3 B9 00 0C */ stfs f29, 0xc(r25)
/* 800B18F0 000AE830 D0 19 00 18 */ stfs f0, 0x18(r25)
/* 800B18F4 000AE834 D3 B9 00 10 */ stfs f29, 0x10(r25)
/* 800B18F8 000AE838 D3 D9 00 14 */ stfs f30, 0x14(r25)
/* 800B18FC 000AE83C D3 D9 00 1C */ stfs f30, 0x1c(r25)
/* 800B1900 000AE840 D3 B9 00 20 */ stfs f29, 0x20(r25)
/* 800B1904 000AE844 48 00 00 3C */ b .L_800B1940
.L_800B1908:
/* 800B1908 000AE848 80 79 00 24 */ lwz r3, 0x24(r25)
/* 800B190C 000AE84C 3B 5A 00 01 */ addi r26, r26, 1
/* 800B1910 000AE850 7F A3 C5 2E */ stfsx f29, r3, r24
/* 800B1914 000AE854 80 79 00 30 */ lwz r3, 0x30(r25)
/* 800B1918 000AE858 7F E3 C5 2E */ stfsx f31, r3, r24
/* 800B191C 000AE85C 80 79 00 28 */ lwz r3, 0x28(r25)
/* 800B1920 000AE860 7F A3 C5 2E */ stfsx f29, r3, r24
/* 800B1924 000AE864 80 79 00 2C */ lwz r3, 0x2c(r25)
/* 800B1928 000AE868 7F C3 C5 2E */ stfsx f30, r3, r24
/* 800B192C 000AE86C 80 79 00 34 */ lwz r3, 0x34(r25)
/* 800B1930 000AE870 7F C3 C5 2E */ stfsx f30, r3, r24
/* 800B1934 000AE874 80 79 00 44 */ lwz r3, 0x44(r25)
/* 800B1938 000AE878 7F 63 C1 2E */ stwx r27, r3, r24
/* 800B193C 000AE87C 3B 18 00 04 */ addi r24, r24, 4
.L_800B1940:
/* 800B1940 000AE880 4B FF C1 6D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B1944 000AE884 7C 1A 18 40 */ cmplw r26, r3
/* 800B1948 000AE888 41 80 FF C0 */ blt .L_800B1908
/* 800B194C 000AE88C 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1950 000AE890 38 00 00 03 */ li r0, 3
/* 800B1954 000AE894 98 03 00 15 */ stb r0, 0x15(r3)
/* 800B1958 000AE898 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B195C 000AE89C 80 03 00 28 */ lwz r0, 0x28(r3)
/* 800B1960 000AE8A0 28 00 00 01 */ cmplwi r0, 1
/* 800B1964 000AE8A4 40 81 00 40 */ ble .L_800B19A4
/* 800B1968 000AE8A8 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B196C 000AE8AC 38 80 00 00 */ li r4, 0
/* 800B1970 000AE8B0 C0 22 8C 48 */ lfs f1, lbl_80516FA8@sda21(r2)
/* 800B1974 000AE8B4 38 A0 00 07 */ li r5, 7
/* 800B1978 000AE8B8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B197C 000AE8BC 7D 89 03 A6 */ mtctr r12
/* 800B1980 000AE8C0 4E 80 04 21 */ bctrl
/* 800B1984 000AE8C4 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B1988 000AE8C8 38 A0 00 07 */ li r5, 7
/* 800B198C 000AE8CC C0 22 8C 40 */ lfs f1, lbl_80516FA0@sda21(r2)
/* 800B1990 000AE8D0 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1994 000AE8D4 80 83 00 28 */ lwz r4, 0x28(r3)
/* 800B1998 000AE8D8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B199C 000AE8DC 7D 89 03 A6 */ mtctr r12
/* 800B19A0 000AE8E0 4E 80 04 21 */ bctrl
.L_800B19A4:
/* 800B19A4 000AE8E4 88 9C 00 00 */ lbz r4, 0(r28)
/* 800B19A8 000AE8E8 28 04 00 00 */ cmplwi r4, 0
/* 800B19AC 000AE8EC 41 82 00 18 */ beq .L_800B19C4
/* 800B19B0 000AE8F0 80 7C 00 48 */ lwz r3, 0x48(r28)
/* 800B19B4 000AE8F4 88 BC 00 01 */ lbz r5, 1(r28)
/* 800B19B8 000AE8F8 48 00 37 A1 */ bl setPauseMode__8JAISoundFUcUc
/* 800B19BC 000AE8FC C0 02 8C 50 */ lfs f0, lbl_80516FB0@sda21(r2)
/* 800B19C0 000AE900 D0 1C 00 0C */ stfs f0, 0xc(r28)
.L_800B19C4:
/* 800B19C4 000AE904 80 6D 8B 68 */ lwz r3, msBasic__8JAIBasic@sda21(r13)
/* 800B19C8 000AE908 80 9C 00 48 */ lwz r4, 0x48(r28)
/* 800B19CC 000AE90C 81 83 00 00 */ lwz r12, 0(r3)
/* 800B19D0 000AE910 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 800B19D4 000AE914 7D 89 03 A6 */ mtctr r12
/* 800B19D8 000AE918 4E 80 04 21 */ bctrl
/* 800B19DC 000AE91C 7F A3 EB 78 */ mr r3, r29
/* 800B19E0 000AE920 48 00 01 39 */ bl checkPlayingSeqTrack__Q27JAInter11SequenceMgrFUl
/* 800B19E4 000AE924 80 1C 00 48 */ lwz r0, 0x48(r28)
/* 800B19E8 000AE928 28 00 00 00 */ cmplwi r0, 0
/* 800B19EC 000AE92C 41 82 00 14 */ beq .L_800B1A00
/* 800B19F0 000AE930 7F 83 E3 78 */ mr r3, r28
/* 800B19F4 000AE934 48 00 76 91 */ bl rootInit__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateData
/* 800B19F8 000AE938 38 7E 03 0C */ addi r3, r30, 0x30c
/* 800B19FC 000AE93C 4B FE F4 E5 */ bl startSeq__8JASTrackFv
.L_800B1A00:
/* 800B1A00 000AE940 3B FF 00 50 */ addi r31, r31, 0x50
/* 800B1A04 000AE944 3B BD 00 01 */ addi r29, r29, 1
.L_800B1A08:
/* 800B1A08 000AE948 4B FF C0 C5 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1A0C 000AE94C 7C 1D 18 40 */ cmplw r29, r3
/* 800B1A10 000AE950 41 80 FE 40 */ blt .L_800B1850
/* 800B1A14 000AE954 E3 E1 00 58 */ psq_l f31, 88(r1), 0, qr0
/* 800B1A18 000AE958 CB E1 00 50 */ lfd f31, 0x50(r1)
/* 800B1A1C 000AE95C E3 C1 00 48 */ psq_l f30, 72(r1), 0, qr0
/* 800B1A20 000AE960 CB C1 00 40 */ lfd f30, 0x40(r1)
/* 800B1A24 000AE964 E3 A1 00 38 */ psq_l f29, 56(r1), 0, qr0
/* 800B1A28 000AE968 CB A1 00 30 */ lfd f29, 0x30(r1)
/* 800B1A2C 000AE96C BB 01 00 10 */ lmw r24, 0x10(r1)
/* 800B1A30 000AE970 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800B1A34 000AE974 7C 08 03 A6 */ mtlr r0
/* 800B1A38 000AE978 38 21 00 60 */ addi r1, r1, 0x60
/* 800B1A3C 000AE97C 4E 80 00 20 */ blr
.global checkSeqWave__Q27JAInter11SequenceMgrFv
checkSeqWave__Q27JAInter11SequenceMgrFv:
/* 800B1A40 000AE980 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B1A44 000AE984 7C 08 02 A6 */ mflr r0
/* 800B1A48 000AE988 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B1A4C 000AE98C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 800B1A50 000AE990 3B E0 00 00 */ li r31, 0
/* 800B1A54 000AE994 93 C1 00 08 */ stw r30, 8(r1)
/* 800B1A58 000AE998 3B C0 00 00 */ li r30, 0
/* 800B1A5C 000AE99C 48 00 00 98 */ b .L_800B1AF4
.L_800B1A60:
/* 800B1A60 000AE9A0 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1A64 000AE9A4 38 1F 00 48 */ addi r0, r31, 0x48
/* 800B1A68 000AE9A8 7C 63 00 2E */ lwzx r3, r3, r0
/* 800B1A6C 000AE9AC 28 03 00 00 */ cmplwi r3, 0
/* 800B1A70 000AE9B0 41 82 00 7C */ beq .L_800B1AEC
/* 800B1A74 000AE9B4 34 A3 00 48 */ addic. r5, r3, 0x48
/* 800B1A78 000AE9B8 41 82 00 74 */ beq .L_800B1AEC
/* 800B1A7C 000AE9BC 80 85 02 7C */ lwz r4, 0x27c(r5)
/* 800B1A80 000AE9C0 3C 04 00 01 */ addis r0, r4, 1
/* 800B1A84 000AE9C4 28 00 FF FF */ cmplwi r0, 0xffff
/* 800B1A88 000AE9C8 41 82 00 64 */ beq .L_800B1AEC
/* 800B1A8C 000AE9CC 80 CD 81 44 */ lwz r6, SceneSetFlag__Q27JAInter8BankWave@sda21(r13)
/* 800B1A90 000AE9D0 3C 06 00 01 */ addis r0, r6, 1
/* 800B1A94 000AE9D4 28 00 FF FF */ cmplwi r0, 0xffff
/* 800B1A98 000AE9D8 41 82 00 54 */ beq .L_800B1AEC
/* 800B1A9C 000AE9DC 7C 04 30 40 */ cmplw r4, r6
/* 800B1AA0 000AE9E0 41 82 00 44 */ beq .L_800B1AE4
/* 800B1AA4 000AE9E4 3C 04 01 00 */ addis r0, r4, 0x100
/* 800B1AA8 000AE9E8 28 00 FF 00 */ cmplwi r0, 0xff00
/* 800B1AAC 000AE9EC 41 82 00 38 */ beq .L_800B1AE4
/* 800B1AB0 000AE9F0 54 83 00 1E */ rlwinm r3, r4, 0, 0, 0xf
/* 800B1AB4 000AE9F4 54 C0 00 1E */ rlwinm r0, r6, 0, 0, 0xf
/* 800B1AB8 000AE9F8 7C 03 00 40 */ cmplw r3, r0
/* 800B1ABC 000AE9FC 40 82 00 0C */ bne .L_800B1AC8
/* 800B1AC0 000AEA00 28 04 FF FF */ cmplwi r4, 0xffff
/* 800B1AC4 000AEA04 41 82 00 20 */ beq .L_800B1AE4
.L_800B1AC8:
/* 800B1AC8 000AEA08 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 800B1ACC 000AEA0C 54 C0 04 3E */ clrlwi r0, r6, 0x10
/* 800B1AD0 000AEA10 7C 03 00 40 */ cmplw r3, r0
/* 800B1AD4 000AEA14 40 82 00 18 */ bne .L_800B1AEC
/* 800B1AD8 000AEA18 3C 04 00 01 */ addis r0, r4, 1
/* 800B1ADC 000AEA1C 28 00 00 00 */ cmplwi r0, 0
/* 800B1AE0 000AEA20 40 82 00 0C */ bne .L_800B1AEC
.L_800B1AE4:
/* 800B1AE4 000AEA24 38 00 FF FF */ li r0, -1
/* 800B1AE8 000AEA28 90 05 02 7C */ stw r0, 0x27c(r5)
.L_800B1AEC:
/* 800B1AEC 000AEA2C 3B FF 00 50 */ addi r31, r31, 0x50
/* 800B1AF0 000AEA30 3B DE 00 01 */ addi r30, r30, 1
.L_800B1AF4:
/* 800B1AF4 000AEA34 4B FF BF D9 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1AF8 000AEA38 7C 1E 18 40 */ cmplw r30, r3
/* 800B1AFC 000AEA3C 41 80 FF 64 */ blt .L_800B1A60
/* 800B1B00 000AEA40 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B1B04 000AEA44 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 800B1B08 000AEA48 83 C1 00 08 */ lwz r30, 8(r1)
/* 800B1B0C 000AEA4C 7C 08 03 A6 */ mtlr r0
/* 800B1B10 000AEA50 38 21 00 10 */ addi r1, r1, 0x10
/* 800B1B14 000AEA54 4E 80 00 20 */ blr
.global checkPlayingSeqTrack__Q27JAInter11SequenceMgrFUl
checkPlayingSeqTrack__Q27JAInter11SequenceMgrFUl:
/* 800B1B18 000AEA58 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 800B1B1C 000AEA5C 7C 08 02 A6 */ mflr r0
/* 800B1B20 000AEA60 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 800B1B24 000AEA64 DB E1 00 90 */ stfd f31, 0x90(r1)
/* 800B1B28 000AEA68 F3 E1 00 98 */ psq_st f31, 152(r1), 0, qr0
/* 800B1B2C 000AEA6C DB C1 00 80 */ stfd f30, 0x80(r1)
/* 800B1B30 000AEA70 F3 C1 00 88 */ psq_st f30, 136(r1), 0, qr0
/* 800B1B34 000AEA74 DB A1 00 70 */ stfd f29, 0x70(r1)
/* 800B1B38 000AEA78 F3 A1 00 78 */ psq_st f29, 120(r1), 0, qr0
/* 800B1B3C 000AEA7C DB 81 00 60 */ stfd f28, 0x60(r1)
/* 800B1B40 000AEA80 F3 81 00 68 */ psq_st f28, 104(r1), 0, qr0
/* 800B1B44 000AEA84 BE 81 00 30 */ stmw r20, 0x30(r1)
/* 800B1B48 000AEA88 1F A3 00 50 */ mulli r29, r3, 0x50
/* 800B1B4C 000AEA8C 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1B50 000AEA90 7F E0 EA 14 */ add r31, r0, r29
/* 800B1B54 000AEA94 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1B58 000AEA98 3B C3 00 48 */ addi r30, r3, 0x48
/* 800B1B5C 000AEA9C 88 03 02 C1 */ lbz r0, 0x2c1(r3)
/* 800B1B60 000AEAA0 28 00 00 02 */ cmplwi r0, 2
/* 800B1B64 000AEAA4 41 82 0F F8 */ beq .L_800B2B5C
/* 800B1B68 000AEAA8 83 9F 00 44 */ lwz r28, 0x44(r31)
/* 800B1B6C 000AEAAC 3A 80 00 00 */ li r20, 0
/* 800B1B70 000AEAB0 3A C0 00 00 */ li r22, 0
/* 800B1B74 000AEAB4 48 00 00 10 */ b .L_800B1B84
.L_800B1B78:
/* 800B1B78 000AEAB8 56 80 15 BA */ rlwinm r0, r20, 2, 0x16, 0x1d
/* 800B1B7C 000AEABC 3A 94 00 01 */ addi r20, r20, 1
/* 800B1B80 000AEAC0 7E DC 01 2E */ stwx r22, r28, r0
.L_800B1B84:
/* 800B1B84 000AEAC4 4B FF BF 29 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B1B88 000AEAC8 38 63 00 01 */ addi r3, r3, 1
/* 800B1B8C 000AEACC 56 80 06 3E */ clrlwi r0, r20, 0x18
/* 800B1B90 000AEAD0 7C 00 18 40 */ cmplw r0, r3
/* 800B1B94 000AEAD4 41 80 FF E4 */ blt .L_800B1B78
/* 800B1B98 000AEAD8 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B1B9C 000AEADC 54 00 07 BD */ rlwinm. r0, r0, 0, 0x1e, 0x1e
/* 800B1BA0 000AEAE0 41 82 00 80 */ beq .L_800B1C20
/* 800B1BA4 000AEAE4 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1BA8 000AEAE8 80 83 00 28 */ lwz r4, 0x28(r3)
/* 800B1BAC 000AEAEC 28 04 00 00 */ cmplwi r4, 0
/* 800B1BB0 000AEAF0 41 82 00 10 */ beq .L_800B1BC0
/* 800B1BB4 000AEAF4 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B1BB8 000AEAF8 28 00 00 04 */ cmplwi r0, 4
/* 800B1BBC 000AEAFC 40 80 00 34 */ bge .L_800B1BF0
.L_800B1BC0:
/* 800B1BC0 000AEB00 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B1BC4 000AEB04 28 00 00 03 */ cmplwi r0, 3
/* 800B1BC8 000AEB08 41 80 00 0C */ blt .L_800B1BD4
/* 800B1BCC 000AEB0C 38 7E 02 C4 */ addi r3, r30, 0x2c4
/* 800B1BD0 000AEB10 4B FE F3 89 */ bl stopSeq__8JASTrackFv
.L_800B1BD4:
/* 800B1BD4 000AEB14 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1BD8 000AEB18 48 00 1F 99 */ bl clearMainSoundPPointer__8JAISoundFv
/* 800B1BDC 000AEB1C 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1BE0 000AEB20 48 00 10 09 */ bl stopSeq__Q27JAInter11SequenceMgrFP11JAISequence
/* 800B1BE4 000AEB24 38 00 00 00 */ li r0, 0
/* 800B1BE8 000AEB28 90 1F 00 08 */ stw r0, 8(r31)
/* 800B1BEC 000AEB2C 48 00 0F 70 */ b .L_800B2B5C
.L_800B1BF0:
/* 800B1BF0 000AEB30 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1BF4 000AEB34 38 A0 00 07 */ li r5, 7
/* 800B1BF8 000AEB38 C0 22 8C 48 */ lfs f1, lbl_80516FA8@sda21(r2)
/* 800B1BFC 000AEB3C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B1C00 000AEB40 7D 89 03 A6 */ mtctr r12
/* 800B1C04 000AEB44 4E 80 04 21 */ bctrl
/* 800B1C08 000AEB48 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1C0C 000AEB4C 38 00 00 05 */ li r0, 5
/* 800B1C10 000AEB50 98 03 00 15 */ stb r0, 0x15(r3)
/* 800B1C14 000AEB54 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B1C18 000AEB58 68 00 00 02 */ xori r0, r0, 2
/* 800B1C1C 000AEB5C 90 1F 00 08 */ stw r0, 8(r31)
.L_800B1C20:
/* 800B1C20 000AEB60 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1C24 000AEB64 28 03 00 00 */ cmplwi r3, 0
/* 800B1C28 000AEB68 41 82 02 A0 */ beq .L_800B1EC8
/* 800B1C2C 000AEB6C 80 03 00 38 */ lwz r0, 0x38(r3)
/* 800B1C30 000AEB70 28 00 00 00 */ cmplwi r0, 0
/* 800B1C34 000AEB74 41 82 02 94 */ beq .L_800B1EC8
/* 800B1C38 000AEB78 88 63 00 18 */ lbz r3, 0x18(r3)
/* 800B1C3C 000AEB7C 28 03 00 04 */ cmplwi r3, 4
/* 800B1C40 000AEB80 40 82 00 14 */ bne .L_800B1C54
/* 800B1C44 000AEB84 3A 80 00 00 */ li r20, 0
/* 800B1C48 000AEB88 4B FF BF 3D */ bl getParamAudioCameraMax__18JAIGlobalParameterFv
/* 800B1C4C 000AEB8C 7C 79 1B 78 */ mr r25, r3
/* 800B1C50 000AEB90 48 00 00 0C */ b .L_800B1C5C
.L_800B1C54:
/* 800B1C54 000AEB94 7C 74 1B 78 */ mr r20, r3
/* 800B1C58 000AEB98 3B 23 00 01 */ addi r25, r3, 1
.L_800B1C5C:
/* 800B1C5C 000AEB9C 1E F4 00 1C */ mulli r23, r20, 0x1c
/* 800B1C60 000AEBA0 C3 E2 8C 48 */ lfs f31, lbl_80516FA8@sda21(r2)
/* 800B1C64 000AEBA4 C3 82 8C 70 */ lfs f28, lbl_80516FD0@sda21(r2)
/* 800B1C68 000AEBA8 7E 9A A3 78 */ mr r26, r20
/* 800B1C6C 000AEBAC CB A2 8C 78 */ lfd f29, lbl_80516FD8@sda21(r2)
/* 800B1C70 000AEBB0 3E C0 43 30 */ lis r22, 0x4330
/* 800B1C74 000AEBB4 1F 14 00 0C */ mulli r24, r20, 0xc
/* 800B1C78 000AEBB8 48 00 02 48 */ b .L_800B1EC0
.L_800B1C7C:
/* 800B1C7C 000AEBBC 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1C80 000AEBC0 38 18 00 08 */ addi r0, r24, 8
/* 800B1C84 000AEBC4 80 63 00 34 */ lwz r3, 0x34(r3)
/* 800B1C88 000AEBC8 7F 63 BA 14 */ add r27, r3, r23
/* 800B1C8C 000AEBCC C0 1B 00 00 */ lfs f0, 0(r27)
/* 800B1C90 000AEBD0 7F 65 DB 78 */ mr r5, r27
/* 800B1C94 000AEBD4 D0 1B 00 0C */ stfs f0, 0xc(r27)
/* 800B1C98 000AEBD8 C0 1B 00 04 */ lfs f0, 4(r27)
/* 800B1C9C 000AEBDC D0 1B 00 10 */ stfs f0, 0x10(r27)
/* 800B1CA0 000AEBE0 C0 1B 00 08 */ lfs f0, 8(r27)
/* 800B1CA4 000AEBE4 D0 1B 00 14 */ stfs f0, 0x14(r27)
/* 800B1CA8 000AEBE8 80 8D 8B 68 */ lwz r4, msBasic__8JAIBasic@sda21(r13)
/* 800B1CAC 000AEBEC 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1CB0 000AEBF0 80 C4 00 04 */ lwz r6, 4(r4)
/* 800B1CB4 000AEBF4 80 83 00 3C */ lwz r4, 0x3c(r3)
/* 800B1CB8 000AEBF8 7C 66 00 2E */ lwzx r3, r6, r0
/* 800B1CBC 000AEBFC 48 03 8F 1D */ bl PSMTXMultVec
/* 800B1CC0 000AEC00 C0 3B 00 00 */ lfs f1, 0(r27)
/* 800B1CC4 000AEC04 C0 1B 00 04 */ lfs f0, 4(r27)
/* 800B1CC8 000AEC08 EC 21 00 72 */ fmuls f1, f1, f1
/* 800B1CCC 000AEC0C C0 5B 00 08 */ lfs f2, 8(r27)
/* 800B1CD0 000AEC10 EC 00 00 32 */ fmuls f0, f0, f0
/* 800B1CD4 000AEC14 EC 42 00 B2 */ fmuls f2, f2, f2
/* 800B1CD8 000AEC18 EC 01 00 2A */ fadds f0, f1, f0
/* 800B1CDC 000AEC1C EC 82 00 2A */ fadds f4, f2, f0
/* 800B1CE0 000AEC20 FC 04 F8 40 */ fcmpo cr0, f4, f31
/* 800B1CE4 000AEC24 40 81 00 4C */ ble .L_800B1D30
/* 800B1CE8 000AEC28 FC 20 20 34 */ frsqrte f1, f4
/* 800B1CEC 000AEC2C C8 62 8C 58 */ lfd f3, lbl_80516FB8@sda21(r2)
/* 800B1CF0 000AEC30 C8 42 8C 60 */ lfd f2, lbl_80516FC0@sda21(r2)
/* 800B1CF4 000AEC34 FC 01 00 72 */ fmul f0, f1, f1
/* 800B1CF8 000AEC38 FC 23 00 72 */ fmul f1, f3, f1
/* 800B1CFC 000AEC3C FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 800B1D00 000AEC40 FC 21 00 32 */ fmul f1, f1, f0
/* 800B1D04 000AEC44 FC 01 00 72 */ fmul f0, f1, f1
/* 800B1D08 000AEC48 FC 23 00 72 */ fmul f1, f3, f1
/* 800B1D0C 000AEC4C FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 800B1D10 000AEC50 FC 21 00 32 */ fmul f1, f1, f0
/* 800B1D14 000AEC54 FC 01 00 72 */ fmul f0, f1, f1
/* 800B1D18 000AEC58 FC 23 00 72 */ fmul f1, f3, f1
/* 800B1D1C 000AEC5C FC 04 10 3C */ fnmsub f0, f4, f0, f2
/* 800B1D20 000AEC60 FC 01 00 32 */ fmul f0, f1, f0
/* 800B1D24 000AEC64 FC 84 00 32 */ fmul f4, f4, f0
/* 800B1D28 000AEC68 FC 80 20 18 */ frsp f4, f4
/* 800B1D2C 000AEC6C 48 00 00 88 */ b .L_800B1DB4
.L_800B1D30:
/* 800B1D30 000AEC70 C8 02 8C 68 */ lfd f0, lbl_80516FC8@sda21(r2)
/* 800B1D34 000AEC74 FC 04 00 40 */ fcmpo cr0, f4, f0
/* 800B1D38 000AEC78 40 80 00 10 */ bge .L_800B1D48
/* 800B1D3C 000AEC7C 3C 60 80 51 */ lis r3, __float_nan@ha
/* 800B1D40 000AEC80 C0 83 48 B0 */ lfs f4, __float_nan@l(r3)
/* 800B1D44 000AEC84 48 00 00 70 */ b .L_800B1DB4
.L_800B1D48:
/* 800B1D48 000AEC88 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 800B1D4C 000AEC8C 3C 00 7F 80 */ lis r0, 0x7f80
/* 800B1D50 000AEC90 80 81 00 0C */ lwz r4, 0xc(r1)
/* 800B1D54 000AEC94 54 83 00 50 */ rlwinm r3, r4, 0, 1, 8
/* 800B1D58 000AEC98 7C 03 00 00 */ cmpw r3, r0
/* 800B1D5C 000AEC9C 41 82 00 14 */ beq .L_800B1D70
/* 800B1D60 000AECA0 40 80 00 40 */ bge .L_800B1DA0
/* 800B1D64 000AECA4 2C 03 00 00 */ cmpwi r3, 0
/* 800B1D68 000AECA8 41 82 00 20 */ beq .L_800B1D88
/* 800B1D6C 000AECAC 48 00 00 34 */ b .L_800B1DA0
.L_800B1D70:
/* 800B1D70 000AECB0 54 80 02 7F */ clrlwi. r0, r4, 9
/* 800B1D74 000AECB4 41 82 00 0C */ beq .L_800B1D80
/* 800B1D78 000AECB8 38 00 00 01 */ li r0, 1
/* 800B1D7C 000AECBC 48 00 00 28 */ b .L_800B1DA4
.L_800B1D80:
/* 800B1D80 000AECC0 38 00 00 02 */ li r0, 2
/* 800B1D84 000AECC4 48 00 00 20 */ b .L_800B1DA4
.L_800B1D88:
/* 800B1D88 000AECC8 54 80 02 7F */ clrlwi. r0, r4, 9
/* 800B1D8C 000AECCC 41 82 00 0C */ beq .L_800B1D98
/* 800B1D90 000AECD0 38 00 00 05 */ li r0, 5
/* 800B1D94 000AECD4 48 00 00 10 */ b .L_800B1DA4
.L_800B1D98:
/* 800B1D98 000AECD8 38 00 00 03 */ li r0, 3
/* 800B1D9C 000AECDC 48 00 00 08 */ b .L_800B1DA4
.L_800B1DA0:
/* 800B1DA0 000AECE0 38 00 00 04 */ li r0, 4
.L_800B1DA4:
/* 800B1DA4 000AECE4 2C 00 00 01 */ cmpwi r0, 1
/* 800B1DA8 000AECE8 40 82 00 0C */ bne .L_800B1DB4
/* 800B1DAC 000AECEC 3C 60 80 51 */ lis r3, __float_nan@ha
/* 800B1DB0 000AECF0 C0 83 48 B0 */ lfs f4, __float_nan@l(r3)
.L_800B1DB4:
/* 800B1DB4 000AECF4 D0 9B 00 18 */ stfs f4, 0x18(r27)
/* 800B1DB8 000AECF8 4B FF BD 1D */ bl getParamDistanceMax__18JAIGlobalParameterFv
/* 800B1DBC 000AECFC 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1DC0 000AED00 38 80 00 00 */ li r4, 0
/* 800B1DC4 000AED04 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1DC8 000AED08 81 8C 00 BC */ lwz r12, 0xbc(r12)
/* 800B1DCC 000AED0C 7D 89 03 A6 */ mtctr r12
/* 800B1DD0 000AED10 4E 80 04 21 */ bctrl
/* 800B1DD4 000AED14 FF C0 08 90 */ fmr f30, f1
/* 800B1DD8 000AED18 4B FF BD 85 */ bl getParamDistanceParameterMoveTime__18JAIGlobalParameterFv
/* 800B1DDC 000AED1C EC 1C 07 B2 */ fmuls f0, f28, f30
/* 800B1DE0 000AED20 54 64 06 3E */ clrlwi r4, r3, 0x18
/* 800B1DE4 000AED24 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1DE8 000AED28 38 A0 00 04 */ li r5, 4
/* 800B1DEC 000AED2C 92 C1 00 18 */ stw r22, 0x18(r1)
/* 800B1DF0 000AED30 FC 00 00 1E */ fctiwz f0, f0
/* 800B1DF4 000AED34 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1DF8 000AED38 D8 01 00 10 */ stfd f0, 0x10(r1)
/* 800B1DFC 000AED3C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B1E00 000AED40 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B1E04 000AED44 54 00 06 3E */ clrlwi r0, r0, 0x18
/* 800B1E08 000AED48 90 01 00 1C */ stw r0, 0x1c(r1)
/* 800B1E0C 000AED4C C8 01 00 18 */ lfd f0, 0x18(r1)
/* 800B1E10 000AED50 EC 20 E8 28 */ fsubs f1, f0, f29
/* 800B1E14 000AED54 7D 89 03 A6 */ mtctr r12
/* 800B1E18 000AED58 4E 80 04 21 */ bctrl
/* 800B1E1C 000AED5C 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1E20 000AED60 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1E24 000AED64 81 8C 00 C0 */ lwz r12, 0xc0(r12)
/* 800B1E28 000AED68 7D 89 03 A6 */ mtctr r12
/* 800B1E2C 000AED6C 4E 80 04 21 */ bctrl
/* 800B1E30 000AED70 FF C0 08 90 */ fmr f30, f1
/* 800B1E34 000AED74 4B FF BD 29 */ bl getParamDistanceParameterMoveTime__18JAIGlobalParameterFv
/* 800B1E38 000AED78 FC 00 F0 1E */ fctiwz f0, f30
/* 800B1E3C 000AED7C 54 64 06 3E */ clrlwi r4, r3, 0x18
/* 800B1E40 000AED80 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1E44 000AED84 38 A0 00 04 */ li r5, 4
/* 800B1E48 000AED88 92 C1 00 28 */ stw r22, 0x28(r1)
/* 800B1E4C 000AED8C 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1E50 000AED90 D8 01 00 20 */ stfd f0, 0x20(r1)
/* 800B1E54 000AED94 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 800B1E58 000AED98 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B1E5C 000AED9C 54 00 06 3E */ clrlwi r0, r0, 0x18
/* 800B1E60 000AEDA0 90 01 00 2C */ stw r0, 0x2c(r1)
/* 800B1E64 000AEDA4 C8 01 00 28 */ lfd f0, 0x28(r1)
/* 800B1E68 000AEDA8 EC 20 E8 28 */ fsubs f1, f0, f29
/* 800B1E6C 000AEDAC 7D 89 03 A6 */ mtctr r12
/* 800B1E70 000AEDB0 4E 80 04 21 */ bctrl
/* 800B1E74 000AEDB4 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1E78 000AEDB8 38 80 01 00 */ li r4, 0x100
/* 800B1E7C 000AEDBC 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1E80 000AEDC0 81 8C 00 B8 */ lwz r12, 0xb8(r12)
/* 800B1E84 000AEDC4 7D 89 03 A6 */ mtctr r12
/* 800B1E88 000AEDC8 4E 80 04 21 */ bctrl
/* 800B1E8C 000AEDCC FF C0 08 90 */ fmr f30, f1
/* 800B1E90 000AEDD0 4B FF BC C5 */ bl getParamDopplarMoveTime__18JAIGlobalParameterFv
/* 800B1E94 000AEDD4 7C 64 1B 78 */ mr r4, r3
/* 800B1E98 000AEDD8 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B1E9C 000AEDDC FC 20 F0 90 */ fmr f1, f30
/* 800B1EA0 000AEDE0 38 A0 00 04 */ li r5, 4
/* 800B1EA4 000AEDE4 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B1EA8 000AEDE8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 800B1EAC 000AEDEC 7D 89 03 A6 */ mtctr r12
/* 800B1EB0 000AEDF0 4E 80 04 21 */ bctrl
/* 800B1EB4 000AEDF4 3A F7 00 1C */ addi r23, r23, 0x1c
/* 800B1EB8 000AEDF8 3B 18 00 0C */ addi r24, r24, 0xc
/* 800B1EBC 000AEDFC 3B 5A 00 01 */ addi r26, r26, 1
.L_800B1EC0:
/* 800B1EC0 000AEE00 7C 1A C8 40 */ cmplw r26, r25
/* 800B1EC4 000AEE04 41 80 FD B8 */ blt .L_800B1C7C
.L_800B1EC8:
/* 800B1EC8 000AEE08 80 9F 00 48 */ lwz r4, 0x48(r31)
/* 800B1ECC 000AEE0C 28 04 00 00 */ cmplwi r4, 0
/* 800B1ED0 000AEE10 41 82 00 10 */ beq .L_800B1EE0
/* 800B1ED4 000AEE14 80 64 00 2C */ lwz r3, 0x2c(r4)
/* 800B1ED8 000AEE18 38 03 00 01 */ addi r0, r3, 1
/* 800B1EDC 000AEE1C 90 04 00 2C */ stw r0, 0x2c(r4)
.L_800B1EE0:
/* 800B1EE0 000AEE20 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B1EE4 000AEE24 28 00 00 00 */ cmplwi r0, 0
/* 800B1EE8 000AEE28 41 82 0C 74 */ beq .L_800B2B5C
/* 800B1EEC 000AEE2C 4B FF BB E1 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B1EF0 000AEE30 83 4D 8C 08 */ lwz r26, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1EF4 000AEE34 3B 7D 00 08 */ addi r27, r29, 8
/* 800B1EF8 000AEE38 38 63 00 0C */ addi r3, r3, 0xc
/* 800B1EFC 000AEE3C 7C 1A D8 2E */ lwzx r0, r26, r27
/* 800B1F00 000AEE40 54 77 06 3E */ clrlwi r23, r3, 0x18
/* 800B1F04 000AEE44 54 00 03 5B */ rlwinm. r0, r0, 0, 0xd, 0xd
/* 800B1F08 000AEE48 41 82 00 CC */ beq .L_800B1FD4
/* 800B1F0C 000AEE4C C3 82 8C 40 */ lfs f28, lbl_80516FA0@sda21(r2)
/* 800B1F10 000AEE50 3B 20 00 00 */ li r25, 0
/* 800B1F14 000AEE54 3A C0 00 01 */ li r22, 1
/* 800B1F18 000AEE58 48 00 00 4C */ b .L_800B1F64
.L_800B1F1C:
/* 800B1F1C 000AEE5C 57 23 06 3E */ clrlwi r3, r25, 0x18
/* 800B1F20 000AEE60 80 1E 02 84 */ lwz r0, 0x284(r30)
/* 800B1F24 000AEE64 7E D5 18 30 */ slw r21, r22, r3
/* 800B1F28 000AEE68 57 23 25 36 */ rlwinm r3, r25, 4, 0x14, 0x1b
/* 800B1F2C 000AEE6C 7C 00 A8 39 */ and. r0, r0, r21
/* 800B1F30 000AEE70 7F 1E 1A 14 */ add r24, r30, r3
/* 800B1F34 000AEE74 3B 18 01 10 */ addi r24, r24, 0x110
/* 800B1F38 000AEE78 41 82 00 20 */ beq .L_800B1F58
/* 800B1F3C 000AEE7C 7F 03 C3 78 */ mr r3, r24
/* 800B1F40 000AEE80 48 00 39 B1 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B1F44 000AEE84 2C 03 00 00 */ cmpwi r3, 0
/* 800B1F48 000AEE88 40 82 00 10 */ bne .L_800B1F58
/* 800B1F4C 000AEE8C 80 1E 02 84 */ lwz r0, 0x284(r30)
/* 800B1F50 000AEE90 7C 00 AA 78 */ xor r0, r0, r21
/* 800B1F54 000AEE94 90 1E 02 84 */ stw r0, 0x284(r30)
.L_800B1F58:
/* 800B1F58 000AEE98 C0 18 00 04 */ lfs f0, 4(r24)
/* 800B1F5C 000AEE9C 3B 39 00 01 */ addi r25, r25, 1
/* 800B1F60 000AEEA0 EF 9C 00 32 */ fmuls f28, f28, f0
.L_800B1F64:
/* 800B1F64 000AEEA4 57 20 06 3E */ clrlwi r0, r25, 0x18
/* 800B1F68 000AEEA8 7C 00 B8 40 */ cmplw r0, r23
/* 800B1F6C 000AEEAC 41 80 FF B0 */ blt .L_800B1F1C
/* 800B1F70 000AEEB0 C0 1F 00 0C */ lfs f0, 0xc(r31)
/* 800B1F74 000AEEB4 FC 00 E0 00 */ fcmpu cr0, f0, f28
/* 800B1F78 000AEEB8 41 82 00 44 */ beq .L_800B1FBC
/* 800B1F7C 000AEEBC D3 9F 00 0C */ stfs f28, 0xc(r31)
/* 800B1F80 000AEEC0 4B FF BB 2D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B1F84 000AEEC4 FC 20 E0 90 */ fmr f1, f28
/* 800B1F88 000AEEC8 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1F8C 000AEECC 7C 64 1B 78 */ mr r4, r3
/* 800B1F90 000AEED0 38 A0 00 03 */ li r5, 3
/* 800B1F94 000AEED4 7C 60 EA 14 */ add r3, r0, r29
/* 800B1F98 000AEED8 48 00 70 B5 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B1F9C 000AEEDC 4B FF BB 11 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B1FA0 000AEEE0 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1FA4 000AEEE4 54 64 10 3A */ slwi r4, r3, 2
/* 800B1FA8 000AEEE8 7C 60 EA 14 */ add r3, r0, r29
/* 800B1FAC 000AEEEC 80 63 00 44 */ lwz r3, 0x44(r3)
/* 800B1FB0 000AEEF0 7C 03 20 2E */ lwzx r0, r3, r4
/* 800B1FB4 000AEEF4 60 00 00 01 */ ori r0, r0, 1
/* 800B1FB8 000AEEF8 7C 03 21 2E */ stwx r0, r3, r4
.L_800B1FBC:
/* 800B1FBC 000AEEFC 80 1E 02 84 */ lwz r0, 0x284(r30)
/* 800B1FC0 000AEF00 28 00 00 00 */ cmplwi r0, 0
/* 800B1FC4 000AEF04 40 82 00 10 */ bne .L_800B1FD4
/* 800B1FC8 000AEF08 7C 1A D8 2E */ lwzx r0, r26, r27
/* 800B1FCC 000AEF0C 6C 00 00 04 */ xoris r0, r0, 4
/* 800B1FD0 000AEF10 7C 1A D9 2E */ stwx r0, r26, r27
.L_800B1FD4:
/* 800B1FD4 000AEF14 83 1E 02 50 */ lwz r24, 0x250(r30)
/* 800B1FD8 000AEF18 4B FF BB B5 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B1FDC 000AEF1C 83 4D 8C 08 */ lwz r26, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B1FE0 000AEF20 3B 3D 00 08 */ addi r25, r29, 8
/* 800B1FE4 000AEF24 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B1FE8 000AEF28 54 00 03 19 */ rlwinm. r0, r0, 0, 0xc, 0xc
/* 800B1FEC 000AEF2C 41 82 01 00 */ beq .L_800B20EC
/* 800B1FF0 000AEF30 C3 82 8C 48 */ lfs f28, lbl_80516FA8@sda21(r2)
/* 800B1FF4 000AEF34 54 76 06 3E */ clrlwi r22, r3, 0x18
/* 800B1FF8 000AEF38 C3 E2 8C 44 */ lfs f31, lbl_80516FA4@sda21(r2)
/* 800B1FFC 000AEF3C 3B 60 00 00 */ li r27, 0
/* 800B2000 000AEF40 3A E0 00 01 */ li r23, 1
/* 800B2004 000AEF44 48 00 00 4C */ b .L_800B2050
.L_800B2008:
/* 800B2008 000AEF48 57 63 06 3E */ clrlwi r3, r27, 0x18
/* 800B200C 000AEF4C 80 1E 02 88 */ lwz r0, 0x288(r30)
/* 800B2010 000AEF50 7E F4 18 30 */ slw r20, r23, r3
/* 800B2014 000AEF54 57 63 25 36 */ rlwinm r3, r27, 4, 0x14, 0x1b
/* 800B2018 000AEF58 7C 00 A0 39 */ and. r0, r0, r20
/* 800B201C 000AEF5C 7E B8 1A 14 */ add r21, r24, r3
/* 800B2020 000AEF60 41 82 00 20 */ beq .L_800B2040
/* 800B2024 000AEF64 7E A3 AB 78 */ mr r3, r21
/* 800B2028 000AEF68 48 00 38 C9 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B202C 000AEF6C 2C 03 00 00 */ cmpwi r3, 0
/* 800B2030 000AEF70 40 82 00 10 */ bne .L_800B2040
/* 800B2034 000AEF74 80 1E 02 88 */ lwz r0, 0x288(r30)
/* 800B2038 000AEF78 7C 00 A2 78 */ xor r0, r0, r20
/* 800B203C 000AEF7C 90 1E 02 88 */ stw r0, 0x288(r30)
.L_800B2040:
/* 800B2040 000AEF80 C0 15 00 04 */ lfs f0, 4(r21)
/* 800B2044 000AEF84 3B 7B 00 01 */ addi r27, r27, 1
/* 800B2048 000AEF88 EC 00 F8 28 */ fsubs f0, f0, f31
/* 800B204C 000AEF8C EF 9C 00 2A */ fadds f28, f28, f0
.L_800B2050:
/* 800B2050 000AEF90 57 60 06 3E */ clrlwi r0, r27, 0x18
/* 800B2054 000AEF94 7C 00 B0 40 */ cmplw r0, r22
/* 800B2058 000AEF98 41 80 FF B0 */ blt .L_800B2008
/* 800B205C 000AEF9C C0 22 8C 44 */ lfs f1, lbl_80516FA4@sda21(r2)
/* 800B2060 000AEFA0 C0 02 8C 40 */ lfs f0, lbl_80516FA0@sda21(r2)
/* 800B2064 000AEFA4 EF 9C 08 2A */ fadds f28, f28, f1
/* 800B2068 000AEFA8 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 800B206C 000AEFAC 40 81 00 0C */ ble .L_800B2078
/* 800B2070 000AEFB0 FF 80 00 90 */ fmr f28, f0
/* 800B2074 000AEFB4 48 00 00 14 */ b .L_800B2088
.L_800B2078:
/* 800B2078 000AEFB8 C0 02 8C 48 */ lfs f0, lbl_80516FA8@sda21(r2)
/* 800B207C 000AEFBC FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 800B2080 000AEFC0 40 80 00 08 */ bge .L_800B2088
/* 800B2084 000AEFC4 FF 80 00 90 */ fmr f28, f0
.L_800B2088:
/* 800B2088 000AEFC8 C0 1F 00 18 */ lfs f0, 0x18(r31)
/* 800B208C 000AEFCC FC 00 E0 00 */ fcmpu cr0, f0, f28
/* 800B2090 000AEFD0 41 82 00 44 */ beq .L_800B20D4
/* 800B2094 000AEFD4 D3 9F 00 18 */ stfs f28, 0x18(r31)
/* 800B2098 000AEFD8 4B FF BA 15 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B209C 000AEFDC FC 20 E0 90 */ fmr f1, f28
/* 800B20A0 000AEFE0 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B20A4 000AEFE4 7C 64 1B 78 */ mr r4, r3
/* 800B20A8 000AEFE8 38 A0 00 05 */ li r5, 5
/* 800B20AC 000AEFEC 7C 60 EA 14 */ add r3, r0, r29
/* 800B20B0 000AEFF0 48 00 6F 9D */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B20B4 000AEFF4 4B FF B9 F9 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B20B8 000AEFF8 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B20BC 000AEFFC 54 64 10 3A */ slwi r4, r3, 2
/* 800B20C0 000AF000 7C 60 EA 14 */ add r3, r0, r29
/* 800B20C4 000AF004 80 63 00 44 */ lwz r3, 0x44(r3)
/* 800B20C8 000AF008 7C 03 20 2E */ lwzx r0, r3, r4
/* 800B20CC 000AF00C 60 00 00 04 */ ori r0, r0, 4
/* 800B20D0 000AF010 7C 03 21 2E */ stwx r0, r3, r4
.L_800B20D4:
/* 800B20D4 000AF014 80 1E 02 88 */ lwz r0, 0x288(r30)
/* 800B20D8 000AF018 28 00 00 00 */ cmplwi r0, 0
/* 800B20DC 000AF01C 40 82 00 10 */ bne .L_800B20EC
/* 800B20E0 000AF020 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B20E4 000AF024 6C 00 00 08 */ xoris r0, r0, 8
/* 800B20E8 000AF028 7C 1A C9 2E */ stwx r0, r26, r25
.L_800B20EC:
/* 800B20EC 000AF02C 83 7E 02 54 */ lwz r27, 0x254(r30)
/* 800B20F0 000AF030 4B FF BA 9D */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B20F4 000AF034 83 4D 8C 08 */ lwz r26, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B20F8 000AF038 3B 3D 00 08 */ addi r25, r29, 8
/* 800B20FC 000AF03C 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B2100 000AF040 54 00 02 D7 */ rlwinm. r0, r0, 0, 0xb, 0xb
/* 800B2104 000AF044 41 82 00 CC */ beq .L_800B21D0
/* 800B2108 000AF048 C3 82 8C 40 */ lfs f28, lbl_80516FA0@sda21(r2)
/* 800B210C 000AF04C 54 76 06 3E */ clrlwi r22, r3, 0x18
/* 800B2110 000AF050 3B 00 00 00 */ li r24, 0
/* 800B2114 000AF054 3A E0 00 01 */ li r23, 1
/* 800B2118 000AF058 48 00 00 48 */ b .L_800B2160
.L_800B211C:
/* 800B211C 000AF05C 57 03 06 3E */ clrlwi r3, r24, 0x18
/* 800B2120 000AF060 80 1E 02 8C */ lwz r0, 0x28c(r30)
/* 800B2124 000AF064 7E F4 18 30 */ slw r20, r23, r3
/* 800B2128 000AF068 57 03 25 36 */ rlwinm r3, r24, 4, 0x14, 0x1b
/* 800B212C 000AF06C 7C 00 A0 39 */ and. r0, r0, r20
/* 800B2130 000AF070 7E BB 1A 14 */ add r21, r27, r3
/* 800B2134 000AF074 41 82 00 20 */ beq .L_800B2154
/* 800B2138 000AF078 7E A3 AB 78 */ mr r3, r21
/* 800B213C 000AF07C 48 00 37 B5 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B2140 000AF080 2C 03 00 00 */ cmpwi r3, 0
/* 800B2144 000AF084 40 82 00 10 */ bne .L_800B2154
/* 800B2148 000AF088 80 1E 02 8C */ lwz r0, 0x28c(r30)
/* 800B214C 000AF08C 7C 00 A2 78 */ xor r0, r0, r20
/* 800B2150 000AF090 90 1E 02 8C */ stw r0, 0x28c(r30)
.L_800B2154:
/* 800B2154 000AF094 C0 15 00 04 */ lfs f0, 4(r21)
/* 800B2158 000AF098 3B 18 00 01 */ addi r24, r24, 1
/* 800B215C 000AF09C EF 9C 00 32 */ fmuls f28, f28, f0
.L_800B2160:
/* 800B2160 000AF0A0 57 00 06 3E */ clrlwi r0, r24, 0x18
/* 800B2164 000AF0A4 7C 00 B0 40 */ cmplw r0, r22
/* 800B2168 000AF0A8 41 80 FF B4 */ blt .L_800B211C
/* 800B216C 000AF0AC C0 1F 00 10 */ lfs f0, 0x10(r31)
/* 800B2170 000AF0B0 FC 00 E0 00 */ fcmpu cr0, f0, f28
/* 800B2174 000AF0B4 41 82 00 44 */ beq .L_800B21B8
/* 800B2178 000AF0B8 D3 9F 00 10 */ stfs f28, 0x10(r31)
/* 800B217C 000AF0BC 4B FF B9 31 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2180 000AF0C0 FC 20 E0 90 */ fmr f1, f28
/* 800B2184 000AF0C4 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2188 000AF0C8 7C 64 1B 78 */ mr r4, r3
/* 800B218C 000AF0CC 38 A0 00 04 */ li r5, 4
/* 800B2190 000AF0D0 7C 60 EA 14 */ add r3, r0, r29
/* 800B2194 000AF0D4 48 00 6E B9 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B2198 000AF0D8 4B FF B9 15 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B219C 000AF0DC 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B21A0 000AF0E0 54 64 10 3A */ slwi r4, r3, 2
/* 800B21A4 000AF0E4 7C 60 EA 14 */ add r3, r0, r29
/* 800B21A8 000AF0E8 80 63 00 44 */ lwz r3, 0x44(r3)
/* 800B21AC 000AF0EC 7C 03 20 2E */ lwzx r0, r3, r4
/* 800B21B0 000AF0F0 60 00 00 02 */ ori r0, r0, 2
/* 800B21B4 000AF0F4 7C 03 21 2E */ stwx r0, r3, r4
.L_800B21B8:
/* 800B21B8 000AF0F8 80 1E 02 8C */ lwz r0, 0x28c(r30)
/* 800B21BC 000AF0FC 28 00 00 00 */ cmplwi r0, 0
/* 800B21C0 000AF100 40 82 00 10 */ bne .L_800B21D0
/* 800B21C4 000AF104 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B21C8 000AF108 6C 00 00 10 */ xoris r0, r0, 0x10
/* 800B21CC 000AF10C 7C 1A C9 2E */ stwx r0, r26, r25
.L_800B21D0:
/* 800B21D0 000AF110 83 7E 02 58 */ lwz r27, 0x258(r30)
/* 800B21D4 000AF114 4B FF B9 B9 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B21D8 000AF118 83 4D 8C 08 */ lwz r26, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B21DC 000AF11C 3B 3D 00 08 */ addi r25, r29, 8
/* 800B21E0 000AF120 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B21E4 000AF124 54 00 02 95 */ rlwinm. r0, r0, 0, 0xa, 0xa
/* 800B21E8 000AF128 41 82 00 FC */ beq .L_800B22E4
/* 800B21EC 000AF12C C3 82 8C 48 */ lfs f28, lbl_80516FA8@sda21(r2)
/* 800B21F0 000AF130 54 76 06 3E */ clrlwi r22, r3, 0x18
/* 800B21F4 000AF134 3B 00 00 00 */ li r24, 0
/* 800B21F8 000AF138 3A E0 00 01 */ li r23, 1
/* 800B21FC 000AF13C FF E0 E0 90 */ fmr f31, f28
/* 800B2200 000AF140 48 00 00 4C */ b .L_800B224C
.L_800B2204:
/* 800B2204 000AF144 57 03 06 3E */ clrlwi r3, r24, 0x18
/* 800B2208 000AF148 80 1E 02 90 */ lwz r0, 0x290(r30)
/* 800B220C 000AF14C 7E F4 18 30 */ slw r20, r23, r3
/* 800B2210 000AF150 57 03 25 36 */ rlwinm r3, r24, 4, 0x14, 0x1b
/* 800B2214 000AF154 7C 00 A0 39 */ and. r0, r0, r20
/* 800B2218 000AF158 7E BB 1A 14 */ add r21, r27, r3
/* 800B221C 000AF15C 41 82 00 20 */ beq .L_800B223C
/* 800B2220 000AF160 7E A3 AB 78 */ mr r3, r21
/* 800B2224 000AF164 48 00 36 CD */ bl move__Q27JAInter11MoveParaSetFv
/* 800B2228 000AF168 2C 03 00 00 */ cmpwi r3, 0
/* 800B222C 000AF16C 40 82 00 10 */ bne .L_800B223C
/* 800B2230 000AF170 80 1E 02 90 */ lwz r0, 0x290(r30)
/* 800B2234 000AF174 7C 00 A2 78 */ xor r0, r0, r20
/* 800B2238 000AF178 90 1E 02 90 */ stw r0, 0x290(r30)
.L_800B223C:
/* 800B223C 000AF17C C0 15 00 04 */ lfs f0, 4(r21)
/* 800B2240 000AF180 3B 18 00 01 */ addi r24, r24, 1
/* 800B2244 000AF184 EC 00 F8 28 */ fsubs f0, f0, f31
/* 800B2248 000AF188 EF 9C 00 2A */ fadds f28, f28, f0
.L_800B224C:
/* 800B224C 000AF18C 57 00 06 3E */ clrlwi r0, r24, 0x18
/* 800B2250 000AF190 7C 00 B0 40 */ cmplw r0, r22
/* 800B2254 000AF194 41 80 FF B0 */ blt .L_800B2204
/* 800B2258 000AF198 C0 22 8C 48 */ lfs f1, lbl_80516FA8@sda21(r2)
/* 800B225C 000AF19C C0 02 8C 40 */ lfs f0, lbl_80516FA0@sda21(r2)
/* 800B2260 000AF1A0 EF 9C 08 2A */ fadds f28, f28, f1
/* 800B2264 000AF1A4 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 800B2268 000AF1A8 40 81 00 0C */ ble .L_800B2274
/* 800B226C 000AF1AC FF 80 00 90 */ fmr f28, f0
/* 800B2270 000AF1B0 48 00 00 10 */ b .L_800B2280
.L_800B2274:
/* 800B2274 000AF1B4 FC 1C 08 40 */ fcmpo cr0, f28, f1
/* 800B2278 000AF1B8 40 80 00 08 */ bge .L_800B2280
/* 800B227C 000AF1BC FF 80 08 90 */ fmr f28, f1
.L_800B2280:
/* 800B2280 000AF1C0 C0 1F 00 14 */ lfs f0, 0x14(r31)
/* 800B2284 000AF1C4 FC 00 E0 00 */ fcmpu cr0, f0, f28
/* 800B2288 000AF1C8 41 82 00 44 */ beq .L_800B22CC
/* 800B228C 000AF1CC D3 9F 00 14 */ stfs f28, 0x14(r31)
/* 800B2290 000AF1D0 4B FF B8 1D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2294 000AF1D4 FC 20 E0 90 */ fmr f1, f28
/* 800B2298 000AF1D8 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B229C 000AF1DC 7C 64 1B 78 */ mr r4, r3
/* 800B22A0 000AF1E0 38 A0 00 06 */ li r5, 6
/* 800B22A4 000AF1E4 7C 60 EA 14 */ add r3, r0, r29
/* 800B22A8 000AF1E8 48 00 6D A5 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B22AC 000AF1EC 4B FF B8 01 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B22B0 000AF1F0 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B22B4 000AF1F4 54 64 10 3A */ slwi r4, r3, 2
/* 800B22B8 000AF1F8 7C 60 EA 14 */ add r3, r0, r29
/* 800B22BC 000AF1FC 80 63 00 44 */ lwz r3, 0x44(r3)
/* 800B22C0 000AF200 7C 03 20 2E */ lwzx r0, r3, r4
/* 800B22C4 000AF204 60 00 00 08 */ ori r0, r0, 8
/* 800B22C8 000AF208 7C 03 21 2E */ stwx r0, r3, r4
.L_800B22CC:
/* 800B22CC 000AF20C 80 1E 02 90 */ lwz r0, 0x290(r30)
/* 800B22D0 000AF210 28 00 00 00 */ cmplwi r0, 0
/* 800B22D4 000AF214 40 82 00 10 */ bne .L_800B22E4
/* 800B22D8 000AF218 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B22DC 000AF21C 6C 00 00 20 */ xoris r0, r0, 0x20
/* 800B22E0 000AF220 7C 1A C9 2E */ stwx r0, r26, r25
.L_800B22E4:
/* 800B22E4 000AF224 83 7E 02 5C */ lwz r27, 0x25c(r30)
/* 800B22E8 000AF228 4B FF B8 A5 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B22EC 000AF22C 83 4D 8C 08 */ lwz r26, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B22F0 000AF230 3B 3D 00 08 */ addi r25, r29, 8
/* 800B22F4 000AF234 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B22F8 000AF238 54 00 02 53 */ rlwinm. r0, r0, 0, 9, 9
/* 800B22FC 000AF23C 41 82 01 00 */ beq .L_800B23FC
/* 800B2300 000AF240 C3 82 8C 48 */ lfs f28, lbl_80516FA8@sda21(r2)
/* 800B2304 000AF244 54 77 06 3E */ clrlwi r23, r3, 0x18
/* 800B2308 000AF248 C3 E2 8C 44 */ lfs f31, lbl_80516FA4@sda21(r2)
/* 800B230C 000AF24C 3B 00 00 00 */ li r24, 0
/* 800B2310 000AF250 3A C0 00 01 */ li r22, 1
/* 800B2314 000AF254 48 00 00 4C */ b .L_800B2360
.L_800B2318:
/* 800B2318 000AF258 57 03 06 3E */ clrlwi r3, r24, 0x18
/* 800B231C 000AF25C 80 1E 02 94 */ lwz r0, 0x294(r30)
/* 800B2320 000AF260 7E D4 18 30 */ slw r20, r22, r3
/* 800B2324 000AF264 57 03 25 36 */ rlwinm r3, r24, 4, 0x14, 0x1b
/* 800B2328 000AF268 7C 00 A0 39 */ and. r0, r0, r20
/* 800B232C 000AF26C 7E BB 1A 14 */ add r21, r27, r3
/* 800B2330 000AF270 41 82 00 20 */ beq .L_800B2350
/* 800B2334 000AF274 7E A3 AB 78 */ mr r3, r21
/* 800B2338 000AF278 48 00 35 B9 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B233C 000AF27C 2C 03 00 00 */ cmpwi r3, 0
/* 800B2340 000AF280 40 82 00 10 */ bne .L_800B2350
/* 800B2344 000AF284 80 1E 02 94 */ lwz r0, 0x294(r30)
/* 800B2348 000AF288 7C 00 A2 78 */ xor r0, r0, r20
/* 800B234C 000AF28C 90 1E 02 94 */ stw r0, 0x294(r30)
.L_800B2350:
/* 800B2350 000AF290 C0 15 00 04 */ lfs f0, 4(r21)
/* 800B2354 000AF294 3B 18 00 01 */ addi r24, r24, 1
/* 800B2358 000AF298 EC 00 F8 28 */ fsubs f0, f0, f31
/* 800B235C 000AF29C EF 9C 00 2A */ fadds f28, f28, f0
.L_800B2360:
/* 800B2360 000AF2A0 57 00 06 3E */ clrlwi r0, r24, 0x18
/* 800B2364 000AF2A4 7C 00 B8 40 */ cmplw r0, r23
/* 800B2368 000AF2A8 41 80 FF B0 */ blt .L_800B2318
/* 800B236C 000AF2AC C0 22 8C 44 */ lfs f1, lbl_80516FA4@sda21(r2)
/* 800B2370 000AF2B0 C0 02 8C 40 */ lfs f0, lbl_80516FA0@sda21(r2)
/* 800B2374 000AF2B4 EF 9C 08 2A */ fadds f28, f28, f1
/* 800B2378 000AF2B8 FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 800B237C 000AF2BC 40 81 00 0C */ ble .L_800B2388
/* 800B2380 000AF2C0 FF 80 00 90 */ fmr f28, f0
/* 800B2384 000AF2C4 48 00 00 14 */ b .L_800B2398
.L_800B2388:
/* 800B2388 000AF2C8 C0 02 8C 48 */ lfs f0, lbl_80516FA8@sda21(r2)
/* 800B238C 000AF2CC FC 1C 00 40 */ fcmpo cr0, f28, f0
/* 800B2390 000AF2D0 40 80 00 08 */ bge .L_800B2398
/* 800B2394 000AF2D4 FF 80 00 90 */ fmr f28, f0
.L_800B2398:
/* 800B2398 000AF2D8 C0 1F 00 1C */ lfs f0, 0x1c(r31)
/* 800B239C 000AF2DC FC 00 E0 00 */ fcmpu cr0, f0, f28
/* 800B23A0 000AF2E0 41 82 00 44 */ beq .L_800B23E4
/* 800B23A4 000AF2E4 D3 9F 00 1C */ stfs f28, 0x1c(r31)
/* 800B23A8 000AF2E8 4B FF B7 05 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B23AC 000AF2EC FC 20 E0 90 */ fmr f1, f28
/* 800B23B0 000AF2F0 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B23B4 000AF2F4 7C 64 1B 78 */ mr r4, r3
/* 800B23B8 000AF2F8 38 A0 00 07 */ li r5, 7
/* 800B23BC 000AF2FC 7C 60 EA 14 */ add r3, r0, r29
/* 800B23C0 000AF300 48 00 6C 8D */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B23C4 000AF304 4B FF B6 E9 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B23C8 000AF308 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B23CC 000AF30C 54 64 10 3A */ slwi r4, r3, 2
/* 800B23D0 000AF310 7C 60 EA 14 */ add r3, r0, r29
/* 800B23D4 000AF314 80 63 00 44 */ lwz r3, 0x44(r3)
/* 800B23D8 000AF318 7C 03 20 2E */ lwzx r0, r3, r4
/* 800B23DC 000AF31C 60 00 00 10 */ ori r0, r0, 0x10
/* 800B23E0 000AF320 7C 03 21 2E */ stwx r0, r3, r4
.L_800B23E4:
/* 800B23E4 000AF324 80 1E 02 94 */ lwz r0, 0x294(r30)
/* 800B23E8 000AF328 28 00 00 00 */ cmplwi r0, 0
/* 800B23EC 000AF32C 40 82 00 10 */ bne .L_800B23FC
/* 800B23F0 000AF330 7C 1A C8 2E */ lwzx r0, r26, r25
/* 800B23F4 000AF334 6C 00 00 40 */ xoris r0, r0, 0x40
/* 800B23F8 000AF338 7C 1A C9 2E */ stwx r0, r26, r25
.L_800B23FC:
/* 800B23FC 000AF33C 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B2400 000AF340 54 00 07 7B */ rlwinm. r0, r0, 0, 0x1d, 0x1d
/* 800B2404 000AF344 41 82 00 64 */ beq .L_800B2468
/* 800B2408 000AF348 7F C3 F3 78 */ mr r3, r30
/* 800B240C 000AF34C 48 00 34 E5 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B2410 000AF350 2C 03 00 00 */ cmpwi r3, 0
/* 800B2414 000AF354 40 82 00 10 */ bne .L_800B2424
/* 800B2418 000AF358 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B241C 000AF35C 68 00 00 04 */ xori r0, r0, 4
/* 800B2420 000AF360 90 1F 00 08 */ stw r0, 8(r31)
.L_800B2424:
/* 800B2424 000AF364 C0 1F 00 20 */ lfs f0, 0x20(r31)
/* 800B2428 000AF368 C0 3E 00 04 */ lfs f1, 4(r30)
/* 800B242C 000AF36C FC 00 08 00 */ fcmpu cr0, f0, f1
/* 800B2430 000AF370 41 82 00 38 */ beq .L_800B2468
/* 800B2434 000AF374 D0 3F 00 20 */ stfs f1, 0x20(r31)
/* 800B2438 000AF378 4B FF B6 75 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B243C 000AF37C 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2440 000AF380 7C 64 1B 78 */ mr r4, r3
/* 800B2444 000AF384 C0 3E 00 04 */ lfs f1, 4(r30)
/* 800B2448 000AF388 38 A0 00 0A */ li r5, 0xa
/* 800B244C 000AF38C 7C 60 EA 14 */ add r3, r0, r29
/* 800B2450 000AF390 48 00 6B FD */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B2454 000AF394 4B FF B6 59 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2458 000AF398 54 63 10 3A */ slwi r3, r3, 2
/* 800B245C 000AF39C 7C 1C 18 2E */ lwzx r0, r28, r3
/* 800B2460 000AF3A0 60 00 00 80 */ ori r0, r0, 0x80
/* 800B2464 000AF3A4 7C 1C 19 2E */ stwx r0, r28, r3
.L_800B2468:
/* 800B2468 000AF3A8 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B246C 000AF3AC 54 00 06 F7 */ rlwinm. r0, r0, 0, 0x1b, 0x1b
/* 800B2470 000AF3B0 41 82 00 C0 */ beq .L_800B2530
/* 800B2474 000AF3B4 3A E0 00 00 */ li r23, 0
/* 800B2478 000AF3B8 48 00 00 94 */ b .L_800B250C
.L_800B247C:
/* 800B247C 000AF3BC 56 F5 06 3E */ clrlwi r21, r23, 0x18
/* 800B2480 000AF3C0 38 00 00 01 */ li r0, 1
/* 800B2484 000AF3C4 80 7E 02 80 */ lwz r3, 0x280(r30)
/* 800B2488 000AF3C8 7C 14 A8 30 */ slw r20, r0, r21
/* 800B248C 000AF3CC 7C 60 A0 39 */ and. r0, r3, r20
/* 800B2490 000AF3D0 41 82 00 28 */ beq .L_800B24B8
/* 800B2494 000AF3D4 56 E3 25 36 */ rlwinm r3, r23, 4, 0x14, 0x1b
/* 800B2498 000AF3D8 38 63 00 10 */ addi r3, r3, 0x10
/* 800B249C 000AF3DC 7C 7E 1A 14 */ add r3, r30, r3
/* 800B24A0 000AF3E0 48 00 34 51 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B24A4 000AF3E4 2C 03 00 00 */ cmpwi r3, 0
/* 800B24A8 000AF3E8 40 82 00 10 */ bne .L_800B24B8
/* 800B24AC 000AF3EC 80 1E 02 80 */ lwz r0, 0x280(r30)
/* 800B24B0 000AF3F0 7C 00 A2 78 */ xor r0, r0, r20
/* 800B24B4 000AF3F4 90 1E 02 80 */ stw r0, 0x280(r30)
.L_800B24B8:
/* 800B24B8 000AF3F8 56 B4 80 1E */ slwi r20, r21, 0x10
/* 800B24BC 000AF3FC 38 7E 02 C4 */ addi r3, r30, 0x2c4
/* 800B24C0 000AF400 7E 84 A3 78 */ mr r4, r20
/* 800B24C4 000AF404 38 A1 00 08 */ addi r5, r1, 8
/* 800B24C8 000AF408 4B FE FD 79 */ bl readPortApp__8JASTrackFUlPUs
/* 800B24CC 000AF40C 56 E3 25 36 */ rlwinm r3, r23, 4, 0x14, 0x1b
/* 800B24D0 000AF410 A0 81 00 08 */ lhz r4, 8(r1)
/* 800B24D4 000AF414 38 03 00 14 */ addi r0, r3, 0x14
/* 800B24D8 000AF418 7C 1E 04 2E */ lfsx f0, r30, r0
/* 800B24DC 000AF41C FC 00 00 1E */ fctiwz f0, f0
/* 800B24E0 000AF420 D8 01 00 28 */ stfd f0, 0x28(r1)
/* 800B24E4 000AF424 80 01 00 2C */ lwz r0, 0x2c(r1)
/* 800B24E8 000AF428 54 00 04 3E */ clrlwi r0, r0, 0x10
/* 800B24EC 000AF42C 7C 04 00 40 */ cmplw r4, r0
/* 800B24F0 000AF430 41 82 00 18 */ beq .L_800B2508
/* 800B24F4 000AF434 D8 01 00 28 */ stfd f0, 0x28(r1)
/* 800B24F8 000AF438 7E 84 A3 78 */ mr r4, r20
/* 800B24FC 000AF43C 38 7E 02 C4 */ addi r3, r30, 0x2c4
/* 800B2500 000AF440 80 A1 00 2C */ lwz r5, 0x2c(r1)
/* 800B2504 000AF444 4B FE FC 89 */ bl writePortApp__8JASTrackFUlUs
.L_800B2508:
/* 800B2508 000AF448 3A F7 00 01 */ addi r23, r23, 1
.L_800B250C:
/* 800B250C 000AF44C 56 E0 06 3E */ clrlwi r0, r23, 0x18
/* 800B2510 000AF450 28 00 00 10 */ cmplwi r0, 0x10
/* 800B2514 000AF454 41 80 FF 68 */ blt .L_800B247C
/* 800B2518 000AF458 80 1E 02 80 */ lwz r0, 0x280(r30)
/* 800B251C 000AF45C 28 00 00 00 */ cmplwi r0, 0
/* 800B2520 000AF460 40 82 00 10 */ bne .L_800B2530
/* 800B2524 000AF464 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B2528 000AF468 68 00 00 10 */ xori r0, r0, 0x10
/* 800B252C 000AF46C 90 1F 00 08 */ stw r0, 8(r31)
.L_800B2530:
/* 800B2530 000AF470 80 7F 00 08 */ lwz r3, 8(r31)
/* 800B2534 000AF474 54 60 06 B5 */ rlwinm. r0, r3, 0, 0x1a, 0x1a
/* 800B2538 000AF478 41 82 00 B8 */ beq .L_800B25F0
/* 800B253C 000AF47C 68 60 00 20 */ xori r0, r3, 0x20
/* 800B2540 000AF480 3A E0 00 00 */ li r23, 0
/* 800B2544 000AF484 90 1F 00 08 */ stw r0, 8(r31)
/* 800B2548 000AF488 48 00 00 98 */ b .L_800B25E0
.L_800B254C:
/* 800B254C 000AF48C 83 5E 02 BC */ lwz r26, 0x2bc(r30)
/* 800B2550 000AF490 56 FB 06 3E */ clrlwi r27, r23, 0x18
/* 800B2554 000AF494 7C 9A D8 AE */ lbzx r4, r26, r27
/* 800B2558 000AF498 54 83 DF FE */ rlwinm r3, r4, 0x1b, 0x1f, 0x1f
/* 800B255C 000AF49C 7C 03 00 D0 */ neg r0, r3
/* 800B2560 000AF4A0 7C 00 1B 78 */ or r0, r0, r3
/* 800B2564 000AF4A4 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800B2568 000AF4A8 28 00 00 01 */ cmplwi r0, 1
/* 800B256C 000AF4AC 40 82 00 70 */ bne .L_800B25DC
/* 800B2570 000AF4B0 54 85 CF FE */ rlwinm r5, r4, 0x19, 0x1f, 0x1f
/* 800B2574 000AF4B4 54 83 D7 FE */ rlwinm r3, r4, 0x1a, 0x1f, 0x1f
/* 800B2578 000AF4B8 7C 85 00 D0 */ neg r4, r5
/* 800B257C 000AF4BC 7C 03 00 D0 */ neg r0, r3
/* 800B2580 000AF4C0 7C 84 2B 78 */ or r4, r4, r5
/* 800B2584 000AF4C4 7C 00 1B 78 */ or r0, r0, r3
/* 800B2588 000AF4C8 54 83 0F FE */ srwi r3, r4, 0x1f
/* 800B258C 000AF4CC 54 00 0F FE */ srwi r0, r0, 0x1f
/* 800B2590 000AF4D0 7C 03 00 40 */ cmplw r3, r0
/* 800B2594 000AF4D4 41 82 00 48 */ beq .L_800B25DC
/* 800B2598 000AF4D8 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B259C 000AF4DC 7E E4 BB 78 */ mr r4, r23
/* 800B25A0 000AF4E0 48 00 6A 61 */ bl trackToSeqp__Q27JAInter15SystemInterfaceFP11JAISequenceUc
/* 800B25A4 000AF4E4 28 03 00 00 */ cmplwi r3, 0
/* 800B25A8 000AF4E8 41 82 00 1C */ beq .L_800B25C4
/* 800B25AC 000AF4EC 7C 1A D8 AE */ lbzx r0, r26, r27
/* 800B25B0 000AF4F0 54 04 D7 FE */ rlwinm r4, r0, 0x1a, 0x1f, 0x1f
/* 800B25B4 000AF4F4 7C 04 00 D0 */ neg r0, r4
/* 800B25B8 000AF4F8 7C 00 23 78 */ or r0, r0, r4
/* 800B25BC 000AF4FC 54 04 0F FE */ srwi r4, r0, 0x1f
/* 800B25C0 000AF500 4B FE ED 25 */ bl muteTrack__8JASTrackFb
.L_800B25C4:
/* 800B25C4 000AF504 7C 9A D8 AE */ lbzx r4, r26, r27
/* 800B25C8 000AF508 54 83 D7 FE */ rlwinm r3, r4, 0x1a, 0x1f, 0x1f
/* 800B25CC 000AF50C 7C 03 00 D0 */ neg r0, r3
/* 800B25D0 000AF510 7C 00 1B 78 */ or r0, r0, r3
/* 800B25D4 000AF514 50 04 46 30 */ rlwimi r4, r0, 8, 0x18, 0x18
/* 800B25D8 000AF518 7C 9A D9 AE */ stbx r4, r26, r27
.L_800B25DC:
/* 800B25DC 000AF51C 3A F7 00 01 */ addi r23, r23, 1
.L_800B25E0:
/* 800B25E0 000AF520 4B FF B4 CD */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B25E4 000AF524 56 E0 06 3E */ clrlwi r0, r23, 0x18
/* 800B25E8 000AF528 7C 00 18 40 */ cmplw r0, r3
/* 800B25EC 000AF52C 41 80 FF 60 */ blt .L_800B254C
.L_800B25F0:
/* 800B25F0 000AF530 83 6D 8C 08 */ lwz r27, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B25F4 000AF534 3B 3D 00 08 */ addi r25, r29, 8
/* 800B25F8 000AF538 82 FF 00 24 */ lwz r23, 0x24(r31)
/* 800B25FC 000AF53C 7C 1B C8 2E */ lwzx r0, r27, r25
/* 800B2600 000AF540 83 5E 02 60 */ lwz r26, 0x260(r30)
/* 800B2604 000AF544 54 00 06 73 */ rlwinm. r0, r0, 0, 0x19, 0x19
/* 800B2608 000AF548 41 82 00 BC */ beq .L_800B26C4
/* 800B260C 000AF54C 3B 00 00 00 */ li r24, 0
/* 800B2610 000AF550 48 00 00 8C */ b .L_800B269C
.L_800B2614:
/* 800B2614 000AF554 38 00 00 01 */ li r0, 1
/* 800B2618 000AF558 80 7E 02 98 */ lwz r3, 0x298(r30)
/* 800B261C 000AF55C 7C 14 20 30 */ slw r20, r0, r4
/* 800B2620 000AF560 57 04 25 36 */ rlwinm r4, r24, 4, 0x14, 0x1b
/* 800B2624 000AF564 7C 60 A0 39 */ and. r0, r3, r20
/* 800B2628 000AF568 57 16 06 3E */ clrlwi r22, r24, 0x18
/* 800B262C 000AF56C 7E BA 22 14 */ add r21, r26, r4
/* 800B2630 000AF570 41 82 00 68 */ beq .L_800B2698
/* 800B2634 000AF574 7E A3 AB 78 */ mr r3, r21
/* 800B2638 000AF578 48 00 32 B9 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B263C 000AF57C 2C 03 00 00 */ cmpwi r3, 0
/* 800B2640 000AF580 40 82 00 10 */ bne .L_800B2650
/* 800B2644 000AF584 80 1E 02 98 */ lwz r0, 0x298(r30)
/* 800B2648 000AF588 7C 00 A2 78 */ xor r0, r0, r20
/* 800B264C 000AF58C 90 1E 02 98 */ stw r0, 0x298(r30)
.L_800B2650:
/* 800B2650 000AF590 56 D4 10 3A */ slwi r20, r22, 2
/* 800B2654 000AF594 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B2658 000AF598 7C 17 A4 2E */ lfsx f0, r23, r20
/* 800B265C 000AF59C FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800B2660 000AF5A0 41 82 00 38 */ beq .L_800B2698
/* 800B2664 000AF5A4 7C 37 A5 2E */ stfsx f1, r23, r20
/* 800B2668 000AF5A8 7E C4 B3 78 */ mr r4, r22
/* 800B266C 000AF5AC 38 A0 00 03 */ li r5, 3
/* 800B2670 000AF5B0 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2674 000AF5B4 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B2678 000AF5B8 7C 60 EA 14 */ add r3, r0, r29
/* 800B267C 000AF5BC 48 00 69 D1 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B2680 000AF5C0 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2684 000AF5C4 38 03 00 44 */ addi r0, r3, 0x44
/* 800B2688 000AF5C8 7C 7D 00 2E */ lwzx r3, r29, r0
/* 800B268C 000AF5CC 7C 03 A0 2E */ lwzx r0, r3, r20
/* 800B2690 000AF5D0 60 00 00 01 */ ori r0, r0, 1
/* 800B2694 000AF5D4 7C 03 A1 2E */ stwx r0, r3, r20
.L_800B2698:
/* 800B2698 000AF5D8 3B 18 00 01 */ addi r24, r24, 1
.L_800B269C:
/* 800B269C 000AF5DC 4B FF B4 11 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B26A0 000AF5E0 57 04 06 3E */ clrlwi r4, r24, 0x18
/* 800B26A4 000AF5E4 7C 04 18 40 */ cmplw r4, r3
/* 800B26A8 000AF5E8 41 80 FF 6C */ blt .L_800B2614
/* 800B26AC 000AF5EC 80 1E 02 98 */ lwz r0, 0x298(r30)
/* 800B26B0 000AF5F0 28 00 00 00 */ cmplwi r0, 0
/* 800B26B4 000AF5F4 40 82 00 10 */ bne .L_800B26C4
/* 800B26B8 000AF5F8 7C 1B C8 2E */ lwzx r0, r27, r25
/* 800B26BC 000AF5FC 68 00 00 40 */ xori r0, r0, 0x40
/* 800B26C0 000AF600 7C 1B C9 2E */ stwx r0, r27, r25
.L_800B26C4:
/* 800B26C4 000AF604 83 6D 8C 08 */ lwz r27, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B26C8 000AF608 3B 1D 00 08 */ addi r24, r29, 8
/* 800B26CC 000AF60C 83 5F 00 30 */ lwz r26, 0x30(r31)
/* 800B26D0 000AF610 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B26D4 000AF614 83 3E 02 64 */ lwz r25, 0x264(r30)
/* 800B26D8 000AF618 54 00 06 31 */ rlwinm. r0, r0, 0, 0x18, 0x18
/* 800B26DC 000AF61C 41 82 00 BC */ beq .L_800B2798
/* 800B26E0 000AF620 3A E0 00 00 */ li r23, 0
/* 800B26E4 000AF624 48 00 00 8C */ b .L_800B2770
.L_800B26E8:
/* 800B26E8 000AF628 38 00 00 01 */ li r0, 1
/* 800B26EC 000AF62C 80 7E 02 9C */ lwz r3, 0x29c(r30)
/* 800B26F0 000AF630 7C 14 20 30 */ slw r20, r0, r4
/* 800B26F4 000AF634 56 E4 25 36 */ rlwinm r4, r23, 4, 0x14, 0x1b
/* 800B26F8 000AF638 7C 60 A0 39 */ and. r0, r3, r20
/* 800B26FC 000AF63C 56 F6 06 3E */ clrlwi r22, r23, 0x18
/* 800B2700 000AF640 7E B9 22 14 */ add r21, r25, r4
/* 800B2704 000AF644 41 82 00 68 */ beq .L_800B276C
/* 800B2708 000AF648 7E A3 AB 78 */ mr r3, r21
/* 800B270C 000AF64C 48 00 31 E5 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B2710 000AF650 2C 03 00 00 */ cmpwi r3, 0
/* 800B2714 000AF654 40 82 00 10 */ bne .L_800B2724
/* 800B2718 000AF658 80 1E 02 9C */ lwz r0, 0x29c(r30)
/* 800B271C 000AF65C 7C 00 A2 78 */ xor r0, r0, r20
/* 800B2720 000AF660 90 1E 02 9C */ stw r0, 0x29c(r30)
.L_800B2724:
/* 800B2724 000AF664 56 D4 10 3A */ slwi r20, r22, 2
/* 800B2728 000AF668 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B272C 000AF66C 7C 1A A4 2E */ lfsx f0, r26, r20
/* 800B2730 000AF670 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800B2734 000AF674 41 82 00 38 */ beq .L_800B276C
/* 800B2738 000AF678 7C 3A A5 2E */ stfsx f1, r26, r20
/* 800B273C 000AF67C 7E C4 B3 78 */ mr r4, r22
/* 800B2740 000AF680 38 A0 00 05 */ li r5, 5
/* 800B2744 000AF684 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2748 000AF688 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B274C 000AF68C 7C 60 EA 14 */ add r3, r0, r29
/* 800B2750 000AF690 48 00 68 FD */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B2754 000AF694 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2758 000AF698 38 03 00 44 */ addi r0, r3, 0x44
/* 800B275C 000AF69C 7C 7D 00 2E */ lwzx r3, r29, r0
/* 800B2760 000AF6A0 7C 03 A0 2E */ lwzx r0, r3, r20
/* 800B2764 000AF6A4 60 00 00 04 */ ori r0, r0, 4
/* 800B2768 000AF6A8 7C 03 A1 2E */ stwx r0, r3, r20
.L_800B276C:
/* 800B276C 000AF6AC 3A F7 00 01 */ addi r23, r23, 1
.L_800B2770:
/* 800B2770 000AF6B0 4B FF B3 3D */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2774 000AF6B4 56 E4 06 3E */ clrlwi r4, r23, 0x18
/* 800B2778 000AF6B8 7C 04 18 40 */ cmplw r4, r3
/* 800B277C 000AF6BC 41 80 FF 6C */ blt .L_800B26E8
/* 800B2780 000AF6C0 80 1E 02 9C */ lwz r0, 0x29c(r30)
/* 800B2784 000AF6C4 28 00 00 00 */ cmplwi r0, 0
/* 800B2788 000AF6C8 40 82 00 10 */ bne .L_800B2798
/* 800B278C 000AF6CC 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B2790 000AF6D0 68 00 00 80 */ xori r0, r0, 0x80
/* 800B2794 000AF6D4 7C 1B C1 2E */ stwx r0, r27, r24
.L_800B2798:
/* 800B2798 000AF6D8 83 6D 8C 08 */ lwz r27, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B279C 000AF6DC 3B 1D 00 08 */ addi r24, r29, 8
/* 800B27A0 000AF6E0 83 5F 00 28 */ lwz r26, 0x28(r31)
/* 800B27A4 000AF6E4 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B27A8 000AF6E8 83 3E 02 68 */ lwz r25, 0x268(r30)
/* 800B27AC 000AF6EC 54 00 05 AD */ rlwinm. r0, r0, 0, 0x16, 0x16
/* 800B27B0 000AF6F0 41 82 00 BC */ beq .L_800B286C
/* 800B27B4 000AF6F4 3A E0 00 00 */ li r23, 0
/* 800B27B8 000AF6F8 48 00 00 8C */ b .L_800B2844
.L_800B27BC:
/* 800B27BC 000AF6FC 38 00 00 01 */ li r0, 1
/* 800B27C0 000AF700 80 7E 02 A0 */ lwz r3, 0x2a0(r30)
/* 800B27C4 000AF704 7C 14 20 30 */ slw r20, r0, r4
/* 800B27C8 000AF708 56 E4 25 36 */ rlwinm r4, r23, 4, 0x14, 0x1b
/* 800B27CC 000AF70C 7C 60 A0 39 */ and. r0, r3, r20
/* 800B27D0 000AF710 56 F6 06 3E */ clrlwi r22, r23, 0x18
/* 800B27D4 000AF714 7E B9 22 14 */ add r21, r25, r4
/* 800B27D8 000AF718 41 82 00 68 */ beq .L_800B2840
/* 800B27DC 000AF71C 7E A3 AB 78 */ mr r3, r21
/* 800B27E0 000AF720 48 00 31 11 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B27E4 000AF724 2C 03 00 00 */ cmpwi r3, 0
/* 800B27E8 000AF728 40 82 00 10 */ bne .L_800B27F8
/* 800B27EC 000AF72C 80 1E 02 A0 */ lwz r0, 0x2a0(r30)
/* 800B27F0 000AF730 7C 00 A2 78 */ xor r0, r0, r20
/* 800B27F4 000AF734 90 1E 02 A0 */ stw r0, 0x2a0(r30)
.L_800B27F8:
/* 800B27F8 000AF738 56 D4 10 3A */ slwi r20, r22, 2
/* 800B27FC 000AF73C C0 35 00 04 */ lfs f1, 4(r21)
/* 800B2800 000AF740 7C 1A A4 2E */ lfsx f0, r26, r20
/* 800B2804 000AF744 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800B2808 000AF748 41 82 00 38 */ beq .L_800B2840
/* 800B280C 000AF74C 7C 3A A5 2E */ stfsx f1, r26, r20
/* 800B2810 000AF750 7E C4 B3 78 */ mr r4, r22
/* 800B2814 000AF754 38 A0 00 04 */ li r5, 4
/* 800B2818 000AF758 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B281C 000AF75C C0 35 00 04 */ lfs f1, 4(r21)
/* 800B2820 000AF760 7C 60 EA 14 */ add r3, r0, r29
/* 800B2824 000AF764 48 00 68 29 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B2828 000AF768 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B282C 000AF76C 38 03 00 44 */ addi r0, r3, 0x44
/* 800B2830 000AF770 7C 7D 00 2E */ lwzx r3, r29, r0
/* 800B2834 000AF774 7C 03 A0 2E */ lwzx r0, r3, r20
/* 800B2838 000AF778 60 00 00 02 */ ori r0, r0, 2
/* 800B283C 000AF77C 7C 03 A1 2E */ stwx r0, r3, r20
.L_800B2840:
/* 800B2840 000AF780 3A F7 00 01 */ addi r23, r23, 1
.L_800B2844:
/* 800B2844 000AF784 4B FF B2 69 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2848 000AF788 56 E4 06 3E */ clrlwi r4, r23, 0x18
/* 800B284C 000AF78C 7C 04 18 40 */ cmplw r4, r3
/* 800B2850 000AF790 41 80 FF 6C */ blt .L_800B27BC
/* 800B2854 000AF794 80 1E 02 A0 */ lwz r0, 0x2a0(r30)
/* 800B2858 000AF798 28 00 00 00 */ cmplwi r0, 0
/* 800B285C 000AF79C 40 82 00 10 */ bne .L_800B286C
/* 800B2860 000AF7A0 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B2864 000AF7A4 68 00 02 00 */ xori r0, r0, 0x200
/* 800B2868 000AF7A8 7C 1B C1 2E */ stwx r0, r27, r24
.L_800B286C:
/* 800B286C 000AF7AC 83 6D 8C 08 */ lwz r27, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2870 000AF7B0 3B 1D 00 08 */ addi r24, r29, 8
/* 800B2874 000AF7B4 83 5F 00 2C */ lwz r26, 0x2c(r31)
/* 800B2878 000AF7B8 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B287C 000AF7BC 83 3E 02 6C */ lwz r25, 0x26c(r30)
/* 800B2880 000AF7C0 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 800B2884 000AF7C4 41 82 00 BC */ beq .L_800B2940
/* 800B2888 000AF7C8 3A E0 00 00 */ li r23, 0
/* 800B288C 000AF7CC 48 00 00 8C */ b .L_800B2918
.L_800B2890:
/* 800B2890 000AF7D0 38 00 00 01 */ li r0, 1
/* 800B2894 000AF7D4 80 7E 02 A4 */ lwz r3, 0x2a4(r30)
/* 800B2898 000AF7D8 7C 14 20 30 */ slw r20, r0, r4
/* 800B289C 000AF7DC 56 E4 25 36 */ rlwinm r4, r23, 4, 0x14, 0x1b
/* 800B28A0 000AF7E0 7C 60 A0 39 */ and. r0, r3, r20
/* 800B28A4 000AF7E4 56 F6 06 3E */ clrlwi r22, r23, 0x18
/* 800B28A8 000AF7E8 7E B9 22 14 */ add r21, r25, r4
/* 800B28AC 000AF7EC 41 82 00 68 */ beq .L_800B2914
/* 800B28B0 000AF7F0 7E A3 AB 78 */ mr r3, r21
/* 800B28B4 000AF7F4 48 00 30 3D */ bl move__Q27JAInter11MoveParaSetFv
/* 800B28B8 000AF7F8 2C 03 00 00 */ cmpwi r3, 0
/* 800B28BC 000AF7FC 40 82 00 10 */ bne .L_800B28CC
/* 800B28C0 000AF800 80 1E 02 A4 */ lwz r0, 0x2a4(r30)
/* 800B28C4 000AF804 7C 00 A2 78 */ xor r0, r0, r20
/* 800B28C8 000AF808 90 1E 02 A4 */ stw r0, 0x2a4(r30)
.L_800B28CC:
/* 800B28CC 000AF80C 56 D4 10 3A */ slwi r20, r22, 2
/* 800B28D0 000AF810 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B28D4 000AF814 7C 1A A4 2E */ lfsx f0, r26, r20
/* 800B28D8 000AF818 FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800B28DC 000AF81C 41 82 00 38 */ beq .L_800B2914
/* 800B28E0 000AF820 7C 3A A5 2E */ stfsx f1, r26, r20
/* 800B28E4 000AF824 7E C4 B3 78 */ mr r4, r22
/* 800B28E8 000AF828 38 A0 00 06 */ li r5, 6
/* 800B28EC 000AF82C 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B28F0 000AF830 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B28F4 000AF834 7C 60 EA 14 */ add r3, r0, r29
/* 800B28F8 000AF838 48 00 67 55 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B28FC 000AF83C 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2900 000AF840 38 03 00 44 */ addi r0, r3, 0x44
/* 800B2904 000AF844 7C 7D 00 2E */ lwzx r3, r29, r0
/* 800B2908 000AF848 7C 03 A0 2E */ lwzx r0, r3, r20
/* 800B290C 000AF84C 60 00 00 08 */ ori r0, r0, 8
/* 800B2910 000AF850 7C 03 A1 2E */ stwx r0, r3, r20
.L_800B2914:
/* 800B2914 000AF854 3A F7 00 01 */ addi r23, r23, 1
.L_800B2918:
/* 800B2918 000AF858 4B FF B1 95 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B291C 000AF85C 56 E4 06 3E */ clrlwi r4, r23, 0x18
/* 800B2920 000AF860 7C 04 18 40 */ cmplw r4, r3
/* 800B2924 000AF864 41 80 FF 6C */ blt .L_800B2890
/* 800B2928 000AF868 80 1E 02 A4 */ lwz r0, 0x2a4(r30)
/* 800B292C 000AF86C 28 00 00 00 */ cmplwi r0, 0
/* 800B2930 000AF870 40 82 00 10 */ bne .L_800B2940
/* 800B2934 000AF874 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B2938 000AF878 68 00 08 00 */ xori r0, r0, 0x800
/* 800B293C 000AF87C 7C 1B C1 2E */ stwx r0, r27, r24
.L_800B2940:
/* 800B2940 000AF880 83 6D 8C 08 */ lwz r27, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2944 000AF884 3B 1D 00 08 */ addi r24, r29, 8
/* 800B2948 000AF888 83 5F 00 34 */ lwz r26, 0x34(r31)
/* 800B294C 000AF88C 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B2950 000AF890 83 3E 02 70 */ lwz r25, 0x270(r30)
/* 800B2954 000AF894 54 00 05 EF */ rlwinm. r0, r0, 0, 0x17, 0x17
/* 800B2958 000AF898 41 82 00 BC */ beq .L_800B2A14
/* 800B295C 000AF89C 3A E0 00 00 */ li r23, 0
/* 800B2960 000AF8A0 48 00 00 8C */ b .L_800B29EC
.L_800B2964:
/* 800B2964 000AF8A4 38 00 00 01 */ li r0, 1
/* 800B2968 000AF8A8 80 7E 02 A8 */ lwz r3, 0x2a8(r30)
/* 800B296C 000AF8AC 7C 14 20 30 */ slw r20, r0, r4
/* 800B2970 000AF8B0 56 E4 25 36 */ rlwinm r4, r23, 4, 0x14, 0x1b
/* 800B2974 000AF8B4 7C 60 A0 39 */ and. r0, r3, r20
/* 800B2978 000AF8B8 56 F6 06 3E */ clrlwi r22, r23, 0x18
/* 800B297C 000AF8BC 7E B9 22 14 */ add r21, r25, r4
/* 800B2980 000AF8C0 41 82 00 68 */ beq .L_800B29E8
/* 800B2984 000AF8C4 7E A3 AB 78 */ mr r3, r21
/* 800B2988 000AF8C8 48 00 2F 69 */ bl move__Q27JAInter11MoveParaSetFv
/* 800B298C 000AF8CC 2C 03 00 00 */ cmpwi r3, 0
/* 800B2990 000AF8D0 40 82 00 10 */ bne .L_800B29A0
/* 800B2994 000AF8D4 80 1E 02 A8 */ lwz r0, 0x2a8(r30)
/* 800B2998 000AF8D8 7C 00 A2 78 */ xor r0, r0, r20
/* 800B299C 000AF8DC 90 1E 02 A8 */ stw r0, 0x2a8(r30)
.L_800B29A0:
/* 800B29A0 000AF8E0 56 D4 10 3A */ slwi r20, r22, 2
/* 800B29A4 000AF8E4 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B29A8 000AF8E8 7C 1A A4 2E */ lfsx f0, r26, r20
/* 800B29AC 000AF8EC FC 01 00 00 */ fcmpu cr0, f1, f0
/* 800B29B0 000AF8F0 41 82 00 38 */ beq .L_800B29E8
/* 800B29B4 000AF8F4 7C 3A A5 2E */ stfsx f1, r26, r20
/* 800B29B8 000AF8F8 7E C4 B3 78 */ mr r4, r22
/* 800B29BC 000AF8FC 38 A0 00 07 */ li r5, 7
/* 800B29C0 000AF900 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B29C4 000AF904 C0 35 00 04 */ lfs f1, 4(r21)
/* 800B29C8 000AF908 7C 60 EA 14 */ add r3, r0, r29
/* 800B29CC 000AF90C 48 00 66 81 */ bl setSeqPortargsF32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcf
/* 800B29D0 000AF910 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B29D4 000AF914 38 03 00 44 */ addi r0, r3, 0x44
/* 800B29D8 000AF918 7C 7D 00 2E */ lwzx r3, r29, r0
/* 800B29DC 000AF91C 7C 03 A0 2E */ lwzx r0, r3, r20
/* 800B29E0 000AF920 60 00 00 10 */ ori r0, r0, 0x10
/* 800B29E4 000AF924 7C 03 A1 2E */ stwx r0, r3, r20
.L_800B29E8:
/* 800B29E8 000AF928 3A F7 00 01 */ addi r23, r23, 1
.L_800B29EC:
/* 800B29EC 000AF92C 4B FF B0 C1 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B29F0 000AF930 56 E4 06 3E */ clrlwi r4, r23, 0x18
/* 800B29F4 000AF934 7C 04 18 40 */ cmplw r4, r3
/* 800B29F8 000AF938 41 80 FF 6C */ blt .L_800B2964
/* 800B29FC 000AF93C 80 1E 02 A8 */ lwz r0, 0x2a8(r30)
/* 800B2A00 000AF940 28 00 00 00 */ cmplwi r0, 0
/* 800B2A04 000AF944 40 82 00 10 */ bne .L_800B2A14
/* 800B2A08 000AF948 7C 1B C0 2E */ lwzx r0, r27, r24
/* 800B2A0C 000AF94C 68 00 01 00 */ xori r0, r0, 0x100
/* 800B2A10 000AF950 7C 1B C1 2E */ stwx r0, r27, r24
.L_800B2A14:
/* 800B2A14 000AF954 80 7F 00 08 */ lwz r3, 8(r31)
/* 800B2A18 000AF958 54 60 02 11 */ rlwinm. r0, r3, 0, 8, 8
/* 800B2A1C 000AF95C 41 82 00 70 */ beq .L_800B2A8C
/* 800B2A20 000AF960 6C 60 00 80 */ xoris r0, r3, 0x80
/* 800B2A24 000AF964 3A A0 00 00 */ li r21, 0
/* 800B2A28 000AF968 90 1F 00 08 */ stw r0, 8(r31)
/* 800B2A2C 000AF96C 3A E0 00 00 */ li r23, 0
/* 800B2A30 000AF970 48 00 00 4C */ b .L_800B2A7C
.L_800B2A34:
/* 800B2A34 000AF974 80 7E 02 B8 */ lwz r3, 0x2b8(r30)
/* 800B2A38 000AF978 56 B4 06 3E */ clrlwi r20, r21, 0x18
/* 800B2A3C 000AF97C 7C 03 A0 AE */ lbzx r0, r3, r20
/* 800B2A40 000AF980 28 00 00 01 */ cmplwi r0, 1
/* 800B2A44 000AF984 40 82 00 34 */ bne .L_800B2A78
/* 800B2A48 000AF988 56 83 10 3A */ slwi r3, r20, 2
/* 800B2A4C 000AF98C 7E 84 A3 78 */ mr r4, r20
/* 800B2A50 000AF990 7C 1C 18 2E */ lwzx r0, r28, r3
/* 800B2A54 000AF994 38 A0 00 09 */ li r5, 9
/* 800B2A58 000AF998 38 C0 00 01 */ li r6, 1
/* 800B2A5C 000AF99C 60 00 00 40 */ ori r0, r0, 0x40
/* 800B2A60 000AF9A0 7C 1C 19 2E */ stwx r0, r28, r3
/* 800B2A64 000AF9A4 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2A68 000AF9A8 7C 60 EA 14 */ add r3, r0, r29
/* 800B2A6C 000AF9AC 48 00 65 FD */ bl setSeqPortargsU32__Q27JAInter15SystemInterfaceFPQ27JAInter13SeqUpdateDataUlUcUl
/* 800B2A70 000AF9B0 80 7E 02 B8 */ lwz r3, 0x2b8(r30)
/* 800B2A74 000AF9B4 7E E3 A1 AE */ stbx r23, r3, r20
.L_800B2A78:
/* 800B2A78 000AF9B8 3A B5 00 01 */ addi r21, r21, 1
.L_800B2A7C:
/* 800B2A7C 000AF9BC 4B FF B0 31 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2A80 000AF9C0 56 A0 06 3E */ clrlwi r0, r21, 0x18
/* 800B2A84 000AF9C4 7C 00 18 40 */ cmplw r0, r3
/* 800B2A88 000AF9C8 41 80 FF AC */ blt .L_800B2A34
.L_800B2A8C:
/* 800B2A8C 000AF9CC 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B2A90 000AF9D0 54 00 04 E7 */ rlwinm. r0, r0, 0, 0x13, 0x13
/* 800B2A94 000AF9D4 41 82 00 C8 */ beq .L_800B2B5C
/* 800B2A98 000AF9D8 3A E0 00 00 */ li r23, 0
/* 800B2A9C 000AF9DC 48 00 00 98 */ b .L_800B2B34
.L_800B2AA0:
/* 800B2AA0 000AF9E0 38 00 00 01 */ li r0, 1
/* 800B2AA4 000AF9E4 80 7E 02 B0 */ lwz r3, 0x2b0(r30)
/* 800B2AA8 000AF9E8 7C 04 20 30 */ slw r4, r0, r4
/* 800B2AAC 000AF9EC 7C 60 20 39 */ and. r0, r3, r4
/* 800B2AB0 000AF9F0 41 82 00 80 */ beq .L_800B2B30
/* 800B2AB4 000AF9F4 7C 60 22 78 */ xor r0, r3, r4
/* 800B2AB8 000AF9F8 56 F5 15 BA */ rlwinm r21, r23, 2, 0x16, 0x1d
/* 800B2ABC 000AF9FC 90 1E 02 B0 */ stw r0, 0x2b0(r30)
/* 800B2AC0 000AFA00 3B 00 00 00 */ li r24, 0
/* 800B2AC4 000AFA04 48 00 00 60 */ b .L_800B2B24
.L_800B2AC8:
/* 800B2AC8 000AFA08 80 1E 02 B4 */ lwz r0, 0x2b4(r30)
/* 800B2ACC 000AFA0C 57 03 06 3E */ clrlwi r3, r24, 0x18
/* 800B2AD0 000AFA10 38 80 00 01 */ li r4, 1
/* 800B2AD4 000AFA14 7C 15 00 2E */ lwzx r0, r21, r0
/* 800B2AD8 000AFA18 7C 94 18 30 */ slw r20, r4, r3
/* 800B2ADC 000AFA1C 7E 80 00 39 */ and. r0, r20, r0
/* 800B2AE0 000AFA20 41 82 00 40 */ beq .L_800B2B20
/* 800B2AE4 000AFA24 80 7F 00 48 */ lwz r3, 0x48(r31)
/* 800B2AE8 000AFA28 7E E4 BB 78 */ mr r4, r23
/* 800B2AEC 000AFA2C 7F 05 C3 78 */ mr r5, r24
/* 800B2AF0 000AFA30 48 00 29 E5 */ bl getTrackPortRoute__8JAISoundFUcUc
/* 800B2AF4 000AFA34 80 BE 02 74 */ lwz r5, 0x274(r30)
/* 800B2AF8 000AFA38 7C 64 1B 78 */ mr r4, r3
/* 800B2AFC 000AFA3C 57 00 0D FC */ rlwinm r0, r24, 1, 0x17, 0x1e
/* 800B2B00 000AFA40 38 7E 02 C4 */ addi r3, r30, 0x2c4
/* 800B2B04 000AFA44 7C B5 28 2E */ lwzx r5, r21, r5
/* 800B2B08 000AFA48 7C A5 02 2E */ lhzx r5, r5, r0
/* 800B2B0C 000AFA4C 4B FE F6 81 */ bl writePortApp__8JASTrackFUlUs
/* 800B2B10 000AFA50 80 7E 02 B4 */ lwz r3, 0x2b4(r30)
/* 800B2B14 000AFA54 7C 15 18 2E */ lwzx r0, r21, r3
/* 800B2B18 000AFA58 7C 00 A2 78 */ xor r0, r0, r20
/* 800B2B1C 000AFA5C 7C 15 19 2E */ stwx r0, r21, r3
.L_800B2B20:
/* 800B2B20 000AFA60 3B 18 00 01 */ addi r24, r24, 1
.L_800B2B24:
/* 800B2B24 000AFA64 57 00 06 3E */ clrlwi r0, r24, 0x18
/* 800B2B28 000AFA68 28 00 00 10 */ cmplwi r0, 0x10
/* 800B2B2C 000AFA6C 41 80 FF 9C */ blt .L_800B2AC8
.L_800B2B30:
/* 800B2B30 000AFA70 3A F7 00 01 */ addi r23, r23, 1
.L_800B2B34:
/* 800B2B34 000AFA74 4B FF AF 79 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B2B38 000AFA78 56 E4 06 3E */ clrlwi r4, r23, 0x18
/* 800B2B3C 000AFA7C 7C 04 18 40 */ cmplw r4, r3
/* 800B2B40 000AFA80 41 80 FF 60 */ blt .L_800B2AA0
/* 800B2B44 000AFA84 80 1E 02 B0 */ lwz r0, 0x2b0(r30)
/* 800B2B48 000AFA88 28 00 00 00 */ cmplwi r0, 0
/* 800B2B4C 000AFA8C 40 82 00 10 */ bne .L_800B2B5C
/* 800B2B50 000AFA90 80 1F 00 08 */ lwz r0, 8(r31)
/* 800B2B54 000AFA94 68 00 10 00 */ xori r0, r0, 0x1000
/* 800B2B58 000AFA98 90 1F 00 08 */ stw r0, 8(r31)
.L_800B2B5C:
/* 800B2B5C 000AFA9C E3 E1 00 98 */ psq_l f31, 152(r1), 0, qr0
/* 800B2B60 000AFAA0 CB E1 00 90 */ lfd f31, 0x90(r1)
/* 800B2B64 000AFAA4 E3 C1 00 88 */ psq_l f30, 136(r1), 0, qr0
/* 800B2B68 000AFAA8 CB C1 00 80 */ lfd f30, 0x80(r1)
/* 800B2B6C 000AFAAC E3 A1 00 78 */ psq_l f29, 120(r1), 0, qr0
/* 800B2B70 000AFAB0 CB A1 00 70 */ lfd f29, 0x70(r1)
/* 800B2B74 000AFAB4 E3 81 00 68 */ psq_l f28, 104(r1), 0, qr0
/* 800B2B78 000AFAB8 CB 81 00 60 */ lfd f28, 0x60(r1)
/* 800B2B7C 000AFABC BA 81 00 30 */ lmw r20, 0x30(r1)
/* 800B2B80 000AFAC0 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 800B2B84 000AFAC4 7C 08 03 A6 */ mtlr r0
/* 800B2B88 000AFAC8 38 21 00 A0 */ addi r1, r1, 0xa0
/* 800B2B8C 000AFACC 4E 80 00 20 */ blr
.global setPitch__11JAISequenceFfUlUc
setPitch__11JAISequenceFfUlUc:
/* 800B2B90 000AFAD0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B2B94 000AFAD4 7C 08 02 A6 */ mflr r0
/* 800B2B98 000AFAD8 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B2B9C 000AFADC 7C 80 23 78 */ mr r0, r4
/* 800B2BA0 000AFAE0 7C A4 2B 78 */ mr r4, r5
/* 800B2BA4 000AFAE4 7C 05 03 78 */ mr r5, r0
/* 800B2BA8 000AFAE8 48 00 18 85 */ bl setSeqInterPitch__11JAISequenceFUcfUl
/* 800B2BAC 000AFAEC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B2BB0 000AFAF0 7C 08 03 A6 */ mtlr r0
/* 800B2BB4 000AFAF4 38 21 00 10 */ addi r1, r1, 0x10
/* 800B2BB8 000AFAF8 4E 80 00 20 */ blr
.global setPan__11JAISequenceFfUlUc
setPan__11JAISequenceFfUlUc:
/* 800B2BBC 000AFAFC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 800B2BC0 000AFB00 7C 08 02 A6 */ mflr r0
/* 800B2BC4 000AFB04 90 01 00 14 */ stw r0, 0x14(r1)
/* 800B2BC8 000AFB08 7C 80 23 78 */ mr r0, r4
/* 800B2BCC 000AFB0C 7C A4 2B 78 */ mr r4, r5
/* 800B2BD0 000AFB10 7C 05 03 78 */ mr r5, r0
/* 800B2BD4 000AFB14 48 00 17 D1 */ bl setSeqInterPan__11JAISequenceFUcfUl
/* 800B2BD8 000AFB18 80 01 00 14 */ lwz r0, 0x14(r1)
/* 800B2BDC 000AFB1C 7C 08 03 A6 */ mtlr r0
/* 800B2BE0 000AFB20 38 21 00 10 */ addi r1, r1, 0x10
/* 800B2BE4 000AFB24 4E 80 00 20 */ blr
.global stopSeq__Q27JAInter11SequenceMgrFP11JAISequence
stopSeq__Q27JAInter11SequenceMgrFP11JAISequence:
/* 800B2BE8 000AFB28 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B2BEC 000AFB2C 7C 08 02 A6 */ mflr r0
/* 800B2BF0 000AFB30 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B2BF4 000AFB34 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B2BF8 000AFB38 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B2BFC 000AFB3C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B2C00 000AFB40 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B2C04 000AFB44 7C 7C 1B 78 */ mr r28, r3
/* 800B2C08 000AFB48 48 00 0F 41 */ bl getSwBit__8JAISoundFv
/* 800B2C0C 000AFB4C 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 800B2C10 000AFB50 41 82 00 70 */ beq .L_800B2C80
/* 800B2C14 000AFB54 3B C0 00 00 */ li r30, 0
/* 800B2C18 000AFB58 3B E0 00 00 */ li r31, 0
/* 800B2C1C 000AFB5C 48 00 00 58 */ b .L_800B2C74
.L_800B2C20:
/* 800B2C20 000AFB60 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2C24 000AFB64 38 1F 00 48 */ addi r0, r31, 0x48
/* 800B2C28 000AFB68 7F A3 00 2E */ lwzx r29, r3, r0
/* 800B2C2C 000AFB6C 7C 1C E8 40 */ cmplw r28, r29
/* 800B2C30 000AFB70 41 82 00 3C */ beq .L_800B2C6C
/* 800B2C34 000AFB74 28 1D 00 00 */ cmplwi r29, 0
/* 800B2C38 000AFB78 41 82 00 34 */ beq .L_800B2C6C
/* 800B2C3C 000AFB7C 7F A3 EB 78 */ mr r3, r29
/* 800B2C40 000AFB80 48 00 0F 09 */ bl getSwBit__8JAISoundFv
/* 800B2C44 000AFB84 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 800B2C48 000AFB88 40 82 00 24 */ bne .L_800B2C6C
/* 800B2C4C 000AFB8C 7F A3 EB 78 */ mr r3, r29
/* 800B2C50 000AFB90 C0 22 8C 40 */ lfs f1, lbl_80516FA0@sda21(r2)
/* 800B2C54 000AFB94 81 9D 00 10 */ lwz r12, 0x10(r29)
/* 800B2C58 000AFB98 38 80 00 0A */ li r4, 0xa
/* 800B2C5C 000AFB9C 38 A0 00 0A */ li r5, 0xa
/* 800B2C60 000AFBA0 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B2C64 000AFBA4 7D 89 03 A6 */ mtctr r12
/* 800B2C68 000AFBA8 4E 80 04 21 */ bctrl
.L_800B2C6C:
/* 800B2C6C 000AFBAC 3B FF 00 50 */ addi r31, r31, 0x50
/* 800B2C70 000AFBB0 3B DE 00 01 */ addi r30, r30, 1
.L_800B2C74:
/* 800B2C74 000AFBB4 4B FF AE 59 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B2C78 000AFBB8 7C 1E 18 40 */ cmplw r30, r3
/* 800B2C7C 000AFBBC 41 80 FF A4 */ blt .L_800B2C20
.L_800B2C80:
/* 800B2C80 000AFBC0 38 00 00 00 */ li r0, 0
/* 800B2C84 000AFBC4 90 1C 00 40 */ stw r0, 0x40(r28)
/* 800B2C88 000AFBC8 90 1C 03 08 */ stw r0, 0x308(r28)
/* 800B2C8C 000AFBCC 88 1C 00 15 */ lbz r0, 0x15(r28)
/* 800B2C90 000AFBD0 28 00 00 03 */ cmplwi r0, 3
/* 800B2C94 000AFBD4 41 80 00 38 */ blt .L_800B2CCC
/* 800B2C98 000AFBD8 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2C9C 000AFBDC 28 0C 00 00 */ cmplwi r12, 0
/* 800B2CA0 000AFBE0 41 82 00 24 */ beq .L_800B2CC4
/* 800B2CA4 000AFBE4 80 9C 00 44 */ lwz r4, 0x44(r28)
/* 800B2CA8 000AFBE8 7F 86 E3 78 */ mr r6, r28
/* 800B2CAC 000AFBEC 38 61 00 08 */ addi r3, r1, 8
/* 800B2CB0 000AFBF0 A0 A4 00 06 */ lhz r5, 6(r4)
/* 800B2CB4 000AFBF4 38 80 00 02 */ li r4, 2
/* 800B2CB8 000AFBF8 7D 89 03 A6 */ mtctr r12
/* 800B2CBC 000AFBFC 4E 80 04 21 */ bctrl
/* 800B2CC0 000AFC00 48 00 00 0C */ b .L_800B2CCC
.L_800B2CC4:
/* 800B2CC4 000AFC04 88 7C 02 C0 */ lbz r3, 0x2c0(r28)
/* 800B2CC8 000AFC08 4B FF D9 D5 */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
.L_800B2CCC:
/* 800B2CCC 000AFC0C 38 00 00 00 */ li r0, 0
/* 800B2CD0 000AFC10 7F 84 E3 78 */ mr r4, r28
/* 800B2CD4 000AFC14 98 1C 00 15 */ stb r0, 0x15(r28)
/* 800B2CD8 000AFC18 38 6D 8C 10 */ addi r3, r13, seqControl__Q27JAInter11SequenceMgr@sda21
/* 800B2CDC 000AFC1C 48 00 2B 11 */ bl releaseSound__Q27JAInter9LinkSoundFP8JAISound
/* 800B2CE0 000AFC20 88 1C 00 14 */ lbz r0, 0x14(r28)
/* 800B2CE4 000AFC24 38 80 00 00 */ li r4, 0
/* 800B2CE8 000AFC28 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2CEC 000AFC2C 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B2CF0 000AFC30 7C 63 02 14 */ add r3, r3, r0
/* 800B2CF4 000AFC34 90 83 00 48 */ stw r4, 0x48(r3)
/* 800B2CF8 000AFC38 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B2CFC 000AFC3C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B2D00 000AFC40 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B2D04 000AFC44 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B2D08 000AFC48 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B2D0C 000AFC4C 7C 08 03 A6 */ mtlr r0
/* 800B2D10 000AFC50 38 21 00 20 */ addi r1, r1, 0x20
/* 800B2D14 000AFC54 4E 80 00 20 */ blr
.global checkDvdLoadArc__Q27JAInter11SequenceMgrFUlUl
checkDvdLoadArc__Q27JAInter11SequenceMgrFUlUl:
/* 800B2D18 000AFC58 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B2D1C 000AFC5C 7C 08 02 A6 */ mflr r0
/* 800B2D20 000AFC60 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B2D24 000AFC64 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B2D28 000AFC68 54 9F 06 3E */ clrlwi r31, r4, 0x18
/* 800B2D2C 000AFC6C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B2D30 000AFC70 54 9E 85 BE */ rlwinm r30, r4, 0x10, 0x16, 0x1f
/* 800B2D34 000AFC74 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B2D38 000AFC78 54 9D C6 7E */ rlwinm r29, r4, 0x18, 0x19, 0x1f
/* 800B2D3C 000AFC7C 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B2D40 000AFC80 54 9C 8F FF */ rlwinm. r28, r4, 0x11, 0x1f, 0x1f
/* 800B2D44 000AFC84 40 82 00 14 */ bne .L_800B2D58
/* 800B2D48 000AFC88 7F A3 EB 78 */ mr r3, r29
/* 800B2D4C 000AFC8C 38 80 00 00 */ li r4, 0
/* 800B2D50 000AFC90 4B FF DB B5 */ bl setAutoHeapLoadedFlag__Q27JAInter7HeapMgrFUcUc
/* 800B2D54 000AFC94 48 00 00 10 */ b .L_800B2D64
.L_800B2D58:
/* 800B2D58 000AFC98 7F A3 EB 78 */ mr r3, r29
/* 800B2D5C 000AFC9C 38 80 00 00 */ li r4, 0
/* 800B2D60 000AFCA0 4B FF DB B9 */ bl setStayHeapLoadedFlag__Q27JAInter7HeapMgrFUcUc
.L_800B2D64:
/* 800B2D64 000AFCA4 28 1F 00 FE */ cmplwi r31, 0xfe
/* 800B2D68 000AFCA8 40 80 00 60 */ bge .L_800B2DC8
/* 800B2D6C 000AFCAC 1C 7F 00 50 */ mulli r3, r31, 0x50
/* 800B2D70 000AFCB0 80 8D 8C 08 */ lwz r4, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2D74 000AFCB4 38 00 00 00 */ li r0, 0
/* 800B2D78 000AFCB8 7C 64 1A 14 */ add r3, r4, r3
/* 800B2D7C 000AFCBC 80 83 00 48 */ lwz r4, 0x48(r3)
/* 800B2D80 000AFCC0 28 04 00 00 */ cmplwi r4, 0
/* 800B2D84 000AFCC4 98 03 00 03 */ stb r0, 3(r3)
/* 800B2D88 000AFCC8 41 82 00 2C */ beq .L_800B2DB4
/* 800B2D8C 000AFCCC 88 04 00 15 */ lbz r0, 0x15(r4)
/* 800B2D90 000AFCD0 28 00 00 01 */ cmplwi r0, 1
/* 800B2D94 000AFCD4 40 82 00 20 */ bne .L_800B2DB4
/* 800B2D98 000AFCD8 80 64 00 44 */ lwz r3, 0x44(r4)
/* 800B2D9C 000AFCDC A0 03 00 06 */ lhz r0, 6(r3)
/* 800B2DA0 000AFCE0 7C 1E 00 40 */ cmplw r30, r0
/* 800B2DA4 000AFCE4 40 82 00 10 */ bne .L_800B2DB4
/* 800B2DA8 000AFCE8 38 00 00 02 */ li r0, 2
/* 800B2DAC 000AFCEC 98 04 00 15 */ stb r0, 0x15(r4)
/* 800B2DB0 000AFCF0 48 00 00 2C */ b .L_800B2DDC
.L_800B2DB4:
/* 800B2DB4 000AFCF4 28 1C 00 00 */ cmplwi r28, 0
/* 800B2DB8 000AFCF8 40 82 00 24 */ bne .L_800B2DDC
/* 800B2DBC 000AFCFC 7F A3 EB 78 */ mr r3, r29
/* 800B2DC0 000AFD00 4B FF D8 DD */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
/* 800B2DC4 000AFD04 48 00 00 18 */ b .L_800B2DDC
.L_800B2DC8:
/* 800B2DC8 000AFD08 40 82 00 14 */ bne .L_800B2DDC
/* 800B2DCC 000AFD0C 28 1C 00 00 */ cmplwi r28, 0
/* 800B2DD0 000AFD10 40 82 00 0C */ bne .L_800B2DDC
/* 800B2DD4 000AFD14 7F A3 EB 78 */ mr r3, r29
/* 800B2DD8 000AFD18 4B FF D8 C5 */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
.L_800B2DDC:
/* 800B2DDC 000AFD1C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B2DE0 000AFD20 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B2DE4 000AFD24 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B2DE8 000AFD28 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B2DEC 000AFD2C 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B2DF0 000AFD30 7C 08 03 A6 */ mtlr r0
/* 800B2DF4 000AFD34 38 21 00 20 */ addi r1, r1, 0x20
/* 800B2DF8 000AFD38 4E 80 00 20 */ blr
.global checkCustomDvdLoadArc__Q27JAInter11SequenceMgrFUlUl
checkCustomDvdLoadArc__Q27JAInter11SequenceMgrFUlUl:
/* 800B2DFC 000AFD3C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 800B2E00 000AFD40 7C 08 02 A6 */ mflr r0
/* 800B2E04 000AFD44 1C 84 00 50 */ mulli r4, r4, 0x50
/* 800B2E08 000AFD48 90 01 00 24 */ stw r0, 0x24(r1)
/* 800B2E0C 000AFD4C 38 00 00 00 */ li r0, 0
/* 800B2E10 000AFD50 38 61 00 10 */ addi r3, r1, 0x10
/* 800B2E14 000AFD54 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B2E18 000AFD58 80 AD 8C 08 */ lwz r5, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2E1C 000AFD5C 7C A5 22 14 */ add r5, r5, r4
/* 800B2E20 000AFD60 38 80 00 01 */ li r4, 1
/* 800B2E24 000AFD64 83 E5 00 48 */ lwz r31, 0x48(r5)
/* 800B2E28 000AFD68 98 05 00 03 */ stb r0, 3(r5)
/* 800B2E2C 000AFD6C 7F E6 FB 78 */ mr r6, r31
/* 800B2E30 000AFD70 80 BF 00 44 */ lwz r5, 0x44(r31)
/* 800B2E34 000AFD74 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2E38 000AFD78 A0 A5 00 06 */ lhz r5, 6(r5)
/* 800B2E3C 000AFD7C 7D 89 03 A6 */ mtctr r12
/* 800B2E40 000AFD80 4E 80 04 21 */ bctrl
/* 800B2E44 000AFD84 28 1F 00 00 */ cmplwi r31, 0
/* 800B2E48 000AFD88 41 82 00 1C */ beq .L_800B2E64
/* 800B2E4C 000AFD8C 88 1F 00 15 */ lbz r0, 0x15(r31)
/* 800B2E50 000AFD90 28 00 00 01 */ cmplwi r0, 1
/* 800B2E54 000AFD94 40 82 00 10 */ bne .L_800B2E64
/* 800B2E58 000AFD98 38 00 00 02 */ li r0, 2
/* 800B2E5C 000AFD9C 98 1F 00 15 */ stb r0, 0x15(r31)
/* 800B2E60 000AFDA0 48 00 00 24 */ b .L_800B2E84
.L_800B2E64:
/* 800B2E64 000AFDA4 80 9F 00 44 */ lwz r4, 0x44(r31)
/* 800B2E68 000AFDA8 7F E6 FB 78 */ mr r6, r31
/* 800B2E6C 000AFDAC 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2E70 000AFDB0 38 61 00 08 */ addi r3, r1, 8
/* 800B2E74 000AFDB4 A0 A4 00 06 */ lhz r5, 6(r4)
/* 800B2E78 000AFDB8 38 80 00 02 */ li r4, 2
/* 800B2E7C 000AFDBC 7D 89 03 A6 */ mtctr r12
/* 800B2E80 000AFDC0 4E 80 04 21 */ bctrl
.L_800B2E84:
/* 800B2E84 000AFDC4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 800B2E88 000AFDC8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B2E8C 000AFDCC 7C 08 03 A6 */ mtlr r0
/* 800B2E90 000AFDD0 38 21 00 20 */ addi r1, r1, 0x20
/* 800B2E94 000AFDD4 4E 80 00 20 */ blr
.global storeSeqBuffer__Q27JAInter11SequenceMgrFPP11JAISequencePQ27JAInter5ActorUlUlUcPQ27JAInter9SoundInfo
storeSeqBuffer__Q27JAInter11SequenceMgrFPP11JAISequencePQ27JAInter5ActorUlUlUcPQ27JAInter9SoundInfo:
/* 800B2E98 000AFDD8 94 21 FF A0 */ stwu r1, -0x60(r1)
/* 800B2E9C 000AFDDC 7C 08 02 A6 */ mflr r0
/* 800B2EA0 000AFDE0 90 01 00 64 */ stw r0, 0x64(r1)
/* 800B2EA4 000AFDE4 BE 21 00 24 */ stmw r17, 0x24(r1)
/* 800B2EA8 000AFDE8 7C 76 1B 79 */ or. r22, r3, r3
/* 800B2EAC 000AFDEC 7D 1B 43 78 */ mr r27, r8
/* 800B2EB0 000AFDF0 7C 97 23 78 */ mr r23, r4
/* 800B2EB4 000AFDF4 7C B8 2B 78 */ mr r24, r5
/* 800B2EB8 000AFDF8 7C D9 33 78 */ mr r25, r6
/* 800B2EBC 000AFDFC 7C FA 3B 78 */ mr r26, r7
/* 800B2EC0 000AFE00 8B A8 00 05 */ lbz r29, 5(r8)
/* 800B2EC4 000AFE04 41 82 00 48 */ beq .L_800B2F0C
/* 800B2EC8 000AFE08 80 76 00 00 */ lwz r3, 0(r22)
/* 800B2ECC 000AFE0C 28 03 00 00 */ cmplwi r3, 0
/* 800B2ED0 000AFE10 41 82 00 3C */ beq .L_800B2F0C
/* 800B2ED4 000AFE14 88 03 00 14 */ lbz r0, 0x14(r3)
/* 800B2ED8 000AFE18 7C 1D 00 40 */ cmplw r29, r0
/* 800B2EDC 000AFE1C 41 82 00 1C */ beq .L_800B2EF8
/* 800B2EE0 000AFE20 81 83 00 10 */ lwz r12, 0x10(r3)
/* 800B2EE4 000AFE24 38 80 00 00 */ li r4, 0
/* 800B2EE8 000AFE28 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 800B2EEC 000AFE2C 7D 89 03 A6 */ mtctr r12
/* 800B2EF0 000AFE30 4E 80 04 21 */ bctrl
/* 800B2EF4 000AFE34 48 00 00 18 */ b .L_800B2F0C
.L_800B2EF8:
/* 800B2EF8 000AFE38 7F 04 C3 78 */ mr r4, r24
/* 800B2EFC 000AFE3C 7F 65 DB 78 */ mr r5, r27
/* 800B2F00 000AFE40 48 00 26 11 */ bl checkSoundHandle__8JAISoundFUlPv
/* 800B2F04 000AFE44 28 03 00 00 */ cmplwi r3, 0
/* 800B2F08 000AFE48 40 82 03 AC */ bne .L_800B32B4
.L_800B2F0C:
/* 800B2F0C 000AFE4C 1F FD 00 50 */ mulli r31, r29, 0x50
/* 800B2F10 000AFE50 82 AD 8C 08 */ lwz r21, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2F14 000AFE54 3B 9F 00 48 */ addi r28, r31, 0x48
/* 800B2F18 000AFE58 7C 95 E0 2E */ lwzx r4, r21, r28
/* 800B2F1C 000AFE5C 28 04 00 00 */ cmplwi r4, 0
/* 800B2F20 000AFE60 40 82 00 0C */ bne .L_800B2F2C
/* 800B2F24 000AFE64 38 A0 00 01 */ li r5, 1
/* 800B2F28 000AFE68 48 00 02 64 */ b .L_800B318C
.L_800B2F2C:
/* 800B2F2C 000AFE6C 88 04 00 15 */ lbz r0, 0x15(r4)
/* 800B2F30 000AFE70 28 00 00 05 */ cmplwi r0, 5
/* 800B2F34 000AFE74 40 82 01 14 */ bne .L_800B3048
/* 800B2F38 000AFE78 38 64 03 0C */ addi r3, r4, 0x30c
/* 800B2F3C 000AFE7C 4B FE E0 1D */ bl stopSeq__8JASTrackFv
/* 800B2F40 000AFE80 7C 75 E0 2E */ lwzx r3, r21, r28
/* 800B2F44 000AFE84 48 00 0C 2D */ bl clearMainSoundPPointer__8JAISoundFv
/* 800B2F48 000AFE88 7E 75 E0 2E */ lwzx r19, r21, r28
/* 800B2F4C 000AFE8C 7E 63 9B 78 */ mr r3, r19
/* 800B2F50 000AFE90 48 00 0B F9 */ bl getSwBit__8JAISoundFv
/* 800B2F54 000AFE94 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 800B2F58 000AFE98 41 82 00 70 */ beq .L_800B2FC8
/* 800B2F5C 000AFE9C 3A 80 00 00 */ li r20, 0
/* 800B2F60 000AFEA0 7E 92 A3 78 */ mr r18, r20
/* 800B2F64 000AFEA4 48 00 00 58 */ b .L_800B2FBC
.L_800B2F68:
/* 800B2F68 000AFEA8 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2F6C 000AFEAC 38 12 00 48 */ addi r0, r18, 0x48
/* 800B2F70 000AFEB0 7E 23 00 2E */ lwzx r17, r3, r0
/* 800B2F74 000AFEB4 7C 13 88 40 */ cmplw r19, r17
/* 800B2F78 000AFEB8 41 82 00 3C */ beq .L_800B2FB4
/* 800B2F7C 000AFEBC 28 11 00 00 */ cmplwi r17, 0
/* 800B2F80 000AFEC0 41 82 00 34 */ beq .L_800B2FB4
/* 800B2F84 000AFEC4 7E 23 8B 78 */ mr r3, r17
/* 800B2F88 000AFEC8 48 00 0B C1 */ bl getSwBit__8JAISoundFv
/* 800B2F8C 000AFECC 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 800B2F90 000AFED0 40 82 00 24 */ bne .L_800B2FB4
/* 800B2F94 000AFED4 7E 23 8B 78 */ mr r3, r17
/* 800B2F98 000AFED8 C0 22 8C 40 */ lfs f1, lbl_80516FA0@sda21(r2)
/* 800B2F9C 000AFEDC 81 91 00 10 */ lwz r12, 0x10(r17)
/* 800B2FA0 000AFEE0 38 80 00 0A */ li r4, 0xa
/* 800B2FA4 000AFEE4 38 A0 00 0A */ li r5, 0xa
/* 800B2FA8 000AFEE8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B2FAC 000AFEEC 7D 89 03 A6 */ mtctr r12
/* 800B2FB0 000AFEF0 4E 80 04 21 */ bctrl
.L_800B2FB4:
/* 800B2FB4 000AFEF4 3A 52 00 50 */ addi r18, r18, 0x50
/* 800B2FB8 000AFEF8 3A 94 00 01 */ addi r20, r20, 1
.L_800B2FBC:
/* 800B2FBC 000AFEFC 4B FF AB 11 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B2FC0 000AFF00 7C 14 18 40 */ cmplw r20, r3
/* 800B2FC4 000AFF04 41 80 FF A4 */ blt .L_800B2F68
.L_800B2FC8:
/* 800B2FC8 000AFF08 38 00 00 00 */ li r0, 0
/* 800B2FCC 000AFF0C 90 13 00 40 */ stw r0, 0x40(r19)
/* 800B2FD0 000AFF10 90 13 03 08 */ stw r0, 0x308(r19)
/* 800B2FD4 000AFF14 88 13 00 15 */ lbz r0, 0x15(r19)
/* 800B2FD8 000AFF18 28 00 00 03 */ cmplwi r0, 3
/* 800B2FDC 000AFF1C 41 80 00 38 */ blt .L_800B3014
/* 800B2FE0 000AFF20 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B2FE4 000AFF24 28 0C 00 00 */ cmplwi r12, 0
/* 800B2FE8 000AFF28 41 82 00 24 */ beq .L_800B300C
/* 800B2FEC 000AFF2C 80 93 00 44 */ lwz r4, 0x44(r19)
/* 800B2FF0 000AFF30 7E 66 9B 78 */ mr r6, r19
/* 800B2FF4 000AFF34 38 61 00 10 */ addi r3, r1, 0x10
/* 800B2FF8 000AFF38 A0 A4 00 06 */ lhz r5, 6(r4)
/* 800B2FFC 000AFF3C 38 80 00 02 */ li r4, 2
/* 800B3000 000AFF40 7D 89 03 A6 */ mtctr r12
/* 800B3004 000AFF44 4E 80 04 21 */ bctrl
/* 800B3008 000AFF48 48 00 00 0C */ b .L_800B3014
.L_800B300C:
/* 800B300C 000AFF4C 88 73 02 C0 */ lbz r3, 0x2c0(r19)
/* 800B3010 000AFF50 4B FF D6 8D */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
.L_800B3014:
/* 800B3014 000AFF54 38 00 00 00 */ li r0, 0
/* 800B3018 000AFF58 7E 64 9B 78 */ mr r4, r19
/* 800B301C 000AFF5C 98 13 00 15 */ stb r0, 0x15(r19)
/* 800B3020 000AFF60 38 6D 8C 10 */ addi r3, r13, seqControl__Q27JAInter11SequenceMgr@sda21
/* 800B3024 000AFF64 48 00 27 C9 */ bl releaseSound__Q27JAInter9LinkSoundFP8JAISound
/* 800B3028 000AFF68 88 13 00 14 */ lbz r0, 0x14(r19)
/* 800B302C 000AFF6C 38 80 00 00 */ li r4, 0
/* 800B3030 000AFF70 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B3034 000AFF74 38 A0 00 01 */ li r5, 1
/* 800B3038 000AFF78 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B303C 000AFF7C 7C 63 02 14 */ add r3, r3, r0
/* 800B3040 000AFF80 90 83 00 48 */ stw r4, 0x48(r3)
/* 800B3044 000AFF84 48 00 01 48 */ b .L_800B318C
.L_800B3048:
/* 800B3048 000AFF88 28 00 00 01 */ cmplwi r0, 1
/* 800B304C 000AFF8C 40 82 00 10 */ bne .L_800B305C
/* 800B3050 000AFF90 38 00 00 00 */ li r0, 0
/* 800B3054 000AFF94 90 16 00 00 */ stw r0, 0(r22)
/* 800B3058 000AFF98 48 00 02 5C */ b .L_800B32B4
.L_800B305C:
/* 800B305C 000AFF9C 80 64 00 44 */ lwz r3, 0x44(r4)
/* 800B3060 000AFFA0 88 1B 00 04 */ lbz r0, 4(r27)
/* 800B3064 000AFFA4 88 63 00 04 */ lbz r3, 4(r3)
/* 800B3068 000AFFA8 7C 03 00 40 */ cmplw r3, r0
/* 800B306C 000AFFAC 41 81 01 14 */ bgt .L_800B3180
/* 800B3070 000AFFB0 38 64 03 0C */ addi r3, r4, 0x30c
/* 800B3074 000AFFB4 4B FE DE E5 */ bl stopSeq__8JASTrackFv
/* 800B3078 000AFFB8 7C 75 E0 2E */ lwzx r3, r21, r28
/* 800B307C 000AFFBC 48 00 0A F5 */ bl clearMainSoundPPointer__8JAISoundFv
/* 800B3080 000AFFC0 7E 95 E0 2E */ lwzx r20, r21, r28
/* 800B3084 000AFFC4 7E 83 A3 78 */ mr r3, r20
/* 800B3088 000AFFC8 48 00 0A C1 */ bl getSwBit__8JAISoundFv
/* 800B308C 000AFFCC 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 800B3090 000AFFD0 41 82 00 70 */ beq .L_800B3100
/* 800B3094 000AFFD4 3A 60 00 00 */ li r19, 0
/* 800B3098 000AFFD8 7E 72 9B 78 */ mr r18, r19
/* 800B309C 000AFFDC 48 00 00 58 */ b .L_800B30F4
.L_800B30A0:
/* 800B30A0 000AFFE0 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B30A4 000AFFE4 38 12 00 48 */ addi r0, r18, 0x48
/* 800B30A8 000AFFE8 7E 23 00 2E */ lwzx r17, r3, r0
/* 800B30AC 000AFFEC 7C 14 88 40 */ cmplw r20, r17
/* 800B30B0 000AFFF0 41 82 00 3C */ beq .L_800B30EC
/* 800B30B4 000AFFF4 28 11 00 00 */ cmplwi r17, 0
/* 800B30B8 000AFFF8 41 82 00 34 */ beq .L_800B30EC
/* 800B30BC 000AFFFC 7E 23 8B 78 */ mr r3, r17
/* 800B30C0 000B0000 48 00 0A 89 */ bl getSwBit__8JAISoundFv
/* 800B30C4 000B0004 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 800B30C8 000B0008 40 82 00 24 */ bne .L_800B30EC
/* 800B30CC 000B000C 7E 23 8B 78 */ mr r3, r17
/* 800B30D0 000B0010 C0 22 8C 40 */ lfs f1, lbl_80516FA0@sda21(r2)
/* 800B30D4 000B0014 81 91 00 10 */ lwz r12, 0x10(r17)
/* 800B30D8 000B0018 38 80 00 0A */ li r4, 0xa
/* 800B30DC 000B001C 38 A0 00 0A */ li r5, 0xa
/* 800B30E0 000B0020 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B30E4 000B0024 7D 89 03 A6 */ mtctr r12
/* 800B30E8 000B0028 4E 80 04 21 */ bctrl
.L_800B30EC:
/* 800B30EC 000B002C 3A 52 00 50 */ addi r18, r18, 0x50
/* 800B30F0 000B0030 3A 73 00 01 */ addi r19, r19, 1
.L_800B30F4:
/* 800B30F4 000B0034 4B FF A9 D9 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B30F8 000B0038 7C 13 18 40 */ cmplw r19, r3
/* 800B30FC 000B003C 41 80 FF A4 */ blt .L_800B30A0
.L_800B3100:
/* 800B3100 000B0040 38 00 00 00 */ li r0, 0
/* 800B3104 000B0044 90 14 00 40 */ stw r0, 0x40(r20)
/* 800B3108 000B0048 90 14 03 08 */ stw r0, 0x308(r20)
/* 800B310C 000B004C 88 14 00 15 */ lbz r0, 0x15(r20)
/* 800B3110 000B0050 28 00 00 03 */ cmplwi r0, 3
/* 800B3114 000B0054 41 80 00 38 */ blt .L_800B314C
/* 800B3118 000B0058 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B311C 000B005C 28 0C 00 00 */ cmplwi r12, 0
/* 800B3120 000B0060 41 82 00 24 */ beq .L_800B3144
/* 800B3124 000B0064 80 94 00 44 */ lwz r4, 0x44(r20)
/* 800B3128 000B0068 7E 86 A3 78 */ mr r6, r20
/* 800B312C 000B006C 38 61 00 08 */ addi r3, r1, 8
/* 800B3130 000B0070 A0 A4 00 06 */ lhz r5, 6(r4)
/* 800B3134 000B0074 38 80 00 02 */ li r4, 2
/* 800B3138 000B0078 7D 89 03 A6 */ mtctr r12
/* 800B313C 000B007C 4E 80 04 21 */ bctrl
/* 800B3140 000B0080 48 00 00 0C */ b .L_800B314C
.L_800B3144:
/* 800B3144 000B0084 88 74 02 C0 */ lbz r3, 0x2c0(r20)
/* 800B3148 000B0088 4B FF D5 55 */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
.L_800B314C:
/* 800B314C 000B008C 38 00 00 00 */ li r0, 0
/* 800B3150 000B0090 7E 84 A3 78 */ mr r4, r20
/* 800B3154 000B0094 98 14 00 15 */ stb r0, 0x15(r20)
/* 800B3158 000B0098 38 6D 8C 10 */ addi r3, r13, seqControl__Q27JAInter11SequenceMgr@sda21
/* 800B315C 000B009C 48 00 26 91 */ bl releaseSound__Q27JAInter9LinkSoundFP8JAISound
/* 800B3160 000B00A0 88 14 00 14 */ lbz r0, 0x14(r20)
/* 800B3164 000B00A4 38 80 00 00 */ li r4, 0
/* 800B3168 000B00A8 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B316C 000B00AC 38 A0 00 01 */ li r5, 1
/* 800B3170 000B00B0 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B3174 000B00B4 7C 63 02 14 */ add r3, r3, r0
/* 800B3178 000B00B8 90 83 00 48 */ stw r4, 0x48(r3)
/* 800B317C 000B00BC 48 00 00 10 */ b .L_800B318C
.L_800B3180:
/* 800B3180 000B00C0 38 00 00 00 */ li r0, 0
/* 800B3184 000B00C4 90 16 00 00 */ stw r0, 0(r22)
/* 800B3188 000B00C8 48 00 01 2C */ b .L_800B32B4
.L_800B318C:
/* 800B318C 000B00CC 28 05 00 00 */ cmplwi r5, 0
/* 800B3190 000B00D0 41 82 00 EC */ beq .L_800B327C
/* 800B3194 000B00D4 38 6D 8C 10 */ addi r3, r13, seqControl__Q27JAInter11SequenceMgr@sda21
/* 800B3198 000B00D8 48 00 25 D5 */ bl getSound__Q27JAInter9LinkSoundFv
/* 800B319C 000B00DC 7C 7E 1B 79 */ or. r30, r3, r3
/* 800B31A0 000B00E0 40 82 00 10 */ bne .L_800B31B0
/* 800B31A4 000B00E4 38 00 00 00 */ li r0, 0
/* 800B31A8 000B00E8 90 16 00 00 */ stw r0, 0(r22)
/* 800B31AC 000B00EC 48 00 01 08 */ b .L_800B32B4
.L_800B31B0:
/* 800B31B0 000B00F0 38 7E 00 48 */ addi r3, r30, 0x48
/* 800B31B4 000B00F4 48 00 01 15 */ bl init__Q27JAInter12SeqParameterFv
/* 800B31B8 000B00F8 7F D5 E1 2E */ stwx r30, r21, r28
/* 800B31BC 000B00FC 38 80 00 01 */ li r4, 1
/* 800B31C0 000B0100 3A 40 00 00 */ li r18, 0
/* 800B31C4 000B0104 7C 75 E0 2E */ lwzx r3, r21, r28
/* 800B31C8 000B0108 93 03 00 20 */ stw r24, 0x20(r3)
/* 800B31CC 000B010C 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B31D0 000B0110 7C 75 E0 2E */ lwzx r3, r21, r28
/* 800B31D4 000B0114 7C 00 FA 14 */ add r0, r0, r31
/* 800B31D8 000B0118 90 03 03 08 */ stw r0, 0x308(r3)
/* 800B31DC 000B011C 7C 75 E0 2E */ lwzx r3, r21, r28
/* 800B31E0 000B0120 9B A3 00 14 */ stb r29, 0x14(r3)
/* 800B31E4 000B0124 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B31E8 000B0128 7C 60 FA 14 */ add r3, r0, r31
/* 800B31EC 000B012C 90 83 00 08 */ stw r4, 8(r3)
/* 800B31F0 000B0130 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B31F4 000B0134 7C 60 FA 14 */ add r3, r0, r31
/* 800B31F8 000B0138 9A 43 00 02 */ stb r18, 2(r3)
/* 800B31FC 000B013C 80 0D 8C 08 */ lwz r0, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B3200 000B0140 7C 60 FA 14 */ add r3, r0, r31
/* 800B3204 000B0144 92 43 00 04 */ stw r18, 4(r3)
/* 800B3208 000B0148 80 1B 00 00 */ lwz r0, 0(r27)
/* 800B320C 000B014C 54 00 07 FF */ clrlwi. r0, r0, 0x1f
/* 800B3210 000B0150 41 82 00 6C */ beq .L_800B327C
/* 800B3214 000B0154 3A 20 00 00 */ li r17, 0
/* 800B3218 000B0158 48 00 00 58 */ b .L_800B3270
.L_800B321C:
/* 800B321C 000B015C 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B3220 000B0160 38 12 00 48 */ addi r0, r18, 0x48
/* 800B3224 000B0164 7C 11 E8 40 */ cmplw r17, r29
/* 800B3228 000B0168 7E 63 00 2E */ lwzx r19, r3, r0
/* 800B322C 000B016C 41 82 00 3C */ beq .L_800B3268
/* 800B3230 000B0170 28 13 00 00 */ cmplwi r19, 0
/* 800B3234 000B0174 41 82 00 34 */ beq .L_800B3268
/* 800B3238 000B0178 7E 63 9B 78 */ mr r3, r19
/* 800B323C 000B017C 48 00 09 0D */ bl getSwBit__8JAISoundFv
/* 800B3240 000B0180 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 800B3244 000B0184 40 82 00 24 */ bne .L_800B3268
/* 800B3248 000B0188 7E 63 9B 78 */ mr r3, r19
/* 800B324C 000B018C C0 22 8C 48 */ lfs f1, lbl_80516FA8@sda21(r2)
/* 800B3250 000B0190 81 93 00 10 */ lwz r12, 0x10(r19)
/* 800B3254 000B0194 38 80 00 0A */ li r4, 0xa
/* 800B3258 000B0198 38 A0 00 0A */ li r5, 0xa
/* 800B325C 000B019C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B3260 000B01A0 7D 89 03 A6 */ mtctr r12
/* 800B3264 000B01A4 4E 80 04 21 */ bctrl
.L_800B3268:
/* 800B3268 000B01A8 3A 52 00 50 */ addi r18, r18, 0x50
/* 800B326C 000B01AC 3A 31 00 01 */ addi r17, r17, 1
.L_800B3270:
/* 800B3270 000B01B0 4B FF A8 5D */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B3274 000B01B4 7C 11 18 40 */ cmplw r17, r3
/* 800B3278 000B01B8 41 80 FF A4 */ blt .L_800B321C
.L_800B327C:
/* 800B327C 000B01BC 7F C3 F3 78 */ mr r3, r30
/* 800B3280 000B01C0 7E C4 B3 78 */ mr r4, r22
/* 800B3284 000B01C4 81 9E 00 10 */ lwz r12, 0x10(r30)
/* 800B3288 000B01C8 7E E5 BB 78 */ mr r5, r23
/* 800B328C 000B01CC 7F 06 C3 78 */ mr r6, r24
/* 800B3290 000B01D0 7F 27 CB 78 */ mr r7, r25
/* 800B3294 000B01D4 81 8C 00 C8 */ lwz r12, 0xc8(r12)
/* 800B3298 000B01D8 7F 48 D3 78 */ mr r8, r26
/* 800B329C 000B01DC 7F 69 DB 78 */ mr r9, r27
/* 800B32A0 000B01E0 7D 89 03 A6 */ mtctr r12
/* 800B32A4 000B01E4 4E 80 04 21 */ bctrl
/* 800B32A8 000B01E8 28 16 00 00 */ cmplwi r22, 0
/* 800B32AC 000B01EC 41 82 00 08 */ beq .L_800B32B4
/* 800B32B0 000B01F0 93 D6 00 00 */ stw r30, 0(r22)
.L_800B32B4:
/* 800B32B4 000B01F4 BA 21 00 24 */ lmw r17, 0x24(r1)
/* 800B32B8 000B01F8 80 01 00 64 */ lwz r0, 0x64(r1)
/* 800B32BC 000B01FC 7C 08 03 A6 */ mtlr r0
/* 800B32C0 000B0200 38 21 00 60 */ addi r1, r1, 0x60
/* 800B32C4 000B0204 4E 80 00 20 */ blr
.global init__Q27JAInter12SeqParameterFv
init__Q27JAInter12SeqParameterFv:
/* 800B32C8 000B0208 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 800B32CC 000B020C 7C 08 02 A6 */ mflr r0
/* 800B32D0 000B0210 90 01 00 54 */ stw r0, 0x54(r1)
/* 800B32D4 000B0214 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 800B32D8 000B0218 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 800B32DC 000B021C DB C1 00 30 */ stfd f30, 0x30(r1)
/* 800B32E0 000B0220 F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 800B32E4 000B0224 DB A1 00 20 */ stfd f29, 0x20(r1)
/* 800B32E8 000B0228 F3 A1 00 28 */ psq_st f29, 40(r1), 0, qr0
/* 800B32EC 000B022C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 800B32F0 000B0230 93 C1 00 18 */ stw r30, 0x18(r1)
/* 800B32F4 000B0234 93 A1 00 14 */ stw r29, 0x14(r1)
/* 800B32F8 000B0238 93 81 00 10 */ stw r28, 0x10(r1)
/* 800B32FC 000B023C 7C 7C 1B 78 */ mr r28, r3
/* 800B3300 000B0240 38 7C 02 C4 */ addi r3, r28, 0x2c4
/* 800B3304 000B0244 38 9C 06 2C */ addi r4, r28, 0x62c
/* 800B3308 000B0248 4B FE C3 C9 */ bl assignExtBuffer__8JASTrackFP13JASOuterParam
/* 800B330C 000B024C 38 00 FF FF */ li r0, -1
/* 800B3310 000B0250 3B E0 00 00 */ li r31, 0
/* 800B3314 000B0254 90 1C 02 7C */ stw r0, 0x27c(r28)
/* 800B3318 000B0258 7F FE FB 78 */ mr r30, r31
/* 800B331C 000B025C C3 E2 8C 40 */ lfs f31, lbl_80516FA0@sda21(r2)
/* 800B3320 000B0260 3B A0 00 00 */ li r29, 0
/* 800B3324 000B0264 C3 C2 8C 44 */ lfs f30, lbl_80516FA4@sda21(r2)
/* 800B3328 000B0268 D3 FC 00 04 */ stfs f31, 4(r28)
/* 800B332C 000B026C C3 A2 8C 48 */ lfs f29, lbl_80516FA8@sda21(r2)
/* 800B3330 000B0270 D3 FC 00 00 */ stfs f31, 0(r28)
/* 800B3334 000B0274 93 FC 00 0C */ stw r31, 0xc(r28)
/* 800B3338 000B0278 9B FC 02 79 */ stb r31, 0x279(r28)
/* 800B333C 000B027C B3 FC 02 7A */ sth r31, 0x27a(r28)
/* 800B3340 000B0280 93 FC 02 80 */ stw r31, 0x280(r28)
/* 800B3344 000B0284 93 FC 02 84 */ stw r31, 0x284(r28)
/* 800B3348 000B0288 93 FC 02 88 */ stw r31, 0x288(r28)
/* 800B334C 000B028C 93 FC 02 8C */ stw r31, 0x28c(r28)
/* 800B3350 000B0290 93 FC 02 90 */ stw r31, 0x290(r28)
/* 800B3354 000B0294 93 FC 02 94 */ stw r31, 0x294(r28)
/* 800B3358 000B0298 93 FC 02 98 */ stw r31, 0x298(r28)
/* 800B335C 000B029C 93 FC 02 9C */ stw r31, 0x29c(r28)
/* 800B3360 000B02A0 93 FC 02 A0 */ stw r31, 0x2a0(r28)
/* 800B3364 000B02A4 93 FC 02 A4 */ stw r31, 0x2a4(r28)
/* 800B3368 000B02A8 93 FC 02 A8 */ stw r31, 0x2a8(r28)
/* 800B336C 000B02AC 93 FC 02 AC */ stw r31, 0x2ac(r28)
/* 800B3370 000B02B0 93 FC 02 B0 */ stw r31, 0x2b0(r28)
/* 800B3374 000B02B4 48 00 01 18 */ b .L_800B348C
.L_800B3378:
/* 800B3378 000B02B8 80 9C 02 60 */ lwz r4, 0x260(r28)
/* 800B337C 000B02BC 38 60 00 00 */ li r3, 0
/* 800B3380 000B02C0 38 00 00 02 */ li r0, 2
/* 800B3384 000B02C4 7C 84 FA 14 */ add r4, r4, r31
/* 800B3388 000B02C8 D3 E4 00 04 */ stfs f31, 4(r4)
/* 800B338C 000B02CC D3 E4 00 00 */ stfs f31, 0(r4)
/* 800B3390 000B02D0 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B3394 000B02D4 80 9C 02 64 */ lwz r4, 0x264(r28)
/* 800B3398 000B02D8 7C 84 FA 14 */ add r4, r4, r31
/* 800B339C 000B02DC D3 C4 00 04 */ stfs f30, 4(r4)
/* 800B33A0 000B02E0 D3 C4 00 00 */ stfs f30, 0(r4)
/* 800B33A4 000B02E4 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B33A8 000B02E8 80 9C 02 68 */ lwz r4, 0x268(r28)
/* 800B33AC 000B02EC 7C 84 FA 14 */ add r4, r4, r31
/* 800B33B0 000B02F0 D3 E4 00 04 */ stfs f31, 4(r4)
/* 800B33B4 000B02F4 D3 E4 00 00 */ stfs f31, 0(r4)
/* 800B33B8 000B02F8 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B33BC 000B02FC 80 9C 02 6C */ lwz r4, 0x26c(r28)
/* 800B33C0 000B0300 7C 84 FA 14 */ add r4, r4, r31
/* 800B33C4 000B0304 D3 A4 00 04 */ stfs f29, 4(r4)
/* 800B33C8 000B0308 D3 A4 00 00 */ stfs f29, 0(r4)
/* 800B33CC 000B030C 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B33D0 000B0310 80 9C 02 70 */ lwz r4, 0x270(r28)
/* 800B33D4 000B0314 7C 84 FA 14 */ add r4, r4, r31
/* 800B33D8 000B0318 D3 C4 00 04 */ stfs f30, 4(r4)
/* 800B33DC 000B031C D3 C4 00 00 */ stfs f30, 0(r4)
/* 800B33E0 000B0320 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B33E4 000B0324 80 9C 02 B8 */ lwz r4, 0x2b8(r28)
/* 800B33E8 000B0328 7C 64 E9 AE */ stbx r3, r4, r29
/* 800B33EC 000B032C 80 9C 02 B4 */ lwz r4, 0x2b4(r28)
/* 800B33F0 000B0330 7C 64 F1 2E */ stwx r3, r4, r30
/* 800B33F4 000B0334 7C 09 03 A6 */ mtctr r0
.L_800B33F8:
/* 800B33F8 000B0338 80 1C 02 74 */ lwz r0, 0x274(r28)
/* 800B33FC 000B033C 39 60 00 00 */ li r11, 0
/* 800B3400 000B0340 39 23 00 02 */ addi r9, r3, 2
/* 800B3404 000B0344 39 03 00 04 */ addi r8, r3, 4
/* 800B3408 000B0348 7C 9E 00 2E */ lwzx r4, r30, r0
/* 800B340C 000B034C 38 E3 00 06 */ addi r7, r3, 6
/* 800B3410 000B0350 38 C3 00 08 */ addi r6, r3, 8
/* 800B3414 000B0354 38 A3 00 0A */ addi r5, r3, 0xa
/* 800B3418 000B0358 7D 64 1B 2E */ sthx r11, r4, r3
/* 800B341C 000B035C 38 83 00 0C */ addi r4, r3, 0xc
/* 800B3420 000B0360 38 03 00 0E */ addi r0, r3, 0xe
/* 800B3424 000B0364 38 63 00 10 */ addi r3, r3, 0x10
/* 800B3428 000B0368 81 5C 02 74 */ lwz r10, 0x274(r28)
/* 800B342C 000B036C 7D 5E 50 2E */ lwzx r10, r30, r10
/* 800B3430 000B0370 7D 6A 4B 2E */ sthx r11, r10, r9
/* 800B3434 000B0374 81 3C 02 74 */ lwz r9, 0x274(r28)
/* 800B3438 000B0378 7D 3E 48 2E */ lwzx r9, r30, r9
/* 800B343C 000B037C 7D 69 43 2E */ sthx r11, r9, r8
/* 800B3440 000B0380 81 1C 02 74 */ lwz r8, 0x274(r28)
/* 800B3444 000B0384 7D 1E 40 2E */ lwzx r8, r30, r8
/* 800B3448 000B0388 7D 68 3B 2E */ sthx r11, r8, r7
/* 800B344C 000B038C 80 FC 02 74 */ lwz r7, 0x274(r28)
/* 800B3450 000B0390 7C FE 38 2E */ lwzx r7, r30, r7
/* 800B3454 000B0394 7D 67 33 2E */ sthx r11, r7, r6
/* 800B3458 000B0398 80 DC 02 74 */ lwz r6, 0x274(r28)
/* 800B345C 000B039C 7C DE 30 2E */ lwzx r6, r30, r6
/* 800B3460 000B03A0 7D 66 2B 2E */ sthx r11, r6, r5
/* 800B3464 000B03A4 80 BC 02 74 */ lwz r5, 0x274(r28)
/* 800B3468 000B03A8 7C BE 28 2E */ lwzx r5, r30, r5
/* 800B346C 000B03AC 7D 65 23 2E */ sthx r11, r5, r4
/* 800B3470 000B03B0 80 9C 02 74 */ lwz r4, 0x274(r28)
/* 800B3474 000B03B4 7C 9E 20 2E */ lwzx r4, r30, r4
/* 800B3478 000B03B8 7D 64 03 2E */ sthx r11, r4, r0
/* 800B347C 000B03BC 42 00 FF 7C */ bdnz .L_800B33F8
/* 800B3480 000B03C0 3B FF 00 10 */ addi r31, r31, 0x10
/* 800B3484 000B03C4 3B DE 00 04 */ addi r30, r30, 4
/* 800B3488 000B03C8 3B BD 00 01 */ addi r29, r29, 1
.L_800B348C:
/* 800B348C 000B03CC 4B FF A6 21 */ bl getParamSeqTrackMax__18JAIGlobalParameterFv
/* 800B3490 000B03D0 7C 1D 18 40 */ cmplw r29, r3
/* 800B3494 000B03D4 41 80 FE E4 */ blt .L_800B3378
/* 800B3498 000B03D8 C0 02 8C 48 */ lfs f0, lbl_80516FA8@sda21(r2)
/* 800B349C 000B03DC 3B A0 00 00 */ li r29, 0
/* 800B34A0 000B03E0 C3 A2 8C 40 */ lfs f29, lbl_80516FA0@sda21(r2)
/* 800B34A4 000B03E4 7F 9E E3 78 */ mr r30, r28
/* 800B34A8 000B03E8 D0 1C 00 14 */ stfs f0, 0x14(r28)
/* 800B34AC 000B03EC 3B E0 00 00 */ li r31, 0
/* 800B34B0 000B03F0 D0 1C 00 10 */ stfs f0, 0x10(r28)
/* 800B34B4 000B03F4 93 BC 00 1C */ stw r29, 0x1c(r28)
/* 800B34B8 000B03F8 D0 1C 00 24 */ stfs f0, 0x24(r28)
/* 800B34BC 000B03FC D0 1C 00 20 */ stfs f0, 0x20(r28)
/* 800B34C0 000B0400 93 BC 00 2C */ stw r29, 0x2c(r28)
/* 800B34C4 000B0404 D0 1C 00 34 */ stfs f0, 0x34(r28)
/* 800B34C8 000B0408 D0 1C 00 30 */ stfs f0, 0x30(r28)
/* 800B34CC 000B040C 93 BC 00 3C */ stw r29, 0x3c(r28)
/* 800B34D0 000B0410 D0 1C 00 44 */ stfs f0, 0x44(r28)
/* 800B34D4 000B0414 D0 1C 00 40 */ stfs f0, 0x40(r28)
/* 800B34D8 000B0418 93 BC 00 4C */ stw r29, 0x4c(r28)
/* 800B34DC 000B041C D0 1C 00 54 */ stfs f0, 0x54(r28)
/* 800B34E0 000B0420 D0 1C 00 50 */ stfs f0, 0x50(r28)
/* 800B34E4 000B0424 93 BC 00 5C */ stw r29, 0x5c(r28)
/* 800B34E8 000B0428 D0 1C 00 64 */ stfs f0, 0x64(r28)
/* 800B34EC 000B042C D0 1C 00 60 */ stfs f0, 0x60(r28)
/* 800B34F0 000B0430 93 BC 00 6C */ stw r29, 0x6c(r28)
/* 800B34F4 000B0434 D0 1C 00 74 */ stfs f0, 0x74(r28)
/* 800B34F8 000B0438 D0 1C 00 70 */ stfs f0, 0x70(r28)
/* 800B34FC 000B043C 93 BC 00 7C */ stw r29, 0x7c(r28)
/* 800B3500 000B0440 D0 1C 00 84 */ stfs f0, 0x84(r28)
/* 800B3504 000B0444 D0 1C 00 80 */ stfs f0, 0x80(r28)
/* 800B3508 000B0448 93 BC 00 8C */ stw r29, 0x8c(r28)
/* 800B350C 000B044C D0 1C 00 94 */ stfs f0, 0x94(r28)
/* 800B3510 000B0450 D0 1C 00 90 */ stfs f0, 0x90(r28)
/* 800B3514 000B0454 93 BC 00 9C */ stw r29, 0x9c(r28)
/* 800B3518 000B0458 D0 1C 00 A4 */ stfs f0, 0xa4(r28)
/* 800B351C 000B045C D0 1C 00 A0 */ stfs f0, 0xa0(r28)
/* 800B3520 000B0460 93 BC 00 AC */ stw r29, 0xac(r28)
/* 800B3524 000B0464 D0 1C 00 B4 */ stfs f0, 0xb4(r28)
/* 800B3528 000B0468 D0 1C 00 B0 */ stfs f0, 0xb0(r28)
/* 800B352C 000B046C 93 BC 00 BC */ stw r29, 0xbc(r28)
/* 800B3530 000B0470 D0 1C 00 C4 */ stfs f0, 0xc4(r28)
/* 800B3534 000B0474 D0 1C 00 C0 */ stfs f0, 0xc0(r28)
/* 800B3538 000B0478 93 BC 00 CC */ stw r29, 0xcc(r28)
/* 800B353C 000B047C D0 1C 00 D4 */ stfs f0, 0xd4(r28)
/* 800B3540 000B0480 D0 1C 00 D0 */ stfs f0, 0xd0(r28)
/* 800B3544 000B0484 93 BC 00 DC */ stw r29, 0xdc(r28)
/* 800B3548 000B0488 D0 1C 00 E4 */ stfs f0, 0xe4(r28)
/* 800B354C 000B048C D0 1C 00 E0 */ stfs f0, 0xe0(r28)
/* 800B3550 000B0490 93 BC 00 EC */ stw r29, 0xec(r28)
/* 800B3554 000B0494 D0 1C 00 F4 */ stfs f0, 0xf4(r28)
/* 800B3558 000B0498 D0 1C 00 F0 */ stfs f0, 0xf0(r28)
/* 800B355C 000B049C 93 BC 00 FC */ stw r29, 0xfc(r28)
/* 800B3560 000B04A0 D0 1C 01 04 */ stfs f0, 0x104(r28)
/* 800B3564 000B04A4 D0 1C 01 00 */ stfs f0, 0x100(r28)
/* 800B3568 000B04A8 93 BC 01 0C */ stw r29, 0x10c(r28)
/* 800B356C 000B04AC 48 00 00 18 */ b .L_800B3584
.L_800B3570:
/* 800B3570 000B04B0 D3 BE 01 14 */ stfs f29, 0x114(r30)
/* 800B3574 000B04B4 3B FF 00 01 */ addi r31, r31, 1
/* 800B3578 000B04B8 D3 BE 01 10 */ stfs f29, 0x110(r30)
/* 800B357C 000B04BC 93 BE 01 1C */ stw r29, 0x11c(r30)
/* 800B3580 000B04C0 3B DE 00 10 */ addi r30, r30, 0x10
.L_800B3584:
/* 800B3584 000B04C4 4B FF A5 49 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B3588 000B04C8 38 03 00 0C */ addi r0, r3, 0xc
/* 800B358C 000B04CC 7C 1F 00 40 */ cmplw r31, r0
/* 800B3590 000B04D0 41 80 FF E0 */ blt .L_800B3570
/* 800B3594 000B04D4 C3 A2 8C 44 */ lfs f29, lbl_80516FA4@sda21(r2)
/* 800B3598 000B04D8 3B C0 00 00 */ li r30, 0
/* 800B359C 000B04DC C3 C2 8C 40 */ lfs f30, lbl_80516FA0@sda21(r2)
/* 800B35A0 000B04E0 3B A0 00 00 */ li r29, 0
/* 800B35A4 000B04E4 C3 E2 8C 48 */ lfs f31, lbl_80516FA8@sda21(r2)
/* 800B35A8 000B04E8 48 00 00 60 */ b .L_800B3608
.L_800B35AC:
/* 800B35AC 000B04EC 80 1C 02 50 */ lwz r0, 0x250(r28)
/* 800B35B0 000B04F0 38 60 00 00 */ li r3, 0
/* 800B35B4 000B04F4 3B DE 00 01 */ addi r30, r30, 1
/* 800B35B8 000B04F8 7C 80 EA 14 */ add r4, r0, r29
/* 800B35BC 000B04FC D3 A4 00 04 */ stfs f29, 4(r4)
/* 800B35C0 000B0500 D3 A4 00 00 */ stfs f29, 0(r4)
/* 800B35C4 000B0504 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B35C8 000B0508 80 1C 02 54 */ lwz r0, 0x254(r28)
/* 800B35CC 000B050C 7C 80 EA 14 */ add r4, r0, r29
/* 800B35D0 000B0510 D3 C4 00 04 */ stfs f30, 4(r4)
/* 800B35D4 000B0514 D3 C4 00 00 */ stfs f30, 0(r4)
/* 800B35D8 000B0518 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B35DC 000B051C 80 1C 02 58 */ lwz r0, 0x258(r28)
/* 800B35E0 000B0520 7C 80 EA 14 */ add r4, r0, r29
/* 800B35E4 000B0524 D3 E4 00 04 */ stfs f31, 4(r4)
/* 800B35E8 000B0528 D3 E4 00 00 */ stfs f31, 0(r4)
/* 800B35EC 000B052C 90 64 00 0C */ stw r3, 0xc(r4)
/* 800B35F0 000B0530 80 1C 02 5C */ lwz r0, 0x25c(r28)
/* 800B35F4 000B0534 7C 80 EA 14 */ add r4, r0, r29
/* 800B35F8 000B0538 3B BD 00 10 */ addi r29, r29, 0x10
/* 800B35FC 000B053C D3 A4 00 04 */ stfs f29, 4(r4)
/* 800B3600 000B0540 D3 A4 00 00 */ stfs f29, 0(r4)
/* 800B3604 000B0544 90 64 00 0C */ stw r3, 0xc(r4)
.L_800B3608:
/* 800B3608 000B0548 4B FF A5 85 */ bl getParamSeqParameterLines__18JAIGlobalParameterFv
/* 800B360C 000B054C 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 800B3610 000B0550 7C 1E 00 40 */ cmplw r30, r0
/* 800B3614 000B0554 41 80 FF 98 */ blt .L_800B35AC
/* 800B3618 000B0558 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 800B361C 000B055C CB E1 00 40 */ lfd f31, 0x40(r1)
/* 800B3620 000B0560 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 800B3624 000B0564 CB C1 00 30 */ lfd f30, 0x30(r1)
/* 800B3628 000B0568 E3 A1 00 28 */ psq_l f29, 40(r1), 0, qr0
/* 800B362C 000B056C CB A1 00 20 */ lfd f29, 0x20(r1)
/* 800B3630 000B0570 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 800B3634 000B0574 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 800B3638 000B0578 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 800B363C 000B057C 80 01 00 54 */ lwz r0, 0x54(r1)
/* 800B3640 000B0580 83 81 00 10 */ lwz r28, 0x10(r1)
/* 800B3644 000B0584 7C 08 03 A6 */ mtlr r0
/* 800B3648 000B0588 38 21 00 50 */ addi r1, r1, 0x50
/* 800B364C 000B058C 4E 80 00 20 */ blr
.global releaseSeqBuffer__Q27JAInter11SequenceMgrFP11JAISequenceUl
releaseSeqBuffer__Q27JAInter11SequenceMgrFP11JAISequenceUl:
/* 800B3650 000B0590 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 800B3654 000B0594 7C 08 02 A6 */ mflr r0
/* 800B3658 000B0598 90 01 00 34 */ stw r0, 0x34(r1)
/* 800B365C 000B059C 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 800B3660 000B05A0 7C 7F 1B 78 */ mr r31, r3
/* 800B3664 000B05A4 93 C1 00 28 */ stw r30, 0x28(r1)
/* 800B3668 000B05A8 93 A1 00 24 */ stw r29, 0x24(r1)
/* 800B366C 000B05AC 93 81 00 20 */ stw r28, 0x20(r1)
/* 800B3670 000B05B0 88 03 00 15 */ lbz r0, 0x15(r3)
/* 800B3674 000B05B4 28 00 00 04 */ cmplwi r0, 4
/* 800B3678 000B05B8 41 80 00 0C */ blt .L_800B3684
/* 800B367C 000B05BC 28 04 00 00 */ cmplwi r4, 0
/* 800B3680 000B05C0 40 82 01 54 */ bne .L_800B37D4
.L_800B3684:
/* 800B3684 000B05C4 28 00 00 03 */ cmplwi r0, 3
/* 800B3688 000B05C8 41 80 00 10 */ blt .L_800B3698
/* 800B368C 000B05CC 38 7F 03 0C */ addi r3, r31, 0x30c
/* 800B3690 000B05D0 4B FE D8 C9 */ bl stopSeq__8JASTrackFv
/* 800B3694 000B05D4 48 00 00 40 */ b .L_800B36D4
.L_800B3698:
/* 800B3698 000B05D8 28 00 00 01 */ cmplwi r0, 1
/* 800B369C 000B05DC 41 80 00 38 */ blt .L_800B36D4
/* 800B36A0 000B05E0 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B36A4 000B05E4 28 0C 00 00 */ cmplwi r12, 0
/* 800B36A8 000B05E8 41 82 00 24 */ beq .L_800B36CC
/* 800B36AC 000B05EC 80 9F 00 44 */ lwz r4, 0x44(r31)
/* 800B36B0 000B05F0 7F E6 FB 78 */ mr r6, r31
/* 800B36B4 000B05F4 38 61 00 10 */ addi r3, r1, 0x10
/* 800B36B8 000B05F8 A0 A4 00 06 */ lhz r5, 6(r4)
/* 800B36BC 000B05FC 38 80 00 02 */ li r4, 2
/* 800B36C0 000B0600 7D 89 03 A6 */ mtctr r12
/* 800B36C4 000B0604 4E 80 04 21 */ bctrl
/* 800B36C8 000B0608 48 00 00 0C */ b .L_800B36D4
.L_800B36CC:
/* 800B36CC 000B060C 88 7F 02 C0 */ lbz r3, 0x2c0(r31)
/* 800B36D0 000B0610 4B FF CF CD */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
.L_800B36D4:
/* 800B36D4 000B0614 7F E3 FB 78 */ mr r3, r31
/* 800B36D8 000B0618 48 00 04 99 */ bl clearMainSoundPPointer__8JAISoundFv
/* 800B36DC 000B061C 7F E3 FB 78 */ mr r3, r31
/* 800B36E0 000B0620 48 00 04 69 */ bl getSwBit__8JAISoundFv
/* 800B36E4 000B0624 54 60 07 FF */ clrlwi. r0, r3, 0x1f
/* 800B36E8 000B0628 41 82 00 70 */ beq .L_800B3758
/* 800B36EC 000B062C 3B A0 00 00 */ li r29, 0
/* 800B36F0 000B0630 7F BC EB 78 */ mr r28, r29
/* 800B36F4 000B0634 48 00 00 58 */ b .L_800B374C
.L_800B36F8:
/* 800B36F8 000B0638 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B36FC 000B063C 38 1C 00 48 */ addi r0, r28, 0x48
/* 800B3700 000B0640 7F C3 00 2E */ lwzx r30, r3, r0
/* 800B3704 000B0644 7C 1F F0 40 */ cmplw r31, r30
/* 800B3708 000B0648 41 82 00 3C */ beq .L_800B3744
/* 800B370C 000B064C 28 1E 00 00 */ cmplwi r30, 0
/* 800B3710 000B0650 41 82 00 34 */ beq .L_800B3744
/* 800B3714 000B0654 7F C3 F3 78 */ mr r3, r30
/* 800B3718 000B0658 48 00 04 31 */ bl getSwBit__8JAISoundFv
/* 800B371C 000B065C 54 60 07 BD */ rlwinm. r0, r3, 0, 0x1e, 0x1e
/* 800B3720 000B0660 40 82 00 24 */ bne .L_800B3744
/* 800B3724 000B0664 7F C3 F3 78 */ mr r3, r30
/* 800B3728 000B0668 C0 22 8C 40 */ lfs f1, lbl_80516FA0@sda21(r2)
/* 800B372C 000B066C 81 9E 00 10 */ lwz r12, 0x10(r30)
/* 800B3730 000B0670 38 80 00 0A */ li r4, 0xa
/* 800B3734 000B0674 38 A0 00 0A */ li r5, 0xa
/* 800B3738 000B0678 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 800B373C 000B067C 7D 89 03 A6 */ mtctr r12
/* 800B3740 000B0680 4E 80 04 21 */ bctrl
.L_800B3744:
/* 800B3744 000B0684 3B 9C 00 50 */ addi r28, r28, 0x50
/* 800B3748 000B0688 3B BD 00 01 */ addi r29, r29, 1
.L_800B374C:
/* 800B374C 000B068C 4B FF A3 81 */ bl getParamSeqPlayTrackMax__18JAIGlobalParameterFv
/* 800B3750 000B0690 7C 1D 18 40 */ cmplw r29, r3
/* 800B3754 000B0694 41 80 FF A4 */ blt .L_800B36F8
.L_800B3758:
/* 800B3758 000B0698 38 00 00 00 */ li r0, 0
/* 800B375C 000B069C 90 1F 00 40 */ stw r0, 0x40(r31)
/* 800B3760 000B06A0 90 1F 03 08 */ stw r0, 0x308(r31)
/* 800B3764 000B06A4 88 1F 00 15 */ lbz r0, 0x15(r31)
/* 800B3768 000B06A8 28 00 00 03 */ cmplwi r0, 3
/* 800B376C 000B06AC 41 80 00 38 */ blt .L_800B37A4
/* 800B3770 000B06B0 81 8D 8C 1C */ lwz r12, customHeapCallback__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B3774 000B06B4 28 0C 00 00 */ cmplwi r12, 0
/* 800B3778 000B06B8 41 82 00 24 */ beq .L_800B379C
/* 800B377C 000B06BC 80 9F 00 44 */ lwz r4, 0x44(r31)
/* 800B3780 000B06C0 7F E6 FB 78 */ mr r6, r31
/* 800B3784 000B06C4 38 61 00 08 */ addi r3, r1, 8
/* 800B3788 000B06C8 A0 A4 00 06 */ lhz r5, 6(r4)
/* 800B378C 000B06CC 38 80 00 02 */ li r4, 2
/* 800B3790 000B06D0 7D 89 03 A6 */ mtctr r12
/* 800B3794 000B06D4 4E 80 04 21 */ bctrl
/* 800B3798 000B06D8 48 00 00 0C */ b .L_800B37A4
.L_800B379C:
/* 800B379C 000B06DC 88 7F 02 C0 */ lbz r3, 0x2c0(r31)
/* 800B37A0 000B06E0 4B FF CE FD */ bl releaseAutoHeapPointer__Q27JAInter7HeapMgrFUc
.L_800B37A4:
/* 800B37A4 000B06E4 38 00 00 00 */ li r0, 0
/* 800B37A8 000B06E8 7F E4 FB 78 */ mr r4, r31
/* 800B37AC 000B06EC 98 1F 00 15 */ stb r0, 0x15(r31)
/* 800B37B0 000B06F0 38 6D 8C 10 */ addi r3, r13, seqControl__Q27JAInter11SequenceMgr@sda21
/* 800B37B4 000B06F4 48 00 20 39 */ bl releaseSound__Q27JAInter9LinkSoundFP8JAISound
/* 800B37B8 000B06F8 88 1F 00 14 */ lbz r0, 0x14(r31)
/* 800B37BC 000B06FC 38 80 00 00 */ li r4, 0
/* 800B37C0 000B0700 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B37C4 000B0704 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B37C8 000B0708 7C 63 02 14 */ add r3, r3, r0
/* 800B37CC 000B070C 90 83 00 48 */ stw r4, 0x48(r3)
/* 800B37D0 000B0710 48 00 00 38 */ b .L_800B3808
.L_800B37D4:
/* 800B37D4 000B0714 88 1F 00 14 */ lbz r0, 0x14(r31)
/* 800B37D8 000B0718 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B37DC 000B071C 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B37E0 000B0720 7C 63 02 14 */ add r3, r3, r0
/* 800B37E4 000B0724 80 03 00 08 */ lwz r0, 8(r3)
/* 800B37E8 000B0728 60 00 00 02 */ ori r0, r0, 2
/* 800B37EC 000B072C 90 03 00 08 */ stw r0, 8(r3)
/* 800B37F0 000B0730 88 1F 00 14 */ lbz r0, 0x14(r31)
/* 800B37F4 000B0734 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B37F8 000B0738 1C 00 00 50 */ mulli r0, r0, 0x50
/* 800B37FC 000B073C 7C 63 02 14 */ add r3, r3, r0
/* 800B3800 000B0740 80 63 00 48 */ lwz r3, 0x48(r3)
/* 800B3804 000B0744 90 83 00 28 */ stw r4, 0x28(r3)
.L_800B3808:
/* 800B3808 000B0748 80 01 00 34 */ lwz r0, 0x34(r1)
/* 800B380C 000B074C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 800B3810 000B0750 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 800B3814 000B0754 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 800B3818 000B0758 83 81 00 20 */ lwz r28, 0x20(r1)
/* 800B381C 000B075C 7C 08 03 A6 */ mtlr r0
/* 800B3820 000B0760 38 21 00 30 */ addi r1, r1, 0x30
/* 800B3824 000B0764 4E 80 00 20 */ blr
.global getPlayTrackInfo__Q27JAInter11SequenceMgrFUl
getPlayTrackInfo__Q27JAInter11SequenceMgrFUl:
/* 800B3828 000B0768 1C 03 00 50 */ mulli r0, r3, 0x50
/* 800B382C 000B076C 80 6D 8C 08 */ lwz r3, seqTrackInfo__Q27JAInter11SequenceMgr@sda21(r13)
/* 800B3830 000B0770 7C 63 02 14 */ add r3, r3, r0
/* 800B3834 000B0774 4E 80 00 20 */ blr