prime/asm/Kyoto/Audio/DolphinCAudioSys.s

3505 lines
172 KiB
ArmAsm

.include "macros.inc"
# TODO: currently in CCubeSurface, linker alignment bug
# .comm mpDefaultInvalidString__9CAudioSys, 0x10, 4
.section .ctors, "wa"
lbl_ctor:
.4byte __sinit_DolphinCAudioSys_cpp
.section .sdata
.balign 8
.global lbl_805A8998
lbl_805A8998:
# ROM: 0x3F6338
.2byte 0x00000100
.global lbl_805A899A
lbl_805A899A:
# ROM: 0x3F633A
.2byte 0x0000007F
.global lbl_805A899C
lbl_805A899C:
# ROM: 0x3F633C
.2byte 0x0000007F
.global lbl_805A899E
lbl_805A899E:
# ROM: 0x3F633E
.byte 0x01
.global lbl_805A899F
lbl_805A899F:
# ROM: 0x3F633F
.byte 0x01
.global lbl_805A89A0
lbl_805A89A0:
# ROM: 0x3F6340
.byte 0x00
.global lbl_805A89A1
lbl_805A89A1:
# ROM: 0x3F6341
.byte 0x01
.global lbl_805A89A2
lbl_805A89A2:
# ROM: 0x3F6342
.byte 0x01
.global lbl_805A89A3
lbl_805A89A3:
# ROM: 0x3F6343
.byte 0x00
.global lbl_805A89A4
lbl_805A89A4:
# ROM: 0x3F6344
.byte 0x01
.global lbl_805A89A5
lbl_805A89A5:
# ROM: 0x3F6345
.byte 0x01
.global lbl_805A89A6
lbl_805A89A6:
# ROM: 0x3F6346
.byte 0x00
.global lbl_805A89A7
lbl_805A89A7:
# ROM: 0x3F6347
.byte 0x01
.section .bss
.balign 8
.lcomm lbl_804BFF90, 0x10, 4
.section .sbss, "wa"
.balign 8
.global lbl_805A9590
lbl_805A9590:
.skip 0x1
.global lbl_805A9591
lbl_805A9591:
.skip 0x1
.global lbl_805A9592
lbl_805A9592:
.skip 0x1
.global lbl_805A9593
lbl_805A9593:
.skip 0x1
.global lbl_805A9594
lbl_805A9594:
.skip 0x4
.global lbl_805A9598
lbl_805A9598:
.skip 0x4
.global lbl_805A959C
lbl_805A959C:
.skip 0x4
.global lbl_805A95A0
lbl_805A95A0:
.skip 0x4
.global lbl_805A95A4
lbl_805A95A4:
.skip 0x4
.global lbl_805A95A8
lbl_805A95A8:
.skip 0x4
.global lbl_805A95AC
lbl_805A95AC:
.skip 0x4
.global lbl_805A95B0
lbl_805A95B0:
.skip 0x4
.global lbl_805A95B4
lbl_805A95B4:
.skip 0x4
.global lbl_805A95B8
lbl_805A95B8:
.skip 0x4
.global lbl_805A95BC
lbl_805A95BC:
.skip 0x4
.section .text, "ax"
.global sub_8034a7a4
sub_8034a7a4:
/* 8034A7A4 00347704 88 6D 9D DE */ lbz r3, lbl_805A899E@sda21(r13)
/* 8034A7A8 00347708 4E 80 00 20 */ blr
.global sub_8034a7ac
sub_8034a7ac:
/* 8034A7AC 0034770C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A7B0 00347710 7C 08 02 A6 */ mflr r0
/* 8034A7B4 00347714 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A7B8 00347718 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 8034A7BC 0034771C 88 8D 9D DE */ lbz r4, lbl_805A899E@sda21(r13)
/* 8034A7C0 00347720 7C 04 00 40 */ cmplw r4, r0
/* 8034A7C4 00347724 41 82 00 28 */ beq lbl_8034A7EC
/* 8034A7C8 00347728 28 00 00 00 */ cmplwi r0, 0
/* 8034A7CC 0034772C 98 6D 9D DE */ stb r3, lbl_805A899E@sda21(r13)
/* 8034A7D0 00347730 41 82 00 10 */ beq lbl_8034A7E0
/* 8034A7D4 00347734 80 6D A9 F8 */ lwz r3, lbl_805A95B8@sda21(r13)
/* 8034A7D8 00347738 48 02 27 65 */ bl AIRegisterDMACallback
/* 8034A7DC 0034773C 48 00 00 10 */ b lbl_8034A7EC
lbl_8034A7E0:
/* 8034A7E0 00347740 38 60 00 00 */ li r3, 0
/* 8034A7E4 00347744 48 02 27 59 */ bl AIRegisterDMACallback
/* 8034A7E8 00347748 90 6D A9 F8 */ stw r3, lbl_805A95B8@sda21(r13)
lbl_8034A7EC:
/* 8034A7EC 0034774C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A7F0 00347750 7C 08 03 A6 */ mtlr r0
/* 8034A7F4 00347754 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A7F8 00347758 4E 80 00 20 */ blr
.global GetDefaultVolumeScale__9CAudioSysFv
GetDefaultVolumeScale__9CAudioSysFv:
/* 8034A7FC 0034775C A8 6D 9D DC */ lha r3, lbl_805A899C@sda21(r13)
/* 8034A800 00347760 4E 80 00 20 */ blr
.global SetDefaultVolumeScale__9CAudioSysFs
SetDefaultVolumeScale__9CAudioSysFs:
/* 8034A804 00347764 B0 6D 9D DC */ sth r3, lbl_805A899C@sda21(r13)
/* 8034A808 00347768 4E 80 00 20 */ blr
.global SetVolumeScale__9CAudioSysFs
SetVolumeScale__9CAudioSysFs:
/* 8034A80C 0034776C B0 6D 9D DA */ sth r3, lbl_805A899A@sda21(r13)
/* 8034A810 00347770 4E 80 00 20 */ blr
.global sub_8034a814
sub_8034a814:
/* 8034A814 00347774 88 6D A9 D2 */ lbz r3, lbl_805A9592@sda21(r13)
/* 8034A818 00347778 4E 80 00 20 */ blr
.global SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes
SetSurroundMode__9CAudioSysFQ29CAudioSys14ESurroundModes:
/* 8034A81C 0034777C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A820 00347780 7C 08 02 A6 */ mflr r0
/* 8034A824 00347784 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A828 00347788 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034A82C 0034778C 7C 7F 1B 78 */ mr r31, r3
/* 8034A830 00347790 2C 1F 00 01 */ cmpwi r31, 1
/* 8034A834 00347794 41 82 00 2C */ beq lbl_8034A860
/* 8034A838 00347798 40 80 00 10 */ bge lbl_8034A848
/* 8034A83C 0034779C 2C 1F 00 00 */ cmpwi r31, 0
/* 8034A840 003477A0 40 80 00 14 */ bge lbl_8034A854
/* 8034A844 003477A4 48 00 00 38 */ b lbl_8034A87C
lbl_8034A848:
/* 8034A848 003477A8 2C 1F 00 03 */ cmpwi r31, 3
/* 8034A84C 003477AC 40 80 00 30 */ bge lbl_8034A87C
/* 8034A850 003477B0 48 00 00 1C */ b lbl_8034A86C
lbl_8034A854:
/* 8034A854 003477B4 38 60 00 00 */ li r3, 0
/* 8034A858 003477B8 48 00 00 3D */ bl SetStereoMode__9CAudioSysFb
/* 8034A85C 003477BC 48 00 00 20 */ b lbl_8034A87C
lbl_8034A860:
/* 8034A860 003477C0 38 60 00 01 */ li r3, 1
/* 8034A864 003477C4 48 00 00 31 */ bl SetStereoMode__9CAudioSysFb
/* 8034A868 003477C8 48 00 00 14 */ b lbl_8034A87C
lbl_8034A86C:
/* 8034A86C 003477CC 38 60 00 01 */ li r3, 1
/* 8034A870 003477D0 48 00 00 25 */ bl SetStereoMode__9CAudioSysFb
/* 8034A874 003477D4 38 60 00 02 */ li r3, 2
/* 8034A878 003477D8 48 05 1B D1 */ bl sndOutputMode
lbl_8034A87C:
/* 8034A87C 003477DC 93 ED A9 EC */ stw r31, lbl_805A95AC@sda21(r13)
/* 8034A880 003477E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A884 003477E4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034A888 003477E8 7C 08 03 A6 */ mtlr r0
/* 8034A88C 003477EC 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A890 003477F0 4E 80 00 20 */ blr
.global SetStereoMode__9CAudioSysFb
SetStereoMode__9CAudioSysFb:
/* 8034A894 003477F4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A898 003477F8 7C 08 02 A6 */ mflr r0
/* 8034A89C 003477FC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A8A0 00347800 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034A8A4 00347804 41 82 00 18 */ beq lbl_8034A8BC
/* 8034A8A8 00347808 38 60 00 01 */ li r3, 1
/* 8034A8AC 0034780C 48 05 1B 9D */ bl sndOutputMode
/* 8034A8B0 00347810 38 60 00 01 */ li r3, 1
/* 8034A8B4 00347814 48 03 97 DD */ bl OSSetSoundMode
/* 8034A8B8 00347818 48 00 00 14 */ b lbl_8034A8CC
lbl_8034A8BC:
/* 8034A8BC 0034781C 38 60 00 00 */ li r3, 0
/* 8034A8C0 00347820 48 05 1B 89 */ bl sndOutputMode
/* 8034A8C4 00347824 38 60 00 00 */ li r3, 0
/* 8034A8C8 00347828 48 03 97 C9 */ bl OSSetSoundMode
lbl_8034A8CC:
/* 8034A8CC 0034782C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A8D0 00347830 7C 08 03 A6 */ mtlr r0
/* 8034A8D4 00347834 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A8D8 00347838 4E 80 00 20 */ blr
.global SeqVolume__9CAudioSysFUcUsUlUc
SeqVolume__9CAudioSysFUcUsUlUc:
/* 8034A8DC 0034783C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A8E0 00347840 7C 08 02 A6 */ mflr r0
/* 8034A8E4 00347844 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 8034A8E8 00347848 54 84 04 3E */ clrlwi r4, r4, 0x10
/* 8034A8EC 0034784C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A8F0 00347850 54 C6 06 3E */ clrlwi r6, r6, 0x18
/* 8034A8F4 00347854 48 05 18 19 */ bl sndSeqVolume
/* 8034A8F8 00347858 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A8FC 0034785C 7C 08 03 A6 */ mtlr r0
/* 8034A900 00347860 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A904 00347864 4E 80 00 20 */ blr
.global SeqStop__9CAudioSysFUl
SeqStop__9CAudioSysFUl:
/* 8034A908 00347868 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A90C 0034786C 7C 08 02 A6 */ mflr r0
/* 8034A910 00347870 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A914 00347874 48 05 16 E9 */ bl sndSeqStop
/* 8034A918 00347878 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A91C 0034787C 7C 08 03 A6 */ mtlr r0
/* 8034A920 00347880 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A924 00347884 4E 80 00 20 */ blr
.global SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc
SeqPlayEx__9CAudioSysFUsUsPvP12SND_PLAYPARAUc:
/* 8034A928 00347888 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A92C 0034788C 7C 08 02 A6 */ mflr r0
/* 8034A930 00347890 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 8034A934 00347894 54 84 04 3E */ clrlwi r4, r4, 0x10
/* 8034A938 00347898 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A93C 0034789C 54 E7 06 3E */ clrlwi r7, r7, 0x18
/* 8034A940 003478A0 48 06 02 A1 */ bl sndSeqPlayEx
/* 8034A944 003478A4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A948 003478A8 7C 08 03 A6 */ mtlr r0
/* 8034A94C 003478AC 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A950 003478B0 4E 80 00 20 */ blr
.global S3dFindLowerPriorityHandle__9CAudioSysFUi
S3dFindLowerPriorityHandle__9CAudioSysFUi:
/* 8034A954 003478B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034A958 003478B8 7C 08 02 A6 */ mflr r0
/* 8034A95C 003478BC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034A960 003478C0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034A964 003478C4 93 C1 00 08 */ stw r30, 8(r1)
/* 8034A968 003478C8 3B C0 00 00 */ li r30, 0
/* 8034A96C 003478CC 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13)
/* 8034A970 003478D0 8B ED A9 D3 */ lbz r31, lbl_805A9593@sda21(r13)
/* 8034A974 003478D4 80 84 00 0C */ lwz r4, 0xc(r4)
lbl_8034A978:
/* 8034A978 003478D8 88 04 00 50 */ lbz r0, 0x50(r4)
/* 8034A97C 003478DC 28 00 00 00 */ cmplwi r0, 0
/* 8034A980 003478E0 41 82 00 38 */ beq lbl_8034A9B8
/* 8034A984 003478E4 88 04 00 52 */ lbz r0, 0x52(r4)
/* 8034A988 003478E8 7C 00 18 40 */ cmplw r0, r3
/* 8034A98C 003478EC 41 81 00 1C */ bgt lbl_8034A9A8
/* 8034A990 003478F0 88 04 00 51 */ lbz r0, 0x51(r4)
/* 8034A994 003478F4 28 00 00 00 */ cmplwi r0, 0
/* 8034A998 003478F8 40 82 00 10 */ bne lbl_8034A9A8
/* 8034A99C 003478FC 7F C3 F3 78 */ mr r3, r30
/* 8034A9A0 00347900 48 00 02 39 */ bl S3dRemoveEmitter__9CAudioSysFUi
/* 8034A9A4 00347904 48 00 00 14 */ b lbl_8034A9B8
lbl_8034A9A8:
/* 8034A9A8 00347908 3B DE 00 01 */ addi r30, r30, 1
/* 8034A9AC 0034790C 38 84 00 54 */ addi r4, r4, 0x54
/* 8034A9B0 00347910 7C 1E F8 00 */ cmpw r30, r31
/* 8034A9B4 00347914 41 80 FF C4 */ blt lbl_8034A978
lbl_8034A9B8:
/* 8034A9B8 00347918 7C 1E F8 00 */ cmpw r30, r31
/* 8034A9BC 0034791C 38 60 FF FF */ li r3, -1
/* 8034A9C0 00347920 40 80 00 08 */ bge lbl_8034A9C8
/* 8034A9C4 00347924 7F C3 F3 78 */ mr r3, r30
lbl_8034A9C8:
/* 8034A9C8 00347928 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034A9CC 0034792C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034A9D0 00347930 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034A9D4 00347934 7C 08 03 A6 */ mtlr r0
/* 8034A9D8 00347938 38 21 00 10 */ addi r1, r1, 0x10
/* 8034A9DC 0034793C 4E 80 00 20 */ blr
.global S3dFindUnusedHandle__9CAudioSysFv
S3dFindUnusedHandle__9CAudioSysFv:
/* 8034A9E0 00347940 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13)
/* 8034A9E4 00347944 38 60 00 00 */ li r3, 0
/* 8034A9E8 00347948 88 AD A9 D3 */ lbz r5, lbl_805A9593@sda21(r13)
/* 8034A9EC 0034794C 80 84 00 0C */ lwz r4, 0xc(r4)
lbl_8034A9F0:
/* 8034A9F0 00347950 88 04 00 50 */ lbz r0, 0x50(r4)
/* 8034A9F4 00347954 28 00 00 00 */ cmplwi r0, 0
/* 8034A9F8 00347958 41 82 00 14 */ beq lbl_8034AA0C
/* 8034A9FC 0034795C 38 63 00 01 */ addi r3, r3, 1
/* 8034AA00 00347960 38 84 00 54 */ addi r4, r4, 0x54
/* 8034AA04 00347964 7C 03 28 00 */ cmpw r3, r5
/* 8034AA08 00347968 41 80 FF E8 */ blt lbl_8034A9F0
lbl_8034AA0C:
/* 8034AA0C 0034796C 7C 03 28 00 */ cmpw r3, r5
/* 8034AA10 00347970 4D 80 00 20 */ bltlr
/* 8034AA14 00347974 38 60 FF FF */ li r3, -1
/* 8034AA18 00347978 4E 80 00 20 */ blr
.global S3dEmitterVoiceID__9CAudioSysFUi
S3dEmitterVoiceID__9CAudioSysFUi:
/* 8034AA1C 0034797C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034AA20 00347980 7C 08 02 A6 */ mflr r0
/* 8034AA24 00347984 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034AA28 00347988 3C 03 00 01 */ addis r0, r3, 1
/* 8034AA2C 0034798C 28 00 FF FF */ cmplwi r0, 0xffff
/* 8034AA30 00347990 40 82 00 0C */ bne lbl_8034AA3C
/* 8034AA34 00347994 38 60 00 00 */ li r3, 0
/* 8034AA38 00347998 48 00 00 2C */ b lbl_8034AA64
lbl_8034AA3C:
/* 8034AA3C 0034799C 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13)
/* 8034AA40 003479A0 1C 03 00 54 */ mulli r0, r3, 0x54
/* 8034AA44 003479A4 80 64 00 0C */ lwz r3, 0xc(r4)
/* 8034AA48 003479A8 7C 63 02 14 */ add r3, r3, r0
/* 8034AA4C 003479AC 88 03 00 50 */ lbz r0, 0x50(r3)
/* 8034AA50 003479B0 28 00 00 00 */ cmplwi r0, 0
/* 8034AA54 003479B4 41 82 00 0C */ beq lbl_8034AA60
/* 8034AA58 003479B8 48 06 4D B9 */ bl sndEmitterVoiceID
/* 8034AA5C 003479BC 48 00 00 08 */ b lbl_8034AA64
lbl_8034AA60:
/* 8034AA60 003479C0 38 60 FF FF */ li r3, -1
lbl_8034AA64:
/* 8034AA64 003479C4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034AA68 003479C8 7C 08 03 A6 */ mtlr r0
/* 8034AA6C 003479CC 38 21 00 10 */ addi r1, r1, 0x10
/* 8034AA70 003479D0 4E 80 00 20 */ blr
.global S3dCheckEmitter__9CAudioSysFUi
S3dCheckEmitter__9CAudioSysFUi:
/* 8034AA74 003479D4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034AA78 003479D8 7C 08 02 A6 */ mflr r0
/* 8034AA7C 003479DC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034AA80 003479E0 3C 03 00 01 */ addis r0, r3, 1
/* 8034AA84 003479E4 28 00 FF FF */ cmplwi r0, 0xffff
/* 8034AA88 003479E8 40 82 00 0C */ bne lbl_8034AA94
/* 8034AA8C 003479EC 38 60 00 00 */ li r3, 0
/* 8034AA90 003479F0 48 00 00 2C */ b lbl_8034AABC
lbl_8034AA94:
/* 8034AA94 003479F4 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13)
/* 8034AA98 003479F8 1C 03 00 54 */ mulli r0, r3, 0x54
/* 8034AA9C 003479FC 80 64 00 0C */ lwz r3, 0xc(r4)
/* 8034AAA0 00347A00 7C 63 02 14 */ add r3, r3, r0
/* 8034AAA4 00347A04 88 03 00 50 */ lbz r0, 0x50(r3)
/* 8034AAA8 00347A08 28 00 00 00 */ cmplwi r0, 0
/* 8034AAAC 00347A0C 41 82 00 0C */ beq lbl_8034AAB8
/* 8034AAB0 00347A10 48 06 48 51 */ bl sndCheckEmitter
/* 8034AAB4 00347A14 48 00 00 08 */ b lbl_8034AABC
lbl_8034AAB8:
/* 8034AAB8 00347A18 38 60 00 00 */ li r3, 0
lbl_8034AABC:
/* 8034AABC 00347A1C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034AAC0 00347A20 7C 08 03 A6 */ mtlr r0
/* 8034AAC4 00347A24 38 21 00 10 */ addi r1, r1, 0x10
/* 8034AAC8 00347A28 4E 80 00 20 */ blr
.global S3dFlushUnusedEmitters__9CAudioSysFv
S3dFlushUnusedEmitters__9CAudioSysFv:
/* 8034AACC 00347A2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034AAD0 00347A30 7C 08 02 A6 */ mflr r0
/* 8034AAD4 00347A34 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034AAD8 00347A38 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034AADC 00347A3C 3B E0 00 00 */ li r31, 0
/* 8034AAE0 00347A40 93 C1 00 08 */ stw r30, 8(r1)
/* 8034AAE4 00347A44 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13)
/* 8034AAE8 00347A48 83 C3 00 0C */ lwz r30, 0xc(r3)
/* 8034AAEC 00347A4C 48 00 00 3C */ b lbl_8034AB28
lbl_8034AAF0:
/* 8034AAF0 00347A50 88 1E 00 50 */ lbz r0, 0x50(r30)
/* 8034AAF4 00347A54 28 00 00 00 */ cmplwi r0, 0
/* 8034AAF8 00347A58 41 82 00 2C */ beq lbl_8034AB24
/* 8034AAFC 00347A5C 7F C3 F3 78 */ mr r3, r30
/* 8034AB00 00347A60 48 06 48 01 */ bl sndCheckEmitter
/* 8034AB04 00347A64 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034AB08 00347A68 40 82 00 1C */ bne lbl_8034AB24
/* 8034AB0C 00347A6C 88 1E 00 51 */ lbz r0, 0x51(r30)
/* 8034AB10 00347A70 28 00 00 00 */ cmplwi r0, 0
/* 8034AB14 00347A74 40 82 00 10 */ bne lbl_8034AB24
/* 8034AB18 00347A78 9B FE 00 50 */ stb r31, 0x50(r30)
/* 8034AB1C 00347A7C 7F C3 F3 78 */ mr r3, r30
/* 8034AB20 00347A80 48 06 4C 49 */ bl sndRemoveEmitter
lbl_8034AB24:
/* 8034AB24 00347A84 3B DE 00 54 */ addi r30, r30, 0x54
lbl_8034AB28:
/* 8034AB28 00347A88 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13)
/* 8034AB2C 00347A8C 80 03 00 04 */ lwz r0, 4(r3)
/* 8034AB30 00347A90 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8034AB34 00347A94 1C 00 00 54 */ mulli r0, r0, 0x54
/* 8034AB38 00347A98 7C 03 02 14 */ add r0, r3, r0
/* 8034AB3C 00347A9C 7C 1E 00 40 */ cmplw r30, r0
/* 8034AB40 00347AA0 40 82 FF B0 */ bne lbl_8034AAF0
/* 8034AB44 00347AA4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034AB48 00347AA8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034AB4C 00347AAC 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034AB50 00347AB0 7C 08 03 A6 */ mtlr r0
/* 8034AB54 00347AB4 38 21 00 10 */ addi r1, r1, 0x10
/* 8034AB58 00347AB8 4E 80 00 20 */ blr
.global S3dFlushAllEmitters__9CAudioSysFv
S3dFlushAllEmitters__9CAudioSysFv:
/* 8034AB5C 00347ABC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034AB60 00347AC0 7C 08 02 A6 */ mflr r0
/* 8034AB64 00347AC4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034AB68 00347AC8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034AB6C 00347ACC 3B E0 00 00 */ li r31, 0
/* 8034AB70 00347AD0 93 C1 00 08 */ stw r30, 8(r1)
/* 8034AB74 00347AD4 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13)
/* 8034AB78 00347AD8 83 C3 00 0C */ lwz r30, 0xc(r3)
/* 8034AB7C 00347ADC 48 00 00 20 */ b lbl_8034AB9C
lbl_8034AB80:
/* 8034AB80 00347AE0 88 1E 00 50 */ lbz r0, 0x50(r30)
/* 8034AB84 00347AE4 28 00 00 00 */ cmplwi r0, 0
/* 8034AB88 00347AE8 41 82 00 10 */ beq lbl_8034AB98
/* 8034AB8C 00347AEC 9B FE 00 50 */ stb r31, 0x50(r30)
/* 8034AB90 00347AF0 7F C3 F3 78 */ mr r3, r30
/* 8034AB94 00347AF4 48 06 4B D5 */ bl sndRemoveEmitter
lbl_8034AB98:
/* 8034AB98 00347AF8 3B DE 00 54 */ addi r30, r30, 0x54
lbl_8034AB9C:
/* 8034AB9C 00347AFC 80 6D A9 E0 */ lwz r3, lbl_805A95A0@sda21(r13)
/* 8034ABA0 00347B00 80 03 00 04 */ lwz r0, 4(r3)
/* 8034ABA4 00347B04 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8034ABA8 00347B08 1C 00 00 54 */ mulli r0, r0, 0x54
/* 8034ABAC 00347B0C 7C 03 02 14 */ add r0, r3, r0
/* 8034ABB0 00347B10 7C 1E 00 40 */ cmplw r30, r0
/* 8034ABB4 00347B14 40 82 FF CC */ bne lbl_8034AB80
/* 8034ABB8 00347B18 38 00 00 00 */ li r0, 0
/* 8034ABBC 00347B1C 90 0D A9 E8 */ stw r0, lbl_805A95A8@sda21(r13)
/* 8034ABC0 00347B20 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034ABC4 00347B24 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034ABC8 00347B28 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034ABCC 00347B2C 7C 08 03 A6 */ mtlr r0
/* 8034ABD0 00347B30 38 21 00 10 */ addi r1, r1, 0x10
/* 8034ABD4 00347B34 4E 80 00 20 */ blr
.global S3dRemoveEmitter__9CAudioSysFUi
S3dRemoveEmitter__9CAudioSysFUi:
/* 8034ABD8 00347B38 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034ABDC 00347B3C 7C 08 02 A6 */ mflr r0
/* 8034ABE0 00347B40 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034ABE4 00347B44 3C 03 00 01 */ addis r0, r3, 1
/* 8034ABE8 00347B48 28 00 FF FF */ cmplwi r0, 0xffff
/* 8034ABEC 00347B4C 40 82 00 0C */ bne lbl_8034ABF8
/* 8034ABF0 00347B50 38 60 00 00 */ li r3, 0
/* 8034ABF4 00347B54 48 00 00 3C */ b lbl_8034AC30
lbl_8034ABF8:
/* 8034ABF8 00347B58 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13)
/* 8034ABFC 00347B5C 1C 03 00 54 */ mulli r0, r3, 0x54
/* 8034AC00 00347B60 80 84 00 0C */ lwz r4, 0xc(r4)
/* 8034AC04 00347B64 7C 84 02 14 */ add r4, r4, r0
/* 8034AC08 00347B68 88 04 00 50 */ lbz r0, 0x50(r4)
/* 8034AC0C 00347B6C 28 00 00 00 */ cmplwi r0, 0
/* 8034AC10 00347B70 41 82 00 1C */ beq lbl_8034AC2C
/* 8034AC14 00347B74 38 00 00 00 */ li r0, 0
/* 8034AC18 00347B78 98 04 00 50 */ stb r0, 0x50(r4)
/* 8034AC1C 00347B7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13)
/* 8034AC20 00347B80 7C 83 23 78 */ mr r3, r4
/* 8034AC24 00347B84 48 06 4B 45 */ bl sndRemoveEmitter
/* 8034AC28 00347B88 48 00 00 08 */ b lbl_8034AC30
lbl_8034AC2C:
/* 8034AC2C 00347B8C 38 60 00 01 */ li r3, 1
lbl_8034AC30:
/* 8034AC30 00347B90 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034AC34 00347B94 7C 08 03 A6 */ mtlr r0
/* 8034AC38 00347B98 38 21 00 10 */ addi r1, r1, 0x10
/* 8034AC3C 00347B9C 4E 80 00 20 */ blr
.global S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc
S3dUpdateEmitter__9CAudioSysFUiRC9CVector3fRC9CVector3fUc:
/* 8034AC40 00347BA0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034AC44 00347BA4 7C 08 02 A6 */ mflr r0
/* 8034AC48 00347BA8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034AC4C 00347BAC 3C 03 00 01 */ addis r0, r3, 1
/* 8034AC50 00347BB0 28 00 FF FF */ cmplwi r0, 0xffff
/* 8034AC54 00347BB4 40 82 00 0C */ bne lbl_8034AC60
/* 8034AC58 00347BB8 38 60 00 00 */ li r3, 0
/* 8034AC5C 00347BBC 48 00 00 58 */ b lbl_8034ACB4
lbl_8034AC60:
/* 8034AC60 00347BC0 80 ED A9 E0 */ lwz r7, lbl_805A95A0@sda21(r13)
/* 8034AC64 00347BC4 1C 03 00 54 */ mulli r0, r3, 0x54
/* 8034AC68 00347BC8 C0 A4 00 00 */ lfs f5, 0(r4)
/* 8034AC6C 00347BCC 54 C6 06 3E */ clrlwi r6, r6, 0x18
/* 8034AC70 00347BD0 80 67 00 0C */ lwz r3, 0xc(r7)
/* 8034AC74 00347BD4 38 E0 00 00 */ li r7, 0
/* 8034AC78 00347BD8 C0 84 00 04 */ lfs f4, 4(r4)
/* 8034AC7C 00347BDC C0 64 00 08 */ lfs f3, 8(r4)
/* 8034AC80 00347BE0 7C 63 02 14 */ add r3, r3, r0
/* 8034AC84 00347BE4 C0 45 00 00 */ lfs f2, 0(r5)
/* 8034AC88 00347BE8 38 81 00 14 */ addi r4, r1, 0x14
/* 8034AC8C 00347BEC C0 25 00 04 */ lfs f1, 4(r5)
/* 8034AC90 00347BF0 C0 05 00 08 */ lfs f0, 8(r5)
/* 8034AC94 00347BF4 38 A1 00 08 */ addi r5, r1, 8
/* 8034AC98 00347BF8 D0 A1 00 14 */ stfs f5, 0x14(r1)
/* 8034AC9C 00347BFC D0 81 00 18 */ stfs f4, 0x18(r1)
/* 8034ACA0 00347C00 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 8034ACA4 00347C04 D0 41 00 08 */ stfs f2, 8(r1)
/* 8034ACA8 00347C08 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8034ACAC 00347C0C D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8034ACB0 00347C10 48 06 45 21 */ bl sndUpdateEmitter
lbl_8034ACB4:
/* 8034ACB4 00347C14 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034ACB8 00347C18 7C 08 03 A6 */ mtlr r0
/* 8034ACBC 00347C1C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034ACC0 00347C20 4E 80 00 20 */ blr
.global S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO
S3dAddEmitterParaEx__9CAudioSysFRCQ29CAudioSys18C3DEmitterParmDataUsP18SND_PARAMETER_INFO:
/* 8034ACC4 00347C24 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8034ACC8 00347C28 7C 08 02 A6 */ mflr r0
/* 8034ACCC 00347C2C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8034ACD0 00347C30 BF 61 00 2C */ stmw r27, 0x2c(r1)
/* 8034ACD4 00347C34 7C 7B 1B 78 */ mr r27, r3
/* 8034ACD8 00347C38 7C 9C 23 78 */ mr r28, r4
/* 8034ACDC 00347C3C 7C BD 2B 78 */ mr r29, r5
/* 8034ACE0 00347C40 80 CD A9 E8 */ lwz r6, lbl_805A95A8@sda21(r13)
/* 8034ACE4 00347C44 3C 06 00 01 */ addis r0, r6, 1
/* 8034ACE8 00347C48 7C DE 33 78 */ mr r30, r6
/* 8034ACEC 00347C4C 28 00 FF FF */ cmplwi r0, 0xffff
/* 8034ACF0 00347C50 40 82 00 24 */ bne lbl_8034AD14
/* 8034ACF4 00347C54 88 7B 00 29 */ lbz r3, 0x29(r27)
/* 8034ACF8 00347C58 4B FF FC 5D */ bl S3dFindLowerPriorityHandle__9CAudioSysFUi
/* 8034ACFC 00347C5C 3C 03 00 01 */ addis r0, r3, 1
/* 8034AD00 00347C60 28 00 FF FF */ cmplwi r0, 0xffff
/* 8034AD04 00347C64 40 82 00 0C */ bne lbl_8034AD10
/* 8034AD08 00347C68 38 60 FF FF */ li r3, -1
/* 8034AD0C 00347C6C 48 00 01 18 */ b lbl_8034AE24
lbl_8034AD10:
/* 8034AD10 00347C70 7C 7E 1B 78 */ mr r30, r3
lbl_8034AD14:
/* 8034AD14 00347C74 80 8D A9 E0 */ lwz r4, lbl_805A95A0@sda21(r13)
/* 8034AD18 00347C78 1C 7E 00 54 */ mulli r3, r30, 0x54
/* 8034AD1C 00347C7C 88 BB 00 26 */ lbz r5, 0x26(r27)
/* 8034AD20 00347C80 38 00 00 7F */ li r0, 0x7f
/* 8034AD24 00347C84 80 84 00 0C */ lwz r4, 0xc(r4)
/* 8034AD28 00347C88 C0 BB 00 00 */ lfs f5, 0(r27)
/* 8034AD2C 00347C8C 28 05 00 7F */ cmplwi r5, 0x7f
/* 8034AD30 00347C90 C0 9B 00 04 */ lfs f4, 4(r27)
/* 8034AD34 00347C94 7F E4 1A 14 */ add r31, r4, r3
/* 8034AD38 00347C98 C0 7B 00 08 */ lfs f3, 8(r27)
/* 8034AD3C 00347C9C C0 5B 00 0C */ lfs f2, 0xc(r27)
/* 8034AD40 00347CA0 C0 3B 00 10 */ lfs f1, 0x10(r27)
/* 8034AD44 00347CA4 C0 1B 00 14 */ lfs f0, 0x14(r27)
/* 8034AD48 00347CA8 D0 A1 00 1C */ stfs f5, 0x1c(r1)
/* 8034AD4C 00347CAC D0 81 00 20 */ stfs f4, 0x20(r1)
/* 8034AD50 00347CB0 D0 61 00 24 */ stfs f3, 0x24(r1)
/* 8034AD54 00347CB4 D0 41 00 10 */ stfs f2, 0x10(r1)
/* 8034AD58 00347CB8 D0 21 00 14 */ stfs f1, 0x14(r1)
/* 8034AD5C 00347CBC D0 01 00 18 */ stfs f0, 0x18(r1)
/* 8034AD60 00347CC0 41 81 00 08 */ bgt lbl_8034AD68
/* 8034AD64 00347CC4 7C A0 2B 78 */ mr r0, r5
lbl_8034AD68:
/* 8034AD68 00347CC8 A8 CD 9D DA */ lha r6, lbl_805A899A@sda21(r13)
/* 8034AD6C 00347CCC 3C 60 81 02 */ lis r3, 0x81020409@ha
/* 8034AD70 00347CD0 38 83 04 09 */ addi r4, r3, 0x81020409@l
/* 8034AD74 00347CD4 88 BB 00 27 */ lbz r5, 0x27(r27)
/* 8034AD78 00347CD8 7C 66 01 D6 */ mullw r3, r6, r0
/* 8034AD7C 00347CDC 38 00 00 7F */ li r0, 0x7f
/* 8034AD80 00347CE0 28 05 00 7F */ cmplwi r5, 0x7f
/* 8034AD84 00347CE4 7C 84 18 96 */ mulhw r4, r4, r3
/* 8034AD88 00347CE8 7C 64 1A 14 */ add r3, r4, r3
/* 8034AD8C 00347CEC 7C 63 36 70 */ srawi r3, r3, 6
/* 8034AD90 00347CF0 54 64 0F FE */ srwi r4, r3, 0x1f
/* 8034AD94 00347CF4 7C 63 22 14 */ add r3, r3, r4
/* 8034AD98 00347CF8 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 8034AD9C 00347CFC 7C 69 07 74 */ extsb r9, r3
/* 8034ADA0 00347D00 41 81 00 08 */ bgt lbl_8034ADA8
/* 8034ADA4 00347D04 7C A0 2B 78 */ mr r0, r5
lbl_8034ADA8:
/* 8034ADA8 00347D08 7C 06 01 D6 */ mullw r0, r6, r0
/* 8034ADAC 00347D0C 3C 60 81 02 */ lis r3, 0x81020409@ha
/* 8034ADB0 00347D10 38 A0 00 00 */ li r5, 0
/* 8034ADB4 00347D14 38 83 04 09 */ addi r4, r3, 0x81020409@l
/* 8034ADB8 00347D18 90 A1 00 08 */ stw r5, 8(r1)
/* 8034ADBC 00347D1C 7F E3 FB 78 */ mr r3, r31
/* 8034ADC0 00347D20 7C A4 00 96 */ mulhw r5, r4, r0
/* 8034ADC4 00347D24 93 A1 00 0C */ stw r29, 0xc(r1)
/* 8034ADC8 00347D28 7F 88 E3 78 */ mr r8, r28
/* 8034ADCC 00347D2C A0 FB 00 24 */ lhz r7, 0x24(r27)
/* 8034ADD0 00347D30 38 81 00 1C */ addi r4, r1, 0x1c
/* 8034ADD4 00347D34 C0 3B 00 18 */ lfs f1, 0x18(r27)
/* 8034ADD8 00347D38 7C 05 02 14 */ add r0, r5, r0
/* 8034ADDC 00347D3C C0 5B 00 1C */ lfs f2, 0x1c(r27)
/* 8034ADE0 00347D40 7C 00 36 70 */ srawi r0, r0, 6
/* 8034ADE4 00347D44 80 DB 00 20 */ lwz r6, 0x20(r27)
/* 8034ADE8 00347D48 54 05 0F FE */ srwi r5, r0, 0x1f
/* 8034ADEC 00347D4C 55 29 06 3E */ clrlwi r9, r9, 0x18
/* 8034ADF0 00347D50 7C 00 2A 14 */ add r0, r0, r5
/* 8034ADF4 00347D54 38 A1 00 10 */ addi r5, r1, 0x10
/* 8034ADF8 00347D58 54 0A 06 3E */ clrlwi r10, r0, 0x18
/* 8034ADFC 00347D5C 48 06 49 1D */ bl sndAddEmitterParaEx
/* 8034AE00 00347D60 38 00 00 01 */ li r0, 1
/* 8034AE04 00347D64 98 1F 00 50 */ stb r0, 0x50(r31)
/* 8034AE08 00347D68 88 1B 00 28 */ lbz r0, 0x28(r27)
/* 8034AE0C 00347D6C 98 1F 00 51 */ stb r0, 0x51(r31)
/* 8034AE10 00347D70 88 1B 00 29 */ lbz r0, 0x29(r27)
/* 8034AE14 00347D74 98 1F 00 52 */ stb r0, 0x52(r31)
/* 8034AE18 00347D78 4B FF FB C9 */ bl S3dFindUnusedHandle__9CAudioSysFv
/* 8034AE1C 00347D7C 90 6D A9 E8 */ stw r3, lbl_805A95A8@sda21(r13)
/* 8034AE20 00347D80 7F C3 F3 78 */ mr r3, r30
lbl_8034AE24:
/* 8034AE24 00347D84 BB 61 00 2C */ lmw r27, 0x2c(r1)
/* 8034AE28 00347D88 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8034AE2C 00347D8C 7C 08 03 A6 */ mtlr r0
/* 8034AE30 00347D90 38 21 00 40 */ addi r1, r1, 0x40
/* 8034AE34 00347D94 4E 80 00 20 */ blr
.global S3dRemoveListener__9CAudioSysFv
S3dRemoveListener__9CAudioSysFv:
/* 8034AE38 00347D98 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034AE3C 00347D9C 7C 08 02 A6 */ mflr r0
/* 8034AE40 00347DA0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034AE44 00347DA4 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13)
/* 8034AE48 00347DA8 28 00 00 00 */ cmplwi r0, 0
/* 8034AE4C 00347DAC 41 82 00 18 */ beq lbl_8034AE64
/* 8034AE50 00347DB0 38 00 00 00 */ li r0, 0
/* 8034AE54 00347DB4 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13)
/* 8034AE58 00347DB8 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13)
/* 8034AE5C 00347DBC 48 06 4F 31 */ bl sndRemoveListener
/* 8034AE60 00347DC0 48 00 00 08 */ b lbl_8034AE68
lbl_8034AE64:
/* 8034AE64 00347DC4 38 60 00 00 */ li r3, 0
lbl_8034AE68:
/* 8034AE68 00347DC8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034AE6C 00347DCC 7C 08 03 A6 */ mtlr r0
/* 8034AE70 00347DD0 38 21 00 10 */ addi r1, r1, 0x10
/* 8034AE74 00347DD4 4E 80 00 20 */ blr
.global S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc
S3dUpdateListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3fUc:
/* 8034AE78 00347DD8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8034AE7C 00347DDC 7C 08 02 A6 */ mflr r0
/* 8034AE80 00347DE0 7C E8 3B 78 */ mr r8, r7
/* 8034AE84 00347DE4 90 01 00 44 */ stw r0, 0x44(r1)
/* 8034AE88 00347DE8 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13)
/* 8034AE8C 00347DEC 28 00 00 00 */ cmplwi r0, 0
/* 8034AE90 00347DF0 41 82 00 88 */ beq lbl_8034AF18
/* 8034AE94 00347DF4 C1 63 00 00 */ lfs f11, 0(r3)
/* 8034AE98 00347DF8 38 E1 00 08 */ addi r7, r1, 8
/* 8034AE9C 00347DFC C1 43 00 04 */ lfs f10, 4(r3)
/* 8034AEA0 00347E00 55 08 06 3E */ clrlwi r8, r8, 0x18
/* 8034AEA4 00347E04 C1 23 00 08 */ lfs f9, 8(r3)
/* 8034AEA8 00347E08 39 20 00 00 */ li r9, 0
/* 8034AEAC 00347E0C C1 04 00 00 */ lfs f8, 0(r4)
/* 8034AEB0 00347E10 C0 E4 00 04 */ lfs f7, 4(r4)
/* 8034AEB4 00347E14 C0 C4 00 08 */ lfs f6, 8(r4)
/* 8034AEB8 00347E18 38 81 00 2C */ addi r4, r1, 0x2c
/* 8034AEBC 00347E1C C0 A5 00 00 */ lfs f5, 0(r5)
/* 8034AEC0 00347E20 C0 85 00 04 */ lfs f4, 4(r5)
/* 8034AEC4 00347E24 C0 65 00 08 */ lfs f3, 8(r5)
/* 8034AEC8 00347E28 38 A1 00 20 */ addi r5, r1, 0x20
/* 8034AECC 00347E2C C0 46 00 00 */ lfs f2, 0(r6)
/* 8034AED0 00347E30 C0 26 00 04 */ lfs f1, 4(r6)
/* 8034AED4 00347E34 C0 06 00 08 */ lfs f0, 8(r6)
/* 8034AED8 00347E38 38 C1 00 14 */ addi r6, r1, 0x14
/* 8034AEDC 00347E3C D1 61 00 2C */ stfs f11, 0x2c(r1)
/* 8034AEE0 00347E40 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13)
/* 8034AEE4 00347E44 D1 41 00 30 */ stfs f10, 0x30(r1)
/* 8034AEE8 00347E48 D1 21 00 34 */ stfs f9, 0x34(r1)
/* 8034AEEC 00347E4C D1 01 00 20 */ stfs f8, 0x20(r1)
/* 8034AEF0 00347E50 D0 E1 00 24 */ stfs f7, 0x24(r1)
/* 8034AEF4 00347E54 D0 C1 00 28 */ stfs f6, 0x28(r1)
/* 8034AEF8 00347E58 D0 A1 00 14 */ stfs f5, 0x14(r1)
/* 8034AEFC 00347E5C D0 81 00 18 */ stfs f4, 0x18(r1)
/* 8034AF00 00347E60 D0 61 00 1C */ stfs f3, 0x1c(r1)
/* 8034AF04 00347E64 D0 41 00 08 */ stfs f2, 8(r1)
/* 8034AF08 00347E68 D0 21 00 0C */ stfs f1, 0xc(r1)
/* 8034AF0C 00347E6C D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8034AF10 00347E70 48 06 4A 59 */ bl sndUpdateListener
/* 8034AF14 00347E74 48 00 00 08 */ b lbl_8034AF1C
lbl_8034AF18:
/* 8034AF18 00347E78 38 60 00 00 */ li r3, 0
lbl_8034AF1C:
/* 8034AF1C 00347E7C 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8034AF20 00347E80 7C 08 03 A6 */ mtlr r0
/* 8034AF24 00347E84 38 21 00 40 */ addi r1, r1, 0x40
/* 8034AF28 00347E88 4E 80 00 20 */ blr
.global S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc
S3dAddListener__9CAudioSysFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3ffffUiUc:
/* 8034AF2C 00347E8C 94 21 FF 70 */ stwu r1, -0x90(r1)
/* 8034AF30 00347E90 7C 08 02 A6 */ mflr r0
/* 8034AF34 00347E94 90 01 00 94 */ stw r0, 0x94(r1)
/* 8034AF38 00347E98 DB E1 00 80 */ stfd f31, 0x80(r1)
/* 8034AF3C 00347E9C F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0
/* 8034AF40 00347EA0 DB C1 00 70 */ stfd f30, 0x70(r1)
/* 8034AF44 00347EA4 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0
/* 8034AF48 00347EA8 DB A1 00 60 */ stfd f29, 0x60(r1)
/* 8034AF4C 00347EAC F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0
/* 8034AF50 00347EB0 DB 81 00 50 */ stfd f28, 0x50(r1)
/* 8034AF54 00347EB4 F3 81 00 58 */ psq_st f28, 88(r1), 0, qr0
/* 8034AF58 00347EB8 BF 41 00 38 */ stmw r26, 0x38(r1)
/* 8034AF5C 00347EBC 88 0D A9 D1 */ lbz r0, lbl_805A9591@sda21(r13)
/* 8034AF60 00347EC0 FF 80 08 90 */ fmr f28, f1
/* 8034AF64 00347EC4 FF A0 10 90 */ fmr f29, f2
/* 8034AF68 00347EC8 7C 7A 1B 78 */ mr r26, r3
/* 8034AF6C 00347ECC FF C0 18 90 */ fmr f30, f3
/* 8034AF70 00347ED0 28 00 00 00 */ cmplwi r0, 0
/* 8034AF74 00347ED4 7C 9B 23 78 */ mr r27, r4
/* 8034AF78 00347ED8 7C BC 2B 78 */ mr r28, r5
/* 8034AF7C 00347EDC 7C DD 33 78 */ mr r29, r6
/* 8034AF80 00347EE0 7C FE 3B 78 */ mr r30, r7
/* 8034AF84 00347EE4 7D 1F 43 78 */ mr r31, r8
/* 8034AF88 00347EE8 41 82 00 08 */ beq lbl_8034AF90
/* 8034AF8C 00347EEC 4B FF FE AD */ bl S3dRemoveListener__9CAudioSysFv
lbl_8034AF90:
/* 8034AF90 00347EF0 C3 FA 00 00 */ lfs f31, 0(r26)
/* 8034AF94 00347EF4 38 00 00 01 */ li r0, 1
/* 8034AF98 00347EF8 C1 BA 00 04 */ lfs f13, 4(r26)
/* 8034AF9C 00347EFC FC 20 E0 90 */ fmr f1, f28
/* 8034AFA0 00347F00 C1 9A 00 08 */ lfs f12, 8(r26)
/* 8034AFA4 00347F04 FC 40 E8 90 */ fmr f2, f29
/* 8034AFA8 00347F08 C1 7B 00 00 */ lfs f11, 0(r27)
/* 8034AFAC 00347F0C FC 60 F0 90 */ fmr f3, f30
/* 8034AFB0 00347F10 C1 5B 00 04 */ lfs f10, 4(r27)
/* 8034AFB4 00347F14 C1 3B 00 08 */ lfs f9, 8(r27)
/* 8034AFB8 00347F18 7F C8 F3 78 */ mr r8, r30
/* 8034AFBC 00347F1C C1 1C 00 00 */ lfs f8, 0(r28)
/* 8034AFC0 00347F20 38 81 00 2C */ addi r4, r1, 0x2c
/* 8034AFC4 00347F24 C0 FC 00 04 */ lfs f7, 4(r28)
/* 8034AFC8 00347F28 38 A1 00 20 */ addi r5, r1, 0x20
/* 8034AFCC 00347F2C C0 DC 00 08 */ lfs f6, 8(r28)
/* 8034AFD0 00347F30 38 C1 00 14 */ addi r6, r1, 0x14
/* 8034AFD4 00347F34 C0 BD 00 00 */ lfs f5, 0(r29)
/* 8034AFD8 00347F38 38 E1 00 08 */ addi r7, r1, 8
/* 8034AFDC 00347F3C C0 9D 00 04 */ lfs f4, 4(r29)
/* 8034AFE0 00347F40 57 E9 06 3E */ clrlwi r9, r31, 0x18
/* 8034AFE4 00347F44 C0 1D 00 08 */ lfs f0, 8(r29)
/* 8034AFE8 00347F48 39 40 00 00 */ li r10, 0
/* 8034AFEC 00347F4C D3 E1 00 2C */ stfs f31, 0x2c(r1)
/* 8034AFF0 00347F50 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13)
/* 8034AFF4 00347F54 D1 A1 00 30 */ stfs f13, 0x30(r1)
/* 8034AFF8 00347F58 D1 81 00 34 */ stfs f12, 0x34(r1)
/* 8034AFFC 00347F5C D1 61 00 20 */ stfs f11, 0x20(r1)
/* 8034B000 00347F60 D1 41 00 24 */ stfs f10, 0x24(r1)
/* 8034B004 00347F64 D1 21 00 28 */ stfs f9, 0x28(r1)
/* 8034B008 00347F68 D1 01 00 14 */ stfs f8, 0x14(r1)
/* 8034B00C 00347F6C D0 E1 00 18 */ stfs f7, 0x18(r1)
/* 8034B010 00347F70 D0 C1 00 1C */ stfs f6, 0x1c(r1)
/* 8034B014 00347F74 D0 A1 00 08 */ stfs f5, 8(r1)
/* 8034B018 00347F78 D0 81 00 0C */ stfs f4, 0xc(r1)
/* 8034B01C 00347F7C D0 01 00 10 */ stfs f0, 0x10(r1)
/* 8034B020 00347F80 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13)
/* 8034B024 00347F84 48 06 4B 49 */ bl sndAddListener
/* 8034B028 00347F88 E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0
/* 8034B02C 00347F8C CB E1 00 80 */ lfd f31, 0x80(r1)
/* 8034B030 00347F90 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0
/* 8034B034 00347F94 CB C1 00 70 */ lfd f30, 0x70(r1)
/* 8034B038 00347F98 E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0
/* 8034B03C 00347F9C CB A1 00 60 */ lfd f29, 0x60(r1)
/* 8034B040 00347FA0 E3 81 00 58 */ psq_l f28, 88(r1), 0, qr0
/* 8034B044 00347FA4 CB 81 00 50 */ lfd f28, 0x50(r1)
/* 8034B048 00347FA8 BB 41 00 38 */ lmw r26, 0x38(r1)
/* 8034B04C 00347FAC 80 01 00 94 */ lwz r0, 0x94(r1)
/* 8034B050 00347FB0 7C 08 03 A6 */ mtlr r0
/* 8034B054 00347FB4 38 21 00 90 */ addi r1, r1, 0x90
/* 8034B058 00347FB8 4E 80 00 20 */ blr
.global "FindTrack__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"FindTrack__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8034B05C 00347FBC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034B060 00347FC0 7C 08 02 A6 */ mflr r0
/* 8034B064 00347FC4 7C 85 23 78 */ mr r5, r4
/* 8034B068 00347FC8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034B06C 00347FCC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034B070 00347FD0 7C 7F 1B 78 */ mr r31, r3
/* 8034B074 00347FD4 80 CD A9 DC */ lwz r6, lbl_805A959C@sda21(r13)
/* 8034B078 00347FD8 80 06 00 04 */ lwz r0, 4(r6)
/* 8034B07C 00347FDC 2C 00 00 00 */ cmpwi r0, 0
/* 8034B080 00347FE0 41 81 00 20 */ bgt lbl_8034B0A0
/* 8034B084 00347FE4 38 0D A9 28 */ addi r0, r13, sNull__Q24rstl8CRefData@sda21
/* 8034B088 00347FE8 90 1F 00 00 */ stw r0, 0(r31)
/* 8034B08C 00347FEC 80 9F 00 00 */ lwz r4, 0(r31)
/* 8034B090 00347FF0 80 64 00 04 */ lwz r3, 4(r4)
/* 8034B094 00347FF4 38 03 00 01 */ addi r0, r3, 1
/* 8034B098 00347FF8 90 04 00 04 */ stw r0, 4(r4)
/* 8034B09C 00347FFC 48 00 00 7C */ b lbl_8034B118
lbl_8034B0A0:
/* 8034B0A0 00348000 7C C4 33 78 */ mr r4, r6
/* 8034B0A4 00348004 38 61 00 10 */ addi r3, r1, 0x10
/* 8034B0A8 00348008 48 00 00 85 */ bl sub_8034b12c
/* 8034B0AC 0034800C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13)
/* 8034B0B0 00348010 38 80 00 00 */ li r4, 0
/* 8034B0B4 00348014 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 8034B0B8 00348018 38 03 00 08 */ addi r0, r3, 8
/* 8034B0BC 0034801C 90 81 00 08 */ stw r4, 8(r1)
/* 8034B0C0 00348020 7C 05 20 40 */ cmplw r5, r4
/* 8034B0C4 00348024 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8034B0C8 00348028 90 01 00 0C */ stw r0, 0xc(r1)
/* 8034B0CC 0034802C 40 82 00 0C */ bne lbl_8034B0D8
/* 8034B0D0 00348030 7C 03 00 40 */ cmplw r3, r0
/* 8034B0D4 00348034 41 82 00 08 */ beq lbl_8034B0DC
lbl_8034B0D8:
/* 8034B0D8 00348038 38 80 00 01 */ li r4, 1
lbl_8034B0DC:
/* 8034B0DC 0034803C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8034B0E0 00348040 41 82 00 20 */ beq lbl_8034B100
/* 8034B0E4 00348044 80 05 00 20 */ lwz r0, 0x20(r5)
/* 8034B0E8 00348048 90 1F 00 00 */ stw r0, 0(r31)
/* 8034B0EC 0034804C 80 9F 00 00 */ lwz r4, 0(r31)
/* 8034B0F0 00348050 80 64 00 04 */ lwz r3, 4(r4)
/* 8034B0F4 00348054 38 03 00 01 */ addi r0, r3, 1
/* 8034B0F8 00348058 90 04 00 04 */ stw r0, 4(r4)
/* 8034B0FC 0034805C 48 00 00 1C */ b lbl_8034B118
lbl_8034B100:
/* 8034B100 00348060 38 0D A9 28 */ addi r0, r13, sNull__Q24rstl8CRefData@sda21
/* 8034B104 00348064 90 1F 00 00 */ stw r0, 0(r31)
/* 8034B108 00348068 80 9F 00 00 */ lwz r4, 0(r31)
/* 8034B10C 0034806C 80 64 00 04 */ lwz r3, 4(r4)
/* 8034B110 00348070 38 03 00 01 */ addi r0, r3, 1
/* 8034B114 00348074 90 04 00 04 */ stw r0, 4(r4)
lbl_8034B118:
/* 8034B118 00348078 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034B11C 0034807C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034B120 00348080 7C 08 03 A6 */ mtlr r0
/* 8034B124 00348084 38 21 00 20 */ addi r1, r1, 0x20
/* 8034B128 00348088 4E 80 00 20 */ blr
.global sub_8034b12c
sub_8034b12c:
/* 8034B12C 0034808C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B130 00348090 7C 08 02 A6 */ mflr r0
/* 8034B134 00348094 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B138 00348098 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034B13C 0034809C 7C 9F 23 78 */ mr r31, r4
/* 8034B140 003480A0 7C A4 2B 78 */ mr r4, r5
/* 8034B144 003480A4 93 C1 00 08 */ stw r30, 8(r1)
/* 8034B148 003480A8 7C 7E 1B 78 */ mr r30, r3
/* 8034B14C 003480AC 7F E3 FB 78 */ mr r3, r31
/* 8034B150 003480B0 48 00 00 29 */ bl sub_8034b178
/* 8034B154 003480B4 90 7E 00 00 */ stw r3, 0(r30)
/* 8034B158 003480B8 38 1F 00 08 */ addi r0, r31, 8
/* 8034B15C 003480BC 90 1E 00 04 */ stw r0, 4(r30)
/* 8034B160 003480C0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B164 003480C4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034B168 003480C8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034B16C 003480CC 7C 08 03 A6 */ mtlr r0
/* 8034B170 003480D0 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B174 003480D4 4E 80 00 20 */ blr
.global sub_8034b178
sub_8034b178:
/* 8034B178 003480D8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034B17C 003480DC 7C 08 02 A6 */ mflr r0
/* 8034B180 003480E0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034B184 003480E4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034B188 003480E8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034B18C 003480EC 3B C0 00 00 */ li r30, 0
/* 8034B190 003480F0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034B194 003480F4 7C 9D 23 78 */ mr r29, r4
/* 8034B198 003480F8 93 81 00 10 */ stw r28, 0x10(r1)
/* 8034B19C 003480FC 7C 7C 1B 78 */ mr r28, r3
/* 8034B1A0 00348100 83 E3 00 10 */ lwz r31, 0x10(r3)
/* 8034B1A4 00348104 48 00 00 2C */ b lbl_8034B1D0
lbl_8034B1A8:
/* 8034B1A8 00348108 7F A5 EB 78 */ mr r5, r29
/* 8034B1AC 0034810C 38 7C 00 01 */ addi r3, r28, 1
/* 8034B1B0 00348110 38 9F 00 10 */ addi r4, r31, 0x10
/* 8034B1B4 00348114 4B CD F5 75 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034B1B8 00348118 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034B1BC 0034811C 40 82 00 10 */ bne lbl_8034B1CC
/* 8034B1C0 00348120 7F FE FB 78 */ mr r30, r31
/* 8034B1C4 00348124 83 FF 00 00 */ lwz r31, 0(r31)
/* 8034B1C8 00348128 48 00 00 08 */ b lbl_8034B1D0
lbl_8034B1CC:
/* 8034B1CC 0034812C 83 FF 00 04 */ lwz r31, 4(r31)
lbl_8034B1D0:
/* 8034B1D0 00348130 28 1F 00 00 */ cmplwi r31, 0
/* 8034B1D4 00348134 40 82 FF D4 */ bne lbl_8034B1A8
/* 8034B1D8 00348138 28 1E 00 00 */ cmplwi r30, 0
/* 8034B1DC 0034813C 3B E0 00 00 */ li r31, 0
/* 8034B1E0 00348140 41 82 00 1C */ beq lbl_8034B1FC
/* 8034B1E4 00348144 7F A4 EB 78 */ mr r4, r29
/* 8034B1E8 00348148 38 7C 00 01 */ addi r3, r28, 1
/* 8034B1EC 0034814C 38 BE 00 10 */ addi r5, r30, 0x10
/* 8034B1F0 00348150 4B CD F5 39 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034B1F4 00348154 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034B1F8 00348158 41 82 00 08 */ beq lbl_8034B200
lbl_8034B1FC:
/* 8034B1FC 0034815C 3B E0 00 01 */ li r31, 1
lbl_8034B200:
/* 8034B200 00348160 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8034B204 00348164 41 82 00 0C */ beq lbl_8034B210
/* 8034B208 00348168 38 60 00 00 */ li r3, 0
/* 8034B20C 0034816C 48 00 00 08 */ b lbl_8034B214
lbl_8034B210:
/* 8034B210 00348170 7F C3 F3 78 */ mr r3, r30
lbl_8034B214:
/* 8034B214 00348174 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034B218 00348178 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034B21C 0034817C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034B220 00348180 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8034B224 00348184 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8034B228 00348188 7C 08 03 A6 */ mtlr r0
/* 8034B22C 0034818C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034B230 00348190 4E 80 00 20 */ blr
.global TrkNextTrack__9CAudioSysFv
TrkNextTrack__9CAudioSysFv:
/* 8034B234 00348194 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B238 00348198 7C 08 02 A6 */ mflr r0
/* 8034B23C 0034819C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B240 003481A0 48 06 CB 41 */ bl DTKNextTrack
/* 8034B244 003481A4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B248 003481A8 7C 08 03 A6 */ mtlr r0
/* 8034B24C 003481AC 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B250 003481B0 4E 80 00 20 */ blr
.global TrkSetVolume__9CAudioSysFUcUc
TrkSetVolume__9CAudioSysFUcUc:
/* 8034B254 003481B4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B258 003481B8 7C 08 02 A6 */ mflr r0
/* 8034B25C 003481BC 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 8034B260 003481C0 54 84 06 3E */ clrlwi r4, r4, 0x18
/* 8034B264 003481C4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B268 003481C8 48 06 CB C5 */ bl DTKSetVolume
/* 8034B26C 003481CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B270 003481D0 7C 08 03 A6 */ mtlr r0
/* 8034B274 003481D4 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B278 003481D8 4E 80 00 20 */ blr
.global TrkGetState__9CAudioSysFv
TrkGetState__9CAudioSysFv:
/* 8034B27C 003481DC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B280 003481E0 7C 08 02 A6 */ mflr r0
/* 8034B284 003481E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B288 003481E8 48 06 CB 9D */ bl DTKGetState
/* 8034B28C 003481EC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B290 003481F0 7C 08 03 A6 */ mtlr r0
/* 8034B294 003481F4 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B298 003481F8 4E 80 00 20 */ blr
.global TrkSetState__9CAudioSysF13ETRKPlayState
TrkSetState__9CAudioSysF13ETRKPlayState:
/* 8034B29C 003481FC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B2A0 00348200 7C 08 02 A6 */ mflr r0
/* 8034B2A4 00348204 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B2A8 00348208 48 06 C8 F9 */ bl DTKSetState
/* 8034B2AC 0034820C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B2B0 00348210 7C 08 03 A6 */ mtlr r0
/* 8034B2B4 00348214 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B2B8 00348218 4E 80 00 20 */ blr
.global TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode
TrkSetRepeatMode__9CAudioSysF14ETRKRepeatMode:
/* 8034B2BC 0034821C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B2C0 00348220 7C 08 02 A6 */ mflr r0
/* 8034B2C4 00348224 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B2C8 00348228 48 06 C8 D1 */ bl DTKSetRepeatMode
/* 8034B2CC 0034822C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B2D0 00348230 7C 08 03 A6 */ mtlr r0
/* 8034B2D4 00348234 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B2D8 00348238 4E 80 00 20 */ blr
.global TrkSetSampleRate__9CAudioSysF14ETRKSampleRate
TrkSetSampleRate__9CAudioSysF14ETRKSampleRate:
/* 8034B2DC 0034823C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B2E0 00348240 7C 08 02 A6 */ mflr r0
/* 8034B2E4 00348244 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B2E8 00348248 48 06 C8 AD */ bl DTKSetSampleRate
/* 8034B2EC 0034824C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B2F0 00348250 7C 08 03 A6 */ mtlr r0
/* 8034B2F4 00348254 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B2F8 00348258 4E 80 00 20 */ blr
.global TrkFlushTracks__9CAudioSysFv
TrkFlushTracks__9CAudioSysFv:
/* 8034B2FC 0034825C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B300 00348260 7C 08 02 A6 */ mflr r0
/* 8034B304 00348264 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B308 00348268 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034B30C 0034826C 80 6D A9 DC */ lwz r3, lbl_805A959C@sda21(r13)
/* 8034B310 00348270 80 03 00 04 */ lwz r0, 4(r3)
/* 8034B314 00348274 2C 00 00 00 */ cmpwi r0, 0
/* 8034B318 00348278 40 81 00 38 */ ble lbl_8034B350
/* 8034B31C 0034827C 38 60 00 00 */ li r3, 0
/* 8034B320 00348280 48 06 C8 11 */ bl DTKFlushTracks
/* 8034B324 00348284 83 ED A9 DC */ lwz r31, lbl_805A959C@sda21(r13)
/* 8034B328 00348288 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8034B32C 0034828C 28 04 00 00 */ cmplwi r4, 0
/* 8034B330 00348290 41 82 00 0C */ beq lbl_8034B33C
/* 8034B334 00348294 7F E3 FB 78 */ mr r3, r31
/* 8034B338 00348298 48 00 16 FD */ bl sub_8034ca34
lbl_8034B33C:
/* 8034B33C 0034829C 38 00 00 00 */ li r0, 0
/* 8034B340 003482A0 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8034B344 003482A4 90 1F 00 08 */ stw r0, 8(r31)
/* 8034B348 003482A8 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8034B34C 003482AC 90 1F 00 04 */ stw r0, 4(r31)
lbl_8034B350:
/* 8034B350 003482B0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B354 003482B4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034B358 003482B8 7C 08 03 A6 */ mtlr r0
/* 8034B35C 003482BC 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B360 003482C0 4E 80 00 20 */ blr
.global "TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>PFUl_vUi"
"TrkQueueTrack__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>PFUl_vUi":
/* 8034B364 003482C4 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8034B368 003482C8 7C 08 02 A6 */ mflr r0
/* 8034B36C 003482CC 90 01 00 54 */ stw r0, 0x54(r1)
/* 8034B370 003482D0 93 E1 00 4C */ stw r31, 0x4c(r1)
/* 8034B374 003482D4 7C BF 2B 78 */ mr r31, r5
/* 8034B378 003482D8 93 C1 00 48 */ stw r30, 0x48(r1)
/* 8034B37C 003482DC 7C 9E 23 78 */ mr r30, r4
/* 8034B380 003482E0 93 A1 00 44 */ stw r29, 0x44(r1)
/* 8034B384 003482E4 93 81 00 40 */ stw r28, 0x40(r1)
/* 8034B388 003482E8 7C 7C 1B 78 */ mr r28, r3
lbl_8034B38C:
/* 8034B38C 003482EC 4B FF FE F1 */ bl TrkGetState__9CAudioSysFv
/* 8034B390 003482F0 2C 03 00 03 */ cmpwi r3, 3
/* 8034B394 003482F4 41 82 FF F8 */ beq lbl_8034B38C
/* 8034B398 003482F8 7F 84 E3 78 */ mr r4, r28
/* 8034B39C 003482FC 38 61 00 08 */ addi r3, r1, 8
/* 8034B3A0 00348300 4B FF FC BD */ bl "FindTrack__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034B3A4 00348304 80 A1 00 08 */ lwz r5, 8(r1)
/* 8034B3A8 00348308 38 61 00 08 */ addi r3, r1, 8
/* 8034B3AC 0034830C 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8034B3B0 00348310 80 85 00 04 */ lwz r4, 4(r5)
/* 8034B3B4 00348314 38 04 00 01 */ addi r0, r4, 1
/* 8034B3B8 00348318 90 05 00 04 */ stw r0, 4(r5)
/* 8034B3BC 0034831C 48 00 20 49 */ bl sub_8034d404
/* 8034B3C0 00348320 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8034B3C4 00348324 80 63 00 00 */ lwz r3, 0(r3)
/* 8034B3C8 00348328 28 03 00 00 */ cmplwi r3, 0
/* 8034B3CC 0034832C 40 82 00 E8 */ bne lbl_8034B4B4
/* 8034B3D0 00348330 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034B3D4 00348334 38 60 00 64 */ li r3, 0x64
/* 8034B3D8 00348338 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034B3DC 0034833C 38 A0 00 00 */ li r5, 0
/* 8034B3E0 00348340 4B FC A4 8D */ bl __nw__FUlPCcPCc
/* 8034B3E4 00348344 7C 7D 1B 79 */ or. r29, r3, r3
/* 8034B3E8 00348348 41 82 00 18 */ beq lbl_8034B400
/* 8034B3EC 0034834C 38 00 00 01 */ li r0, 1
/* 8034B3F0 00348350 7F 84 E3 78 */ mr r4, r28
/* 8034B3F4 00348354 98 1D 00 50 */ stb r0, 0x50(r29)
/* 8034B3F8 00348358 38 7D 00 54 */ addi r3, r29, 0x54
/* 8034B3FC 0034835C 4B FF 2D 65 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8034B400:
/* 8034B400 00348360 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034B404 00348364 38 60 00 08 */ li r3, 8
/* 8034B408 00348368 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034B40C 0034836C 38 A0 00 00 */ li r5, 0
/* 8034B410 00348370 4B FC A4 5D */ bl __nw__FUlPCcPCc
/* 8034B414 00348374 28 03 00 00 */ cmplwi r3, 0
/* 8034B418 00348378 41 82 00 10 */ beq lbl_8034B428
/* 8034B41C 0034837C 93 A3 00 00 */ stw r29, 0(r3)
/* 8034B420 00348380 38 00 00 01 */ li r0, 1
/* 8034B424 00348384 90 03 00 04 */ stw r0, 4(r3)
lbl_8034B428:
/* 8034B428 00348388 90 61 00 0C */ stw r3, 0xc(r1)
/* 8034B42C 0034838C 7F 84 E3 78 */ mr r4, r28
/* 8034B430 00348390 38 61 00 20 */ addi r3, r1, 0x20
/* 8034B434 00348394 4B FF 2D 2D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034B438 00348398 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8034B43C 0034839C 3B A1 00 30 */ addi r29, r1, 0x30
/* 8034B440 003483A0 38 61 00 14 */ addi r3, r1, 0x14
/* 8034B444 003483A4 38 C1 00 20 */ addi r6, r1, 0x20
/* 8034B448 003483A8 90 A1 00 30 */ stw r5, 0x30(r1)
/* 8034B44C 003483AC 80 85 00 04 */ lwz r4, 4(r5)
/* 8034B450 003483B0 38 04 00 01 */ addi r0, r4, 1
/* 8034B454 003483B4 90 05 00 04 */ stw r0, 4(r5)
/* 8034B458 003483B8 80 8D A9 DC */ lwz r4, lbl_805A959C@sda21(r13)
/* 8034B45C 003483BC 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 8034B460 003483C0 48 00 1D 25 */ bl sub_8034d184
/* 8034B464 003483C4 28 1D 00 00 */ cmplwi r29, 0
/* 8034B468 003483C8 41 82 00 10 */ beq lbl_8034B478
/* 8034B46C 003483CC 41 82 00 0C */ beq lbl_8034B478
/* 8034B470 003483D0 7F A3 EB 78 */ mr r3, r29
/* 8034B474 003483D4 48 00 1F 91 */ bl sub_8034d404
lbl_8034B478:
/* 8034B478 003483D8 38 61 00 20 */ addi r3, r1, 0x20
/* 8034B47C 003483DC 4B FF 26 65 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8034B480 003483E0 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8034B484 003483E4 7F E5 FB 78 */ mr r5, r31
/* 8034B488 003483E8 7F C6 F3 78 */ mr r6, r30
/* 8034B48C 003483EC 80 83 00 00 */ lwz r4, 0(r3)
/* 8034B490 003483F0 80 64 00 54 */ lwz r3, 0x54(r4)
/* 8034B494 003483F4 48 06 C5 81 */ bl DTKQueueTrack
/* 8034B498 003483F8 7C 7D 1B 78 */ mr r29, r3
/* 8034B49C 003483FC 38 61 00 0C */ addi r3, r1, 0xc
/* 8034B4A0 00348400 48 00 1F 65 */ bl sub_8034d404
/* 8034B4A4 00348404 38 61 00 10 */ addi r3, r1, 0x10
/* 8034B4A8 00348408 48 00 1F 5D */ bl sub_8034d404
/* 8034B4AC 0034840C 7F A3 EB 78 */ mr r3, r29
/* 8034B4B0 00348410 48 00 00 50 */ b lbl_8034B500
lbl_8034B4B4:
/* 8034B4B4 00348414 88 03 00 50 */ lbz r0, 0x50(r3)
/* 8034B4B8 00348418 28 00 00 00 */ cmplwi r0, 0
/* 8034B4BC 0034841C 40 82 00 38 */ bne lbl_8034B4F4
/* 8034B4C0 00348420 38 00 00 01 */ li r0, 1
/* 8034B4C4 00348424 7F E5 FB 78 */ mr r5, r31
/* 8034B4C8 00348428 98 03 00 50 */ stb r0, 0x50(r3)
/* 8034B4CC 0034842C 7F C6 F3 78 */ mr r6, r30
/* 8034B4D0 00348430 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8034B4D4 00348434 80 83 00 00 */ lwz r4, 0(r3)
/* 8034B4D8 00348438 80 64 00 54 */ lwz r3, 0x54(r4)
/* 8034B4DC 0034843C 48 06 C5 39 */ bl DTKQueueTrack
/* 8034B4E0 00348440 7C 7D 1B 78 */ mr r29, r3
/* 8034B4E4 00348444 38 61 00 10 */ addi r3, r1, 0x10
/* 8034B4E8 00348448 48 00 1F 1D */ bl sub_8034d404
/* 8034B4EC 0034844C 7F A3 EB 78 */ mr r3, r29
/* 8034B4F0 00348450 48 00 00 10 */ b lbl_8034B500
lbl_8034B4F4:
/* 8034B4F4 00348454 38 61 00 10 */ addi r3, r1, 0x10
/* 8034B4F8 00348458 48 00 1F 0D */ bl sub_8034d404
/* 8034B4FC 0034845C 38 60 13 88 */ li r3, 0x1388
lbl_8034B500:
/* 8034B500 00348460 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8034B504 00348464 83 E1 00 4C */ lwz r31, 0x4c(r1)
/* 8034B508 00348468 83 C1 00 48 */ lwz r30, 0x48(r1)
/* 8034B50C 0034846C 83 A1 00 44 */ lwz r29, 0x44(r1)
/* 8034B510 00348470 83 81 00 40 */ lwz r28, 0x40(r1)
/* 8034B514 00348474 7C 08 03 A6 */ mtlr r0
/* 8034B518 00348478 38 21 00 50 */ addi r1, r1, 0x50
/* 8034B51C 0034847C 4E 80 00 20 */ blr
.global SfxCtrl__9CAudioSysFUlUcUc
SfxCtrl__9CAudioSysFUlUcUc:
/* 8034B520 00348480 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B524 00348484 7C 08 02 A6 */ mflr r0
/* 8034B528 00348488 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B52C 0034848C 48 05 0C 65 */ bl sndFXCtrl
/* 8034B530 00348490 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B534 00348494 7C 08 03 A6 */ mtlr r0
/* 8034B538 00348498 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B53C 0034849C 4E 80 00 20 */ blr
.global SfxPitchBend__9CAudioSysFUlUs
SfxPitchBend__9CAudioSysFUlUs:
/* 8034B540 003484A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B544 003484A4 7C 08 02 A6 */ mflr r0
/* 8034B548 003484A8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B54C 003484AC 7C 80 23 78 */ mr r0, r4
/* 8034B550 003484B0 38 80 00 80 */ li r4, 0x80
/* 8034B554 003484B4 54 05 04 3E */ clrlwi r5, r0, 0x10
/* 8034B558 003484B8 48 05 0C 99 */ bl sndFXCtrl14
/* 8034B55C 003484BC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B560 003484C0 7C 08 03 A6 */ mtlr r0
/* 8034B564 003484C4 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B568 003484C8 4E 80 00 20 */ blr
.global SfxVolume__9CAudioSysFUlUc
SfxVolume__9CAudioSysFUlUc:
/* 8034B56C 003484CC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B570 003484D0 7C 08 02 A6 */ mflr r0
/* 8034B574 003484D4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B578 003484D8 7C 80 23 78 */ mr r0, r4
/* 8034B57C 003484DC 38 80 00 07 */ li r4, 7
/* 8034B580 003484E0 54 05 06 3E */ clrlwi r5, r0, 0x18
/* 8034B584 003484E4 48 05 0C 0D */ bl sndFXCtrl
/* 8034B588 003484E8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B58C 003484EC 7C 08 03 A6 */ mtlr r0
/* 8034B590 003484F0 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B594 003484F4 4E 80 00 20 */ blr
.global SfxSpan__9CAudioSysFUlUc
SfxSpan__9CAudioSysFUlUc:
/* 8034B598 003484F8 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B59C 003484FC 7C 08 02 A6 */ mflr r0
/* 8034B5A0 00348500 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B5A4 00348504 7C 80 23 78 */ mr r0, r4
/* 8034B5A8 00348508 38 80 00 83 */ li r4, 0x83
/* 8034B5AC 0034850C 54 05 06 3E */ clrlwi r5, r0, 0x18
/* 8034B5B0 00348510 48 05 0B E1 */ bl sndFXCtrl
/* 8034B5B4 00348514 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B5B8 00348518 7C 08 03 A6 */ mtlr r0
/* 8034B5BC 0034851C 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B5C0 00348520 4E 80 00 20 */ blr
.global SfxCheck__9CAudioSysFUl
SfxCheck__9CAudioSysFUl:
/* 8034B5C4 00348524 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B5C8 00348528 7C 08 02 A6 */ mflr r0
/* 8034B5CC 0034852C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B5D0 00348530 48 05 0D 45 */ bl sndFXCheck
/* 8034B5D4 00348534 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B5D8 00348538 7C 08 03 A6 */ mtlr r0
/* 8034B5DC 0034853C 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B5E0 00348540 4E 80 00 20 */ blr
.global SfxStop__9CAudioSysFUl
SfxStop__9CAudioSysFUl:
/* 8034B5E4 00348544 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B5E8 00348548 7C 08 02 A6 */ mflr r0
/* 8034B5EC 0034854C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B5F0 00348550 48 05 0C 61 */ bl sndFXKeyOff
/* 8034B5F4 00348554 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B5F8 00348558 7C 08 03 A6 */ mtlr r0
/* 8034B5FC 0034855C 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B600 00348560 4E 80 00 20 */ blr
.global SfxStart__9CAudioSysFUsUcUcUc
SfxStart__9CAudioSysFUsUcUcUc:
/* 8034B604 00348564 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B608 00348568 7C 08 02 A6 */ mflr r0
/* 8034B60C 0034856C 54 63 04 3E */ clrlwi r3, r3, 0x10
/* 8034B610 00348570 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B614 00348574 54 80 06 3E */ clrlwi r0, r4, 0x18
/* 8034B618 00348578 28 00 00 7F */ cmplwi r0, 0x7f
/* 8034B61C 0034857C 38 80 00 7F */ li r4, 0x7f
/* 8034B620 00348580 A8 ED 9D DA */ lha r7, lbl_805A899A@sda21(r13)
/* 8034B624 00348584 41 81 00 08 */ bgt lbl_8034B62C
/* 8034B628 00348588 7C 04 03 78 */ mr r4, r0
lbl_8034B62C:
/* 8034B62C 0034858C 7C 07 21 D6 */ mullw r0, r7, r4
/* 8034B630 00348590 3C 80 81 02 */ lis r4, 0x81020409@ha
/* 8034B634 00348594 54 A5 06 3E */ clrlwi r5, r5, 0x18
/* 8034B638 00348598 38 84 04 09 */ addi r4, r4, 0x81020409@l
/* 8034B63C 0034859C 54 C6 06 3E */ clrlwi r6, r6, 0x18
/* 8034B640 003485A0 7C 84 00 96 */ mulhw r4, r4, r0
/* 8034B644 003485A4 7C 04 02 14 */ add r0, r4, r0
/* 8034B648 003485A8 7C 00 36 70 */ srawi r0, r0, 6
/* 8034B64C 003485AC 54 04 0F FE */ srwi r4, r0, 0x1f
/* 8034B650 003485B0 7C 00 22 14 */ add r0, r0, r4
/* 8034B654 003485B4 54 04 06 3E */ clrlwi r4, r0, 0x18
/* 8034B658 003485B8 48 05 0C 39 */ bl sndFXStartEx
/* 8034B65C 003485BC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B660 003485C0 7C 08 03 A6 */ mtlr r0
/* 8034B664 003485C4 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B668 003485C8 4E 80 00 20 */ blr
.global "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8034B66C 003485CC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034B670 003485D0 7C 08 02 A6 */ mflr r0
/* 8034B674 003485D4 7C 85 23 78 */ mr r5, r4
/* 8034B678 003485D8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034B67C 003485DC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034B680 003485E0 7C 7F 1B 78 */ mr r31, r3
/* 8034B684 003485E4 80 CD A9 D4 */ lwz r6, lbl_805A9594@sda21(r13)
/* 8034B688 003485E8 80 06 00 04 */ lwz r0, 4(r6)
/* 8034B68C 003485EC 2C 00 00 00 */ cmpwi r0, 0
/* 8034B690 003485F0 41 81 00 20 */ bgt lbl_8034B6B0
/* 8034B694 003485F4 38 0D A9 28 */ addi r0, r13, sNull__Q24rstl8CRefData@sda21
/* 8034B698 003485F8 90 1F 00 00 */ stw r0, 0(r31)
/* 8034B69C 003485FC 80 9F 00 00 */ lwz r4, 0(r31)
/* 8034B6A0 00348600 80 64 00 04 */ lwz r3, 4(r4)
/* 8034B6A4 00348604 38 03 00 01 */ addi r0, r3, 1
/* 8034B6A8 00348608 90 04 00 04 */ stw r0, 4(r4)
/* 8034B6AC 0034860C 48 00 00 7C */ b lbl_8034B728
lbl_8034B6B0:
/* 8034B6B0 00348610 7C C4 33 78 */ mr r4, r6
/* 8034B6B4 00348614 38 61 00 10 */ addi r3, r1, 0x10
/* 8034B6B8 00348618 48 00 00 85 */ bl sub_8034b73c
/* 8034B6BC 0034861C 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13)
/* 8034B6C0 00348620 38 80 00 00 */ li r4, 0
/* 8034B6C4 00348624 80 A1 00 10 */ lwz r5, 0x10(r1)
/* 8034B6C8 00348628 38 03 00 08 */ addi r0, r3, 8
/* 8034B6CC 0034862C 90 81 00 08 */ stw r4, 8(r1)
/* 8034B6D0 00348630 7C 05 20 40 */ cmplw r5, r4
/* 8034B6D4 00348634 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8034B6D8 00348638 90 01 00 0C */ stw r0, 0xc(r1)
/* 8034B6DC 0034863C 40 82 00 0C */ bne lbl_8034B6E8
/* 8034B6E0 00348640 7C 03 00 40 */ cmplw r3, r0
/* 8034B6E4 00348644 41 82 00 08 */ beq lbl_8034B6EC
lbl_8034B6E8:
/* 8034B6E8 00348648 38 80 00 01 */ li r4, 1
lbl_8034B6EC:
/* 8034B6EC 0034864C 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8034B6F0 00348650 41 82 00 20 */ beq lbl_8034B710
/* 8034B6F4 00348654 80 05 00 20 */ lwz r0, 0x20(r5)
/* 8034B6F8 00348658 90 1F 00 00 */ stw r0, 0(r31)
/* 8034B6FC 0034865C 80 9F 00 00 */ lwz r4, 0(r31)
/* 8034B700 00348660 80 64 00 04 */ lwz r3, 4(r4)
/* 8034B704 00348664 38 03 00 01 */ addi r0, r3, 1
/* 8034B708 00348668 90 04 00 04 */ stw r0, 4(r4)
/* 8034B70C 0034866C 48 00 00 1C */ b lbl_8034B728
lbl_8034B710:
/* 8034B710 00348670 38 0D A9 28 */ addi r0, r13, sNull__Q24rstl8CRefData@sda21
/* 8034B714 00348674 90 1F 00 00 */ stw r0, 0(r31)
/* 8034B718 00348678 80 9F 00 00 */ lwz r4, 0(r31)
/* 8034B71C 0034867C 80 64 00 04 */ lwz r3, 4(r4)
/* 8034B720 00348680 38 03 00 01 */ addi r0, r3, 1
/* 8034B724 00348684 90 04 00 04 */ stw r0, 4(r4)
lbl_8034B728:
/* 8034B728 00348688 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034B72C 0034868C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034B730 00348690 7C 08 03 A6 */ mtlr r0
/* 8034B734 00348694 38 21 00 20 */ addi r1, r1, 0x20
/* 8034B738 00348698 4E 80 00 20 */ blr
.global sub_8034b73c
sub_8034b73c:
/* 8034B73C 0034869C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B740 003486A0 7C 08 02 A6 */ mflr r0
/* 8034B744 003486A4 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B748 003486A8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034B74C 003486AC 7C 9F 23 78 */ mr r31, r4
/* 8034B750 003486B0 7C A4 2B 78 */ mr r4, r5
/* 8034B754 003486B4 93 C1 00 08 */ stw r30, 8(r1)
/* 8034B758 003486B8 7C 7E 1B 78 */ mr r30, r3
/* 8034B75C 003486BC 7F E3 FB 78 */ mr r3, r31
/* 8034B760 003486C0 48 00 00 29 */ bl sub_8034b788
/* 8034B764 003486C4 90 7E 00 00 */ stw r3, 0(r30)
/* 8034B768 003486C8 38 1F 00 08 */ addi r0, r31, 8
/* 8034B76C 003486CC 90 1E 00 04 */ stw r0, 4(r30)
/* 8034B770 003486D0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B774 003486D4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034B778 003486D8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034B77C 003486DC 7C 08 03 A6 */ mtlr r0
/* 8034B780 003486E0 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B784 003486E4 4E 80 00 20 */ blr
.global sub_8034b788
sub_8034b788:
/* 8034B788 003486E8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034B78C 003486EC 7C 08 02 A6 */ mflr r0
/* 8034B790 003486F0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034B794 003486F4 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034B798 003486F8 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034B79C 003486FC 3B C0 00 00 */ li r30, 0
/* 8034B7A0 00348700 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034B7A4 00348704 7C 9D 23 78 */ mr r29, r4
/* 8034B7A8 00348708 93 81 00 10 */ stw r28, 0x10(r1)
/* 8034B7AC 0034870C 7C 7C 1B 78 */ mr r28, r3
/* 8034B7B0 00348710 83 E3 00 10 */ lwz r31, 0x10(r3)
/* 8034B7B4 00348714 48 00 00 2C */ b lbl_8034B7E0
lbl_8034B7B8:
/* 8034B7B8 00348718 7F A5 EB 78 */ mr r5, r29
/* 8034B7BC 0034871C 38 7C 00 01 */ addi r3, r28, 1
/* 8034B7C0 00348720 38 9F 00 10 */ addi r4, r31, 0x10
/* 8034B7C4 00348724 4B CD EF 65 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034B7C8 00348728 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034B7CC 0034872C 40 82 00 10 */ bne lbl_8034B7DC
/* 8034B7D0 00348730 7F FE FB 78 */ mr r30, r31
/* 8034B7D4 00348734 83 FF 00 00 */ lwz r31, 0(r31)
/* 8034B7D8 00348738 48 00 00 08 */ b lbl_8034B7E0
lbl_8034B7DC:
/* 8034B7DC 0034873C 83 FF 00 04 */ lwz r31, 4(r31)
lbl_8034B7E0:
/* 8034B7E0 00348740 28 1F 00 00 */ cmplwi r31, 0
/* 8034B7E4 00348744 40 82 FF D4 */ bne lbl_8034B7B8
/* 8034B7E8 00348748 28 1E 00 00 */ cmplwi r30, 0
/* 8034B7EC 0034874C 3B E0 00 00 */ li r31, 0
/* 8034B7F0 00348750 41 82 00 1C */ beq lbl_8034B80C
/* 8034B7F4 00348754 7F A4 EB 78 */ mr r4, r29
/* 8034B7F8 00348758 38 7C 00 01 */ addi r3, r28, 1
/* 8034B7FC 0034875C 38 BE 00 10 */ addi r5, r30, 0x10
/* 8034B800 00348760 4B CD EF 29 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034B804 00348764 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034B808 00348768 41 82 00 08 */ beq lbl_8034B810
lbl_8034B80C:
/* 8034B80C 0034876C 3B E0 00 01 */ li r31, 1
lbl_8034B810:
/* 8034B810 00348770 57 E0 06 3F */ clrlwi. r0, r31, 0x18
/* 8034B814 00348774 41 82 00 0C */ beq lbl_8034B820
/* 8034B818 00348778 38 60 00 00 */ li r3, 0
/* 8034B81C 0034877C 48 00 00 08 */ b lbl_8034B824
lbl_8034B820:
/* 8034B820 00348780 7F C3 F3 78 */ mr r3, r30
lbl_8034B824:
/* 8034B824 00348784 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034B828 00348788 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034B82C 0034878C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034B830 00348790 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8034B834 00348794 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8034B838 00348798 7C 08 03 A6 */ mtlr r0
/* 8034B83C 0034879C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034B840 003487A0 4E 80 00 20 */ blr
.global SysGetGroupSetName__9CAudioSysFUi
SysGetGroupSetName__9CAudioSysFUi:
/* 8034B844 003487A4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034B848 003487A8 38 A0 00 00 */ li r5, 0
/* 8034B84C 003487AC 80 CD A9 D8 */ lwz r6, lbl_805A9598@sda21(r13)
/* 8034B850 003487B0 80 86 00 10 */ lwz r4, 0x10(r6)
/* 8034B854 003487B4 48 00 00 20 */ b lbl_8034B874
lbl_8034B858:
/* 8034B858 003487B8 80 04 00 10 */ lwz r0, 0x10(r4)
/* 8034B85C 003487BC 7C 00 18 40 */ cmplw r0, r3
/* 8034B860 003487C0 41 80 00 10 */ blt lbl_8034B870
/* 8034B864 003487C4 7C 85 23 78 */ mr r5, r4
/* 8034B868 003487C8 80 84 00 00 */ lwz r4, 0(r4)
/* 8034B86C 003487CC 48 00 00 08 */ b lbl_8034B874
lbl_8034B870:
/* 8034B870 003487D0 80 84 00 04 */ lwz r4, 4(r4)
lbl_8034B874:
/* 8034B874 003487D4 28 04 00 00 */ cmplwi r4, 0
/* 8034B878 003487D8 40 82 FF E0 */ bne lbl_8034B858
/* 8034B87C 003487DC 28 05 00 00 */ cmplwi r5, 0
/* 8034B880 003487E0 38 80 00 00 */ li r4, 0
/* 8034B884 003487E4 41 82 00 10 */ beq lbl_8034B894
/* 8034B888 003487E8 80 05 00 10 */ lwz r0, 0x10(r5)
/* 8034B88C 003487EC 7C 03 00 40 */ cmplw r3, r0
/* 8034B890 003487F0 40 80 00 08 */ bge lbl_8034B898
lbl_8034B894:
/* 8034B894 003487F4 38 80 00 01 */ li r4, 1
lbl_8034B898:
/* 8034B898 003487F8 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8034B89C 003487FC 41 82 00 08 */ beq lbl_8034B8A4
/* 8034B8A0 00348800 38 A0 00 00 */ li r5, 0
lbl_8034B8A4:
/* 8034B8A4 00348804 38 00 00 00 */ li r0, 0
/* 8034B8A8 00348808 38 66 00 08 */ addi r3, r6, 8
/* 8034B8AC 0034880C 7C 05 00 40 */ cmplw r5, r0
/* 8034B8B0 00348810 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8034B8B4 00348814 90 61 00 14 */ stw r3, 0x14(r1)
/* 8034B8B8 00348818 90 01 00 08 */ stw r0, 8(r1)
/* 8034B8BC 0034881C 90 61 00 0C */ stw r3, 0xc(r1)
/* 8034B8C0 00348820 40 82 00 0C */ bne lbl_8034B8CC
/* 8034B8C4 00348824 7C 03 18 40 */ cmplw r3, r3
/* 8034B8C8 00348828 41 82 00 08 */ beq lbl_8034B8D0
lbl_8034B8CC:
/* 8034B8CC 0034882C 38 00 00 01 */ li r0, 1
lbl_8034B8D0:
/* 8034B8D0 00348830 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8034B8D4 00348834 41 82 00 0C */ beq lbl_8034B8E0
/* 8034B8D8 00348838 38 65 00 14 */ addi r3, r5, 0x14
/* 8034B8DC 0034883C 48 00 00 0C */ b lbl_8034B8E8
lbl_8034B8E0:
/* 8034B8E0 00348840 3C 60 80 5A */ lis r3, mpDefaultInvalidString__9CAudioSys@ha
/* 8034B8E4 00348844 38 63 67 CC */ addi r3, r3, mpDefaultInvalidString__9CAudioSys@l
lbl_8034B8E8:
/* 8034B8E8 00348848 38 21 00 20 */ addi r1, r1, 0x20
/* 8034B8EC 0034884C 4E 80 00 20 */ blr
.global SysPopGroupFromARAM__9CAudioSysFv
SysPopGroupFromARAM__9CAudioSysFv:
/* 8034B8F0 00348850 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034B8F4 00348854 7C 08 02 A6 */ mflr r0
/* 8034B8F8 00348858 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034B8FC 0034885C 48 05 EE 5D */ bl sndPopGroup
/* 8034B900 00348860 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034B904 00348864 7C 08 03 A6 */ mtlr r0
/* 8034B908 00348868 38 21 00 10 */ addi r1, r1, 0x10
/* 8034B90C 0034886C 4E 80 00 20 */ blr
.global "SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Uc"
"SysPushGroupIntoARAM__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Uc":
/* 8034B910 00348870 94 21 EF B0 */ stwu r1, -0x1050(r1)
/* 8034B914 00348874 7C 08 02 A6 */ mflr r0
/* 8034B918 00348878 90 01 10 54 */ stw r0, 0x1054(r1)
/* 8034B91C 0034887C BF 61 10 3C */ stmw r27, 0x103c(r1)
/* 8034B920 00348880 7C 9B 23 78 */ mr r27, r4
/* 8034B924 00348884 7C 64 1B 78 */ mr r4, r3
/* 8034B928 00348888 38 61 00 08 */ addi r3, r1, 8
/* 8034B92C 0034888C 4B FF FD 41 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034B930 00348890 80 A1 00 08 */ lwz r5, 8(r1)
/* 8034B934 00348894 38 61 00 08 */ addi r3, r1, 8
/* 8034B938 00348898 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8034B93C 0034889C 80 85 00 04 */ lwz r4, 4(r5)
/* 8034B940 003488A0 38 04 00 01 */ addi r0, r4, 1
/* 8034B944 003488A4 90 05 00 04 */ stw r0, 4(r5)
/* 8034B948 003488A8 48 00 10 91 */ bl sub_8034c9d8
/* 8034B94C 003488AC 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8034B950 003488B0 80 63 00 00 */ lwz r3, 0(r3)
/* 8034B954 003488B4 28 03 00 00 */ cmplwi r3, 0
/* 8034B958 003488B8 41 82 00 70 */ beq lbl_8034B9C8
/* 8034B95C 003488BC 80 A3 00 28 */ lwz r5, 0x28(r3)
/* 8034B960 003488C0 38 01 00 2F */ addi r0, r1, 0x2f
/* 8034B964 003488C4 3C 60 80 35 */ lis r3, sub_8034b9e8@ha
/* 8034B968 003488C8 38 80 10 00 */ li r4, 0x1000
/* 8034B96C 003488CC 83 E5 00 38 */ lwz r31, 0x38(r5)
/* 8034B970 003488D0 54 00 00 34 */ rlwinm r0, r0, 0, 0, 0x1a
/* 8034B974 003488D4 83 C5 00 40 */ lwz r30, 0x40(r5)
/* 8034B978 003488D8 38 63 B9 E8 */ addi r3, r3, sub_8034b9e8@l
/* 8034B97C 003488DC 83 A5 00 3C */ lwz r29, 0x3c(r5)
/* 8034B980 003488E0 83 85 00 34 */ lwz r28, 0x34(r5)
/* 8034B984 003488E4 90 0D A9 FC */ stw r0, lbl_805A95BC@sda21(r13)
/* 8034B988 003488E8 48 05 EA 85 */ bl sndSetSampleDataUploadCallback
/* 8034B98C 003488EC 7F E3 FB 78 */ mr r3, r31
/* 8034B990 003488F0 7F C5 F3 78 */ mr r5, r30
/* 8034B994 003488F4 7F A6 EB 78 */ mr r6, r29
/* 8034B998 003488F8 7F 87 E3 78 */ mr r7, r28
/* 8034B99C 003488FC 57 64 06 3E */ clrlwi r4, r27, 0x18
/* 8034B9A0 00348900 48 05 EA 8D */ bl sndPushGroup
/* 8034B9A4 00348904 7C 7F 1B 78 */ mr r31, r3
/* 8034B9A8 00348908 38 60 00 00 */ li r3, 0
/* 8034B9AC 0034890C 38 80 00 00 */ li r4, 0
/* 8034B9B0 00348910 48 05 EA 5D */ bl sndSetSampleDataUploadCallback
/* 8034B9B4 00348914 57 FF 06 3E */ clrlwi r31, r31, 0x18
/* 8034B9B8 00348918 38 61 00 0C */ addi r3, r1, 0xc
/* 8034B9BC 0034891C 48 00 10 1D */ bl sub_8034c9d8
/* 8034B9C0 00348920 7F E3 FB 78 */ mr r3, r31
/* 8034B9C4 00348924 48 00 00 10 */ b lbl_8034B9D4
lbl_8034B9C8:
/* 8034B9C8 00348928 38 61 00 0C */ addi r3, r1, 0xc
/* 8034B9CC 0034892C 48 00 10 0D */ bl sub_8034c9d8
/* 8034B9D0 00348930 38 60 00 00 */ li r3, 0
lbl_8034B9D4:
/* 8034B9D4 00348934 BB 61 10 3C */ lmw r27, 0x103c(r1)
/* 8034B9D8 00348938 80 01 10 54 */ lwz r0, 0x1054(r1)
/* 8034B9DC 0034893C 7C 08 03 A6 */ mtlr r0
/* 8034B9E0 00348940 38 21 10 50 */ addi r1, r1, 0x1050
/* 8034B9E4 00348944 4E 80 00 20 */ blr
.global sub_8034b9e8
sub_8034b9e8:
/* 8034B9E8 00348948 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034B9EC 0034894C 7C 08 02 A6 */ mflr r0
/* 8034B9F0 00348950 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034B9F4 00348954 38 00 00 01 */ li r0, 1
/* 8034B9F8 00348958 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034B9FC 0034895C 7C 9F 23 78 */ mr r31, r4
/* 8034BA00 00348960 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034BA04 00348964 7C 7E 1B 78 */ mr r30, r3
/* 8034BA08 00348968 98 01 00 08 */ stb r0, 8(r1)
/* 8034BA0C 0034896C 48 00 00 18 */ b lbl_8034BA24
lbl_8034BA10:
/* 8034BA10 00348970 48 02 1E D9 */ bl ARGetDMAStatus
/* 8034BA14 00348974 7C 03 00 D0 */ neg r0, r3
/* 8034BA18 00348978 7C 00 1B 78 */ or r0, r0, r3
/* 8034BA1C 0034897C 54 00 0F FE */ srwi r0, r0, 0x1f
/* 8034BA20 00348980 98 01 00 08 */ stb r0, 8(r1)
lbl_8034BA24:
/* 8034BA24 00348984 88 01 00 08 */ lbz r0, 8(r1)
/* 8034BA28 00348988 28 00 00 00 */ cmplwi r0, 0
/* 8034BA2C 0034898C 40 82 FF E4 */ bne lbl_8034BA10
/* 8034BA30 00348990 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13)
/* 8034BA34 00348994 7F C4 F3 78 */ mr r4, r30
/* 8034BA38 00348998 7F E5 FB 78 */ mr r5, r31
/* 8034BA3C 0034899C 4B CB 7A 55 */ bl memcpy
/* 8034BA40 003489A0 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13)
/* 8034BA44 003489A4 7F E4 FB 78 */ mr r4, r31
/* 8034BA48 003489A8 48 03 30 69 */ bl DCFlushRange
/* 8034BA4C 003489AC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034BA50 003489B0 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034BA54 003489B4 80 6D A9 FC */ lwz r3, lbl_805A95BC@sda21(r13)
/* 8034BA58 003489B8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034BA5C 003489BC 7C 08 03 A6 */ mtlr r0
/* 8034BA60 003489C0 38 21 00 20 */ addi r1, r1, 0x20
/* 8034BA64 003489C4 4E 80 00 20 */ blr
.global "SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"SysUnloadGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8034BA68 003489C8 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8034BA6C 003489CC 7C 08 02 A6 */ mflr r0
/* 8034BA70 003489D0 90 01 00 44 */ stw r0, 0x44(r1)
/* 8034BA74 003489D4 93 E1 00 3C */ stw r31, 0x3c(r1)
/* 8034BA78 003489D8 7C 7F 1B 78 */ mr r31, r3
/* 8034BA7C 003489DC 38 61 00 08 */ addi r3, r1, 8
/* 8034BA80 003489E0 93 C1 00 38 */ stw r30, 0x38(r1)
/* 8034BA84 003489E4 7F E4 FB 78 */ mr r4, r31
/* 8034BA88 003489E8 93 A1 00 34 */ stw r29, 0x34(r1)
/* 8034BA8C 003489EC 4B FF FB E1 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034BA90 003489F0 80 A1 00 08 */ lwz r5, 8(r1)
/* 8034BA94 003489F4 38 61 00 08 */ addi r3, r1, 8
/* 8034BA98 003489F8 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8034BA9C 003489FC 80 85 00 04 */ lwz r4, 4(r5)
/* 8034BAA0 00348A00 38 04 00 01 */ addi r0, r4, 1
/* 8034BAA4 00348A04 90 05 00 04 */ stw r0, 4(r5)
/* 8034BAA8 00348A08 48 00 0F 31 */ bl sub_8034c9d8
/* 8034BAAC 00348A0C 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8034BAB0 00348A10 80 03 00 00 */ lwz r0, 0(r3)
/* 8034BAB4 00348A14 28 00 00 00 */ cmplwi r0, 0
/* 8034BAB8 00348A18 41 82 01 24 */ beq lbl_8034BBDC
/* 8034BABC 00348A1C 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13)
/* 8034BAC0 00348A20 84 03 00 08 */ lwzu r0, 8(r3)
/* 8034BAC4 00348A24 90 61 00 24 */ stw r3, 0x24(r1)
/* 8034BAC8 00348A28 90 01 00 20 */ stw r0, 0x20(r1)
/* 8034BACC 00348A2C 48 00 00 A0 */ b lbl_8034BB6C
lbl_8034BAD0:
/* 8034BAD0 00348A30 7F E4 FB 78 */ mr r4, r31
/* 8034BAD4 00348A34 38 65 00 14 */ addi r3, r5, 0x14
/* 8034BAD8 00348A38 4B D0 6B 09 */ bl "__eq__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>CFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034BADC 00348A3C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034BAE0 00348A40 41 82 00 7C */ beq lbl_8034BB5C
/* 8034BAE4 00348A44 83 A1 00 20 */ lwz r29, 0x20(r1)
/* 8034BAE8 00348A48 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8034BAEC 00348A4C 93 A1 00 18 */ stw r29, 0x18(r1)
/* 8034BAF0 00348A50 7F A4 EB 78 */ mr r4, r29
/* 8034BAF4 00348A54 83 CD A9 D8 */ lwz r30, lbl_805A9598@sda21(r13)
/* 8034BAF8 00348A58 90 61 00 1C */ stw r3, 0x1c(r1)
/* 8034BAFC 00348A5C 4B FF 0A E5 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8034BB00 00348A60 90 61 00 18 */ stw r3, 0x18(r1)
/* 8034BB04 00348A64 7F A4 EB 78 */ mr r4, r29
/* 8034BB08 00348A68 38 7E 00 08 */ addi r3, r30, 8
/* 8034BB0C 00348A6C 4B FF 0B 71 */ bl rbtree_rebalance_for_erase__4rstlFPvPv
/* 8034BB10 00348A70 7C 7D 1B 79 */ or. r29, r3, r3
/* 8034BB14 00348A74 41 82 00 18 */ beq lbl_8034BB2C
/* 8034BB18 00348A78 34 1D 00 10 */ addic. r0, r29, 0x10
/* 8034BB1C 00348A7C 41 82 00 10 */ beq lbl_8034BB2C
/* 8034BB20 00348A80 34 7D 00 14 */ addic. r3, r29, 0x14
/* 8034BB24 00348A84 41 82 00 08 */ beq lbl_8034BB2C
/* 8034BB28 00348A88 4B FF 1F B9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034BB2C:
/* 8034BB2C 00348A8C 28 1D 00 00 */ cmplwi r29, 0
/* 8034BB30 00348A90 41 82 00 0C */ beq lbl_8034BB3C
/* 8034BB34 00348A94 7F A3 EB 78 */ mr r3, r29
/* 8034BB38 00348A98 4B FC 9D F9 */ bl Free__7CMemoryFPCv
lbl_8034BB3C:
/* 8034BB3C 00348A9C 80 9E 00 04 */ lwz r4, 4(r30)
/* 8034BB40 00348AA0 80 61 00 18 */ lwz r3, 0x18(r1)
/* 8034BB44 00348AA4 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8034BB48 00348AA8 38 84 FF FF */ addi r4, r4, -1
/* 8034BB4C 00348AAC 90 9E 00 04 */ stw r4, 4(r30)
/* 8034BB50 00348AB0 90 61 00 20 */ stw r3, 0x20(r1)
/* 8034BB54 00348AB4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034BB58 00348AB8 48 00 00 14 */ b lbl_8034BB6C
lbl_8034BB5C:
/* 8034BB5C 00348ABC 80 61 00 24 */ lwz r3, 0x24(r1)
/* 8034BB60 00348AC0 80 81 00 20 */ lwz r4, 0x20(r1)
/* 8034BB64 00348AC4 4B FF 0A 7D */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8034BB68 00348AC8 90 61 00 20 */ stw r3, 0x20(r1)
lbl_8034BB6C:
/* 8034BB6C 00348ACC 80 6D A9 D8 */ lwz r3, lbl_805A9598@sda21(r13)
/* 8034BB70 00348AD0 38 80 00 00 */ li r4, 0
/* 8034BB74 00348AD4 80 A1 00 20 */ lwz r5, 0x20(r1)
/* 8034BB78 00348AD8 38 63 00 08 */ addi r3, r3, 8
/* 8034BB7C 00348ADC 90 81 00 10 */ stw r4, 0x10(r1)
/* 8034BB80 00348AE0 7C 05 20 40 */ cmplw r5, r4
/* 8034BB84 00348AE4 90 61 00 14 */ stw r3, 0x14(r1)
/* 8034BB88 00348AE8 40 82 00 10 */ bne lbl_8034BB98
/* 8034BB8C 00348AEC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034BB90 00348AF0 7C 00 18 40 */ cmplw r0, r3
/* 8034BB94 00348AF4 41 82 00 08 */ beq lbl_8034BB9C
lbl_8034BB98:
/* 8034BB98 00348AF8 38 80 00 01 */ li r4, 1
lbl_8034BB9C:
/* 8034BB9C 00348AFC 54 80 06 3F */ clrlwi. r0, r4, 0x18
/* 8034BBA0 00348B00 40 82 FF 30 */ bne lbl_8034BAD0
/* 8034BBA4 00348B04 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8034BBA8 00348B08 7F E4 FB 78 */ mr r4, r31
/* 8034BBAC 00348B0C 80 0D A9 F4 */ lwz r0, lbl_805A95B4@sda21(r13)
/* 8034BBB0 00348B10 80 A3 00 00 */ lwz r5, 0(r3)
/* 8034BBB4 00348B14 80 6D A9 D4 */ lwz r3, lbl_805A9594@sda21(r13)
/* 8034BBB8 00348B18 80 A5 00 28 */ lwz r5, 0x28(r5)
/* 8034BBBC 00348B1C 80 A5 00 30 */ lwz r5, 0x30(r5)
/* 8034BBC0 00348B20 7C 05 00 50 */ subf r0, r5, r0
/* 8034BBC4 00348B24 90 0D A9 F4 */ stw r0, lbl_805A95B4@sda21(r13)
/* 8034BBC8 00348B28 48 00 00 3D */ bl sub_8034bc04
/* 8034BBCC 00348B2C 38 61 00 0C */ addi r3, r1, 0xc
/* 8034BBD0 00348B30 48 00 0E 09 */ bl sub_8034c9d8
/* 8034BBD4 00348B34 38 60 00 01 */ li r3, 1
/* 8034BBD8 00348B38 48 00 00 10 */ b lbl_8034BBE8
lbl_8034BBDC:
/* 8034BBDC 00348B3C 38 61 00 0C */ addi r3, r1, 0xc
/* 8034BBE0 00348B40 48 00 0D F9 */ bl sub_8034c9d8
/* 8034BBE4 00348B44 38 60 00 00 */ li r3, 0
lbl_8034BBE8:
/* 8034BBE8 00348B48 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8034BBEC 00348B4C 83 E1 00 3C */ lwz r31, 0x3c(r1)
/* 8034BBF0 00348B50 83 C1 00 38 */ lwz r30, 0x38(r1)
/* 8034BBF4 00348B54 83 A1 00 34 */ lwz r29, 0x34(r1)
/* 8034BBF8 00348B58 7C 08 03 A6 */ mtlr r0
/* 8034BBFC 00348B5C 38 21 00 40 */ addi r1, r1, 0x40
/* 8034BC00 00348B60 4E 80 00 20 */ blr
.global sub_8034bc04
sub_8034bc04:
/* 8034BC04 00348B64 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8034BC08 00348B68 7C 08 02 A6 */ mflr r0
/* 8034BC0C 00348B6C 7C 85 23 78 */ mr r5, r4
/* 8034BC10 00348B70 90 01 00 84 */ stw r0, 0x84(r1)
/* 8034BC14 00348B74 BF 61 00 6C */ stmw r27, 0x6c(r1)
/* 8034BC18 00348B78 7C 7F 1B 78 */ mr r31, r3
/* 8034BC1C 00348B7C 7F E4 FB 78 */ mr r4, r31
/* 8034BC20 00348B80 38 61 00 40 */ addi r3, r1, 0x40
/* 8034BC24 00348B84 48 00 01 A9 */ bl sub_8034bdcc
/* 8034BC28 00348B88 80 E1 00 40 */ lwz r7, 0x40(r1)
/* 8034BC2C 00348B8C 38 61 00 30 */ addi r3, r1, 0x30
/* 8034BC30 00348B90 80 C1 00 44 */ lwz r6, 0x44(r1)
/* 8034BC34 00348B94 38 81 00 28 */ addi r4, r1, 0x28
/* 8034BC38 00348B98 80 A1 00 48 */ lwz r5, 0x48(r1)
/* 8034BC3C 00348B9C 80 01 00 4C */ lwz r0, 0x4c(r1)
/* 8034BC40 00348BA0 90 E1 00 50 */ stw r7, 0x50(r1)
/* 8034BC44 00348BA4 90 C1 00 54 */ stw r6, 0x54(r1)
/* 8034BC48 00348BA8 90 A1 00 58 */ stw r5, 0x58(r1)
/* 8034BC4C 00348BAC 90 01 00 5C */ stw r0, 0x5c(r1)
/* 8034BC50 00348BB0 90 A1 00 28 */ stw r5, 0x28(r1)
/* 8034BC54 00348BB4 90 01 00 2C */ stw r0, 0x2c(r1)
/* 8034BC58 00348BB8 90 E1 00 30 */ stw r7, 0x30(r1)
/* 8034BC5C 00348BBC 90 C1 00 34 */ stw r6, 0x34(r1)
/* 8034BC60 00348BC0 48 00 0F 91 */ bl sub_8034cbf0
/* 8034BC64 00348BC4 83 C1 00 54 */ lwz r30, 0x54(r1)
/* 8034BC68 00348BC8 7C 7B 1B 78 */ mr r27, r3
/* 8034BC6C 00348BCC 80 01 00 50 */ lwz r0, 0x50(r1)
/* 8034BC70 00348BD0 93 C1 00 3C */ stw r30, 0x3c(r1)
/* 8034BC74 00348BD4 83 A1 00 58 */ lwz r29, 0x58(r1)
/* 8034BC78 00348BD8 90 01 00 38 */ stw r0, 0x38(r1)
/* 8034BC7C 00348BDC 83 81 00 5C */ lwz r28, 0x5c(r1)
/* 8034BC80 00348BE0 48 00 00 44 */ b lbl_8034BCC4
lbl_8034BC84:
/* 8034BC84 00348BE4 90 81 00 08 */ stw r4, 8(r1)
/* 8034BC88 00348BE8 7F C3 F3 78 */ mr r3, r30
/* 8034BC8C 00348BEC 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8034BC90 00348BF0 93 C1 00 0C */ stw r30, 0xc(r1)
/* 8034BC94 00348BF4 4B FF 09 4D */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8034BC98 00348BF8 80 C1 00 08 */ lwz r6, 8(r1)
/* 8034BC9C 00348BFC 7F C0 F3 78 */ mr r0, r30
/* 8034BCA0 00348C00 90 61 00 38 */ stw r3, 0x38(r1)
/* 8034BCA4 00348C04 7F E4 FB 78 */ mr r4, r31
/* 8034BCA8 00348C08 38 A1 00 18 */ addi r5, r1, 0x18
/* 8034BCAC 00348C0C 38 61 00 20 */ addi r3, r1, 0x20
/* 8034BCB0 00348C10 90 C1 00 10 */ stw r6, 0x10(r1)
/* 8034BCB4 00348C14 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034BCB8 00348C18 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8034BCBC 00348C1C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8034BCC0 00348C20 48 00 00 45 */ bl sub_8034bd04
lbl_8034BCC4:
/* 8034BCC4 00348C24 80 81 00 38 */ lwz r4, 0x38(r1)
/* 8034BCC8 00348C28 38 60 00 00 */ li r3, 0
/* 8034BCCC 00348C2C 7C 04 E8 40 */ cmplw r4, r29
/* 8034BCD0 00348C30 40 82 00 10 */ bne lbl_8034BCE0
/* 8034BCD4 00348C34 80 01 00 3C */ lwz r0, 0x3c(r1)
/* 8034BCD8 00348C38 7C 00 E0 40 */ cmplw r0, r28
/* 8034BCDC 00348C3C 41 82 00 08 */ beq lbl_8034BCE4
lbl_8034BCE0:
/* 8034BCE0 00348C40 38 60 00 01 */ li r3, 1
lbl_8034BCE4:
/* 8034BCE4 00348C44 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034BCE8 00348C48 40 82 FF 9C */ bne lbl_8034BC84
/* 8034BCEC 00348C4C 7F 63 DB 78 */ mr r3, r27
/* 8034BCF0 00348C50 BB 61 00 6C */ lmw r27, 0x6c(r1)
/* 8034BCF4 00348C54 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8034BCF8 00348C58 7C 08 03 A6 */ mtlr r0
/* 8034BCFC 00348C5C 38 21 00 80 */ addi r1, r1, 0x80
/* 8034BD00 00348C60 4E 80 00 20 */ blr
.global sub_8034bd04
sub_8034bd04:
/* 8034BD04 00348C64 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034BD08 00348C68 7C 08 02 A6 */ mflr r0
/* 8034BD0C 00348C6C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034BD10 00348C70 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034BD14 00348C74 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034BD18 00348C78 7C BE 2B 78 */ mr r30, r5
/* 8034BD1C 00348C7C 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034BD20 00348C80 7C 9D 23 78 */ mr r29, r4
/* 8034BD24 00348C84 93 81 00 10 */ stw r28, 0x10(r1)
/* 8034BD28 00348C88 7C 7C 1B 78 */ mr r28, r3
/* 8034BD2C 00348C8C 83 E5 00 00 */ lwz r31, 0(r5)
/* 8034BD30 00348C90 80 65 00 04 */ lwz r3, 4(r5)
/* 8034BD34 00348C94 7F E4 FB 78 */ mr r4, r31
/* 8034BD38 00348C98 4B FF 08 A9 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8034BD3C 00348C9C 90 7E 00 00 */ stw r3, 0(r30)
/* 8034BD40 00348CA0 7F E4 FB 78 */ mr r4, r31
/* 8034BD44 00348CA4 38 7D 00 08 */ addi r3, r29, 8
/* 8034BD48 00348CA8 4B FF 09 35 */ bl rbtree_rebalance_for_erase__4rstlFPvPv
/* 8034BD4C 00348CAC 7C 7F 1B 79 */ or. r31, r3, r3
/* 8034BD50 00348CB0 41 82 00 30 */ beq lbl_8034BD80
/* 8034BD54 00348CB4 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034BD58 00348CB8 41 82 00 28 */ beq lbl_8034BD80
/* 8034BD5C 00348CBC 34 7F 00 20 */ addic. r3, r31, 0x20
/* 8034BD60 00348CC0 41 82 00 10 */ beq lbl_8034BD70
/* 8034BD64 00348CC4 28 03 00 00 */ cmplwi r3, 0
/* 8034BD68 00348CC8 41 82 00 08 */ beq lbl_8034BD70
/* 8034BD6C 00348CCC 48 00 0C 6D */ bl sub_8034c9d8
lbl_8034BD70:
/* 8034BD70 00348CD0 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034BD74 00348CD4 41 82 00 0C */ beq lbl_8034BD80
/* 8034BD78 00348CD8 38 7F 00 10 */ addi r3, r31, 0x10
/* 8034BD7C 00348CDC 4B FF 1D 65 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034BD80:
/* 8034BD80 00348CE0 28 1F 00 00 */ cmplwi r31, 0
/* 8034BD84 00348CE4 41 82 00 0C */ beq lbl_8034BD90
/* 8034BD88 00348CE8 7F E3 FB 78 */ mr r3, r31
/* 8034BD8C 00348CEC 4B FC 9B A5 */ bl Free__7CMemoryFPCv
lbl_8034BD90:
/* 8034BD90 00348CF0 80 7D 00 04 */ lwz r3, 4(r29)
/* 8034BD94 00348CF4 38 03 FF FF */ addi r0, r3, -1
/* 8034BD98 00348CF8 90 1D 00 04 */ stw r0, 4(r29)
/* 8034BD9C 00348CFC 80 1E 00 00 */ lwz r0, 0(r30)
/* 8034BDA0 00348D00 90 1C 00 00 */ stw r0, 0(r28)
/* 8034BDA4 00348D04 80 1E 00 04 */ lwz r0, 4(r30)
/* 8034BDA8 00348D08 90 1C 00 04 */ stw r0, 4(r28)
/* 8034BDAC 00348D0C 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034BDB0 00348D10 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034BDB4 00348D14 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8034BDB8 00348D18 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8034BDBC 00348D1C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034BDC0 00348D20 7C 08 03 A6 */ mtlr r0
/* 8034BDC4 00348D24 38 21 00 20 */ addi r1, r1, 0x20
/* 8034BDC8 00348D28 4E 80 00 20 */ blr
.global sub_8034bdcc
sub_8034bdcc:
/* 8034BDCC 00348D2C 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8034BDD0 00348D30 7C 08 02 A6 */ mflr r0
/* 8034BDD4 00348D34 90 01 00 34 */ stw r0, 0x34(r1)
/* 8034BDD8 00348D38 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8034BDDC 00348D3C 7C BF 2B 78 */ mr r31, r5
/* 8034BDE0 00348D40 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8034BDE4 00348D44 7C 9E 23 78 */ mr r30, r4
/* 8034BDE8 00348D48 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8034BDEC 00348D4C 7C 7D 1B 78 */ mr r29, r3
/* 8034BDF0 00348D50 38 61 00 08 */ addi r3, r1, 8
/* 8034BDF4 00348D54 48 00 01 21 */ bl sub_8034bf14
/* 8034BDF8 00348D58 7F C4 F3 78 */ mr r4, r30
/* 8034BDFC 00348D5C 7F E5 FB 78 */ mr r5, r31
/* 8034BE00 00348D60 38 61 00 10 */ addi r3, r1, 0x10
/* 8034BE04 00348D64 48 00 00 41 */ bl sub_8034be44
/* 8034BE08 00348D68 80 01 00 10 */ lwz r0, 0x10(r1)
/* 8034BE0C 00348D6C 90 1D 00 00 */ stw r0, 0(r29)
/* 8034BE10 00348D70 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034BE14 00348D74 90 1D 00 04 */ stw r0, 4(r29)
/* 8034BE18 00348D78 80 01 00 08 */ lwz r0, 8(r1)
/* 8034BE1C 00348D7C 90 1D 00 08 */ stw r0, 8(r29)
/* 8034BE20 00348D80 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8034BE24 00348D84 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8034BE28 00348D88 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8034BE2C 00348D8C 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8034BE30 00348D90 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8034BE34 00348D94 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8034BE38 00348D98 7C 08 03 A6 */ mtlr r0
/* 8034BE3C 00348D9C 38 21 00 30 */ addi r1, r1, 0x30
/* 8034BE40 00348DA0 4E 80 00 20 */ blr
.global sub_8034be44
sub_8034be44:
/* 8034BE44 00348DA4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034BE48 00348DA8 7C 08 02 A6 */ mflr r0
/* 8034BE4C 00348DAC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034BE50 00348DB0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034BE54 00348DB4 7C 9F 23 78 */ mr r31, r4
/* 8034BE58 00348DB8 7C A4 2B 78 */ mr r4, r5
/* 8034BE5C 00348DBC 93 C1 00 08 */ stw r30, 8(r1)
/* 8034BE60 00348DC0 7C 7E 1B 78 */ mr r30, r3
/* 8034BE64 00348DC4 7F E3 FB 78 */ mr r3, r31
/* 8034BE68 00348DC8 48 00 00 29 */ bl sub_8034be90
/* 8034BE6C 00348DCC 90 7E 00 00 */ stw r3, 0(r30)
/* 8034BE70 00348DD0 38 1F 00 08 */ addi r0, r31, 8
/* 8034BE74 00348DD4 90 1E 00 04 */ stw r0, 4(r30)
/* 8034BE78 00348DD8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034BE7C 00348DDC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034BE80 00348DE0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034BE84 00348DE4 7C 08 03 A6 */ mtlr r0
/* 8034BE88 00348DE8 38 21 00 10 */ addi r1, r1, 0x10
/* 8034BE8C 00348DEC 4E 80 00 20 */ blr
.global sub_8034be90
sub_8034be90:
/* 8034BE90 00348DF0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034BE94 00348DF4 7C 08 02 A6 */ mflr r0
/* 8034BE98 00348DF8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034BE9C 00348DFC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034BEA0 00348E00 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034BEA4 00348E04 3B C0 00 00 */ li r30, 0
/* 8034BEA8 00348E08 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034BEAC 00348E0C 7C 9D 23 78 */ mr r29, r4
/* 8034BEB0 00348E10 93 81 00 10 */ stw r28, 0x10(r1)
/* 8034BEB4 00348E14 7C 7C 1B 78 */ mr r28, r3
/* 8034BEB8 00348E18 83 E3 00 10 */ lwz r31, 0x10(r3)
/* 8034BEBC 00348E1C 48 00 00 2C */ b lbl_8034BEE8
lbl_8034BEC0:
/* 8034BEC0 00348E20 7F A5 EB 78 */ mr r5, r29
/* 8034BEC4 00348E24 38 7C 00 01 */ addi r3, r28, 1
/* 8034BEC8 00348E28 38 9F 00 10 */ addi r4, r31, 0x10
/* 8034BECC 00348E2C 4B CD E8 5D */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034BED0 00348E30 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034BED4 00348E34 40 82 00 10 */ bne lbl_8034BEE4
/* 8034BED8 00348E38 7F FE FB 78 */ mr r30, r31
/* 8034BEDC 00348E3C 83 FF 00 00 */ lwz r31, 0(r31)
/* 8034BEE0 00348E40 48 00 00 08 */ b lbl_8034BEE8
lbl_8034BEE4:
/* 8034BEE4 00348E44 83 FF 00 04 */ lwz r31, 4(r31)
lbl_8034BEE8:
/* 8034BEE8 00348E48 28 1F 00 00 */ cmplwi r31, 0
/* 8034BEEC 00348E4C 40 82 FF D4 */ bne lbl_8034BEC0
/* 8034BEF0 00348E50 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034BEF4 00348E54 7F C3 F3 78 */ mr r3, r30
/* 8034BEF8 00348E58 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034BEFC 00348E5C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034BF00 00348E60 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8034BF04 00348E64 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8034BF08 00348E68 7C 08 03 A6 */ mtlr r0
/* 8034BF0C 00348E6C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034BF10 00348E70 4E 80 00 20 */ blr
.global sub_8034bf14
sub_8034bf14:
/* 8034BF14 00348E74 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034BF18 00348E78 7C 08 02 A6 */ mflr r0
/* 8034BF1C 00348E7C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034BF20 00348E80 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034BF24 00348E84 7C 9F 23 78 */ mr r31, r4
/* 8034BF28 00348E88 7C A4 2B 78 */ mr r4, r5
/* 8034BF2C 00348E8C 93 C1 00 08 */ stw r30, 8(r1)
/* 8034BF30 00348E90 7C 7E 1B 78 */ mr r30, r3
/* 8034BF34 00348E94 7F E3 FB 78 */ mr r3, r31
/* 8034BF38 00348E98 48 00 00 29 */ bl sub_8034bf60
/* 8034BF3C 00348E9C 90 7E 00 00 */ stw r3, 0(r30)
/* 8034BF40 00348EA0 38 1F 00 08 */ addi r0, r31, 8
/* 8034BF44 00348EA4 90 1E 00 04 */ stw r0, 4(r30)
/* 8034BF48 00348EA8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034BF4C 00348EAC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034BF50 00348EB0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034BF54 00348EB4 7C 08 03 A6 */ mtlr r0
/* 8034BF58 00348EB8 38 21 00 10 */ addi r1, r1, 0x10
/* 8034BF5C 00348EBC 4E 80 00 20 */ blr
.global sub_8034bf60
sub_8034bf60:
/* 8034BF60 00348EC0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034BF64 00348EC4 7C 08 02 A6 */ mflr r0
/* 8034BF68 00348EC8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034BF6C 00348ECC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034BF70 00348ED0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034BF74 00348ED4 3B C0 00 00 */ li r30, 0
/* 8034BF78 00348ED8 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034BF7C 00348EDC 7C 9D 23 78 */ mr r29, r4
/* 8034BF80 00348EE0 93 81 00 10 */ stw r28, 0x10(r1)
/* 8034BF84 00348EE4 7C 7C 1B 78 */ mr r28, r3
/* 8034BF88 00348EE8 83 E3 00 10 */ lwz r31, 0x10(r3)
/* 8034BF8C 00348EEC 48 00 00 2C */ b lbl_8034BFB8
lbl_8034BF90:
/* 8034BF90 00348EF0 7F A4 EB 78 */ mr r4, r29
/* 8034BF94 00348EF4 38 7C 00 01 */ addi r3, r28, 1
/* 8034BF98 00348EF8 38 BF 00 10 */ addi r5, r31, 0x10
/* 8034BF9C 00348EFC 4B CD E7 8D */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034BFA0 00348F00 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034BFA4 00348F04 41 82 00 10 */ beq lbl_8034BFB4
/* 8034BFA8 00348F08 7F FE FB 78 */ mr r30, r31
/* 8034BFAC 00348F0C 83 FF 00 00 */ lwz r31, 0(r31)
/* 8034BFB0 00348F10 48 00 00 08 */ b lbl_8034BFB8
lbl_8034BFB4:
/* 8034BFB4 00348F14 83 FF 00 04 */ lwz r31, 4(r31)
lbl_8034BFB8:
/* 8034BFB8 00348F18 28 1F 00 00 */ cmplwi r31, 0
/* 8034BFBC 00348F1C 40 82 FF D4 */ bne lbl_8034BF90
/* 8034BFC0 00348F20 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034BFC4 00348F24 7F C3 F3 78 */ mr r3, r30
/* 8034BFC8 00348F28 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034BFCC 00348F2C 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034BFD0 00348F30 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8034BFD4 00348F34 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8034BFD8 00348F38 7C 08 03 A6 */ mtlr r0
/* 8034BFDC 00348F3C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034BFE0 00348F40 4E 80 00 20 */ blr
.global "SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"SysUnloadSampleData__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8034BFE4 00348F44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034BFE8 00348F48 7C 08 02 A6 */ mflr r0
/* 8034BFEC 00348F4C 7C 64 1B 78 */ mr r4, r3
/* 8034BFF0 00348F50 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034BFF4 00348F54 38 61 00 08 */ addi r3, r1, 8
/* 8034BFF8 00348F58 4B FF F6 75 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034BFFC 00348F5C 80 A1 00 08 */ lwz r5, 8(r1)
/* 8034C000 00348F60 38 61 00 08 */ addi r3, r1, 8
/* 8034C004 00348F64 90 A1 00 0C */ stw r5, 0xc(r1)
/* 8034C008 00348F68 80 85 00 04 */ lwz r4, 4(r5)
/* 8034C00C 00348F6C 38 04 00 01 */ addi r0, r4, 1
/* 8034C010 00348F70 90 05 00 04 */ stw r0, 4(r5)
/* 8034C014 00348F74 48 00 09 C5 */ bl sub_8034c9d8
/* 8034C018 00348F78 80 61 00 0C */ lwz r3, 0xc(r1)
/* 8034C01C 00348F7C 80 63 00 00 */ lwz r3, 0(r3)
/* 8034C020 00348F80 28 03 00 00 */ cmplwi r3, 0
/* 8034C024 00348F84 41 82 00 18 */ beq lbl_8034C03C
/* 8034C028 00348F88 4B FF E6 2D */ bl FreeSampleBuffer__14CAudioGroupSetFv
/* 8034C02C 00348F8C 38 61 00 0C */ addi r3, r1, 0xc
/* 8034C030 00348F90 48 00 09 A9 */ bl sub_8034c9d8
/* 8034C034 00348F94 38 60 00 01 */ li r3, 1
/* 8034C038 00348F98 48 00 00 10 */ b lbl_8034C048
lbl_8034C03C:
/* 8034C03C 00348F9C 38 61 00 0C */ addi r3, r1, 0xc
/* 8034C040 00348FA0 48 00 09 99 */ bl sub_8034c9d8
/* 8034C044 00348FA4 38 60 00 00 */ li r3, 0
lbl_8034C048:
/* 8034C048 00348FA8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034C04C 00348FAC 7C 08 03 A6 */ mtlr r0
/* 8034C050 00348FB0 38 21 00 10 */ addi r1, r1, 0x10
/* 8034C054 00348FB4 4E 80 00 20 */ blr
.global "SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
"SysIsGroupSetLoaded__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>":
/* 8034C058 00348FB8 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034C05C 00348FBC 7C 08 02 A6 */ mflr r0
/* 8034C060 00348FC0 7C 64 1B 78 */ mr r4, r3
/* 8034C064 00348FC4 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034C068 00348FC8 38 61 00 08 */ addi r3, r1, 8
/* 8034C06C 00348FCC 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034C070 00348FD0 4B FF F5 FD */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C074 00348FD4 80 81 00 08 */ lwz r4, 8(r1)
/* 8034C078 00348FD8 38 61 00 08 */ addi r3, r1, 8
/* 8034C07C 00348FDC 80 84 00 00 */ lwz r4, 0(r4)
/* 8034C080 00348FE0 7C 04 00 D0 */ neg r0, r4
/* 8034C084 00348FE4 7C 00 23 78 */ or r0, r0, r4
/* 8034C088 00348FE8 54 1F 0F FE */ srwi r31, r0, 0x1f
/* 8034C08C 00348FEC 48 00 09 4D */ bl sub_8034c9d8
/* 8034C090 00348FF0 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034C094 00348FF4 7F E3 FB 78 */ mr r3, r31
/* 8034C098 00348FF8 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034C09C 00348FFC 7C 08 03 A6 */ mtlr r0
/* 8034C0A0 00349000 38 21 00 20 */ addi r1, r1, 0x20
/* 8034C0A4 00349004 4E 80 00 20 */ blr
.global "SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi"
"SysLoadGroupSet__9CAudioSysF30TLockedToken<14CAudioGroupSet>Q24rstl6stringUi":
/* 8034C0A8 00349008 94 21 FF 90 */ stwu r1, -0x70(r1)
/* 8034C0AC 0034900C 7C 08 02 A6 */ mflr r0
/* 8034C0B0 00349010 90 01 00 74 */ stw r0, 0x74(r1)
/* 8034C0B4 00349014 93 E1 00 6C */ stw r31, 0x6c(r1)
/* 8034C0B8 00349018 7C BF 2B 78 */ mr r31, r5
/* 8034C0BC 0034901C 93 C1 00 68 */ stw r30, 0x68(r1)
/* 8034C0C0 00349020 93 A1 00 64 */ stw r29, 0x64(r1)
/* 8034C0C4 00349024 7C 7D 1B 78 */ mr r29, r3
/* 8034C0C8 00349028 38 61 00 08 */ addi r3, r1, 8
/* 8034C0CC 0034902C 93 81 00 60 */ stw r28, 0x60(r1)
/* 8034C0D0 00349030 4B FF F5 9D */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C0D4 00349034 80 A1 00 08 */ lwz r5, 8(r1)
/* 8034C0D8 00349038 38 61 00 08 */ addi r3, r1, 8
/* 8034C0DC 0034903C 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8034C0E0 00349040 80 85 00 04 */ lwz r4, 4(r5)
/* 8034C0E4 00349044 38 04 00 01 */ addi r0, r4, 1
/* 8034C0E8 00349048 90 05 00 04 */ stw r0, 4(r5)
/* 8034C0EC 0034904C 48 00 08 ED */ bl sub_8034c9d8
/* 8034C0F0 00349050 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8034C0F4 00349054 80 63 00 00 */ lwz r3, 0(r3)
/* 8034C0F8 00349058 28 03 00 00 */ cmplwi r3, 0
/* 8034C0FC 0034905C 40 82 01 84 */ bne lbl_8034C280
/* 8034C100 00349060 3C 60 80 3E */ lis r3, lbl_803D8210@ha
/* 8034C104 00349064 3B 80 00 00 */ li r28, 0
/* 8034C108 00349068 38 83 82 10 */ addi r4, r3, lbl_803D8210@l
/* 8034C10C 0034906C 38 A0 00 00 */ li r5, 0
/* 8034C110 00349070 38 60 00 30 */ li r3, 0x30
/* 8034C114 00349074 4B FC 97 59 */ bl __nw__FUlPCcPCc
/* 8034C118 00349078 7C 7E 1B 79 */ or. r30, r3, r3
/* 8034C11C 0034907C 41 82 00 38 */ beq lbl_8034C154
/* 8034C120 00349080 3B 81 00 2C */ addi r28, r1, 0x2c
/* 8034C124 00349084 7F A4 EB 78 */ mr r4, r29
/* 8034C128 00349088 7F 83 E3 78 */ mr r3, r28
/* 8034C12C 0034908C 4B FF 4D 7D */ bl __ct__6CTokenFRC6CToken
/* 8034C130 00349090 7F 83 E3 78 */ mr r3, r28
/* 8034C134 00349094 4B FF 4C D9 */ bl GetObj__6CTokenFv
/* 8034C138 00349098 80 03 00 04 */ lwz r0, 4(r3)
/* 8034C13C 0034909C 7F 84 E3 78 */ mr r4, r28
/* 8034C140 003490A0 7F C3 F3 78 */ mr r3, r30
/* 8034C144 003490A4 3B 80 00 01 */ li r28, 1
/* 8034C148 003490A8 90 01 00 34 */ stw r0, 0x34(r1)
/* 8034C14C 003490AC 4B FF E5 D1 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>"
/* 8034C150 003490B0 7C 7E 1B 78 */ mr r30, r3
lbl_8034C154:
/* 8034C154 003490B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C158 003490B8 38 60 00 08 */ li r3, 8
/* 8034C15C 003490BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C160 003490C0 38 A0 00 00 */ li r5, 0
/* 8034C164 003490C4 4B FC 97 09 */ bl __nw__FUlPCcPCc
/* 8034C168 003490C8 28 03 00 00 */ cmplwi r3, 0
/* 8034C16C 003490CC 41 82 00 10 */ beq lbl_8034C17C
/* 8034C170 003490D0 93 C3 00 00 */ stw r30, 0(r3)
/* 8034C174 003490D4 38 00 00 01 */ li r0, 1
/* 8034C178 003490D8 90 03 00 04 */ stw r0, 4(r3)
lbl_8034C17C:
/* 8034C17C 003490DC 7F 80 07 75 */ extsb. r0, r28
/* 8034C180 003490E0 90 61 00 0C */ stw r3, 0xc(r1)
/* 8034C184 003490E4 41 82 00 10 */ beq lbl_8034C194
/* 8034C188 003490E8 38 61 00 2C */ addi r3, r1, 0x2c
/* 8034C18C 003490EC 38 80 00 00 */ li r4, 0
/* 8034C190 003490F0 4B FF 4C B1 */ bl __dt__6CTokenFv
lbl_8034C194:
/* 8034C194 003490F4 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8034C198 003490F8 80 8D A9 F4 */ lwz r4, lbl_805A95B4@sda21(r13)
/* 8034C19C 003490FC 80 65 00 00 */ lwz r3, 0(r5)
/* 8034C1A0 00349100 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13)
/* 8034C1A4 00349104 80 63 00 28 */ lwz r3, 0x28(r3)
/* 8034C1A8 00349108 80 63 00 30 */ lwz r3, 0x30(r3)
/* 8034C1AC 0034910C 7C 64 1A 14 */ add r3, r4, r3
/* 8034C1B0 00349110 7C 03 00 00 */ cmpw r3, r0
/* 8034C1B4 00349114 40 81 00 1C */ ble lbl_8034C1D0
/* 8034C1B8 00349118 38 61 00 0C */ addi r3, r1, 0xc
/* 8034C1BC 0034911C 48 00 08 1D */ bl sub_8034c9d8
/* 8034C1C0 00349120 38 61 00 10 */ addi r3, r1, 0x10
/* 8034C1C4 00349124 48 00 08 15 */ bl sub_8034c9d8
/* 8034C1C8 00349128 38 60 00 01 */ li r3, 1
/* 8034C1CC 0034912C 48 00 00 C4 */ b lbl_8034C290
lbl_8034C1D0:
/* 8034C1D0 00349130 90 6D A9 F4 */ stw r3, lbl_805A95B4@sda21(r13)
/* 8034C1D4 00349134 38 61 00 4C */ addi r3, r1, 0x4c
/* 8034C1D8 00349138 80 85 00 00 */ lwz r4, 0(r5)
/* 8034C1DC 0034913C 3B C4 00 10 */ addi r30, r4, 0x10
/* 8034C1E0 00349140 7F C4 F3 78 */ mr r4, r30
/* 8034C1E4 00349144 4B FF 1F 7D */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C1E8 00349148 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8034C1EC 0034914C 3B A1 00 5C */ addi r29, r1, 0x5c
/* 8034C1F0 00349150 38 61 00 20 */ addi r3, r1, 0x20
/* 8034C1F4 00349154 38 C1 00 4C */ addi r6, r1, 0x4c
/* 8034C1F8 00349158 90 A1 00 5C */ stw r5, 0x5c(r1)
/* 8034C1FC 0034915C 80 85 00 04 */ lwz r4, 4(r5)
/* 8034C200 00349160 38 04 00 01 */ addi r0, r4, 1
/* 8034C204 00349164 90 05 00 04 */ stw r0, 4(r5)
/* 8034C208 00349168 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13)
/* 8034C20C 0034916C 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 8034C210 00349170 48 00 0A BD */ bl "insert_into__Q24rstl488red_black_tree<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st<Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator"
/* 8034C214 00349174 28 1D 00 00 */ cmplwi r29, 0
/* 8034C218 00349178 41 82 00 10 */ beq lbl_8034C228
/* 8034C21C 0034917C 41 82 00 0C */ beq lbl_8034C228
/* 8034C220 00349180 7F A3 EB 78 */ mr r3, r29
/* 8034C224 00349184 48 00 07 B5 */ bl sub_8034c9d8
lbl_8034C228:
/* 8034C228 00349188 38 61 00 4C */ addi r3, r1, 0x4c
/* 8034C22C 0034918C 4B FF 18 B5 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8034C230 00349190 3B A1 00 3C */ addi r29, r1, 0x3c
/* 8034C234 00349194 93 E1 00 38 */ stw r31, 0x38(r1)
/* 8034C238 00349198 7F A3 EB 78 */ mr r3, r29
/* 8034C23C 0034919C 7F C4 F3 78 */ mr r4, r30
/* 8034C240 003491A0 4B FF 1F 21 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C244 003491A4 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13)
/* 8034C248 003491A8 38 61 00 14 */ addi r3, r1, 0x14
/* 8034C24C 003491AC 38 C1 00 38 */ addi r6, r1, 0x38
/* 8034C250 003491B0 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 8034C254 003491B4 48 00 0C F9 */ bl "insert_into__Q24rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>>,Q24rstl8less<Ui>,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24"
/* 8034C258 003491B8 28 1D 00 00 */ cmplwi r29, 0
/* 8034C25C 003491BC 41 82 00 0C */ beq lbl_8034C268
/* 8034C260 003491C0 7F A3 EB 78 */ mr r3, r29
/* 8034C264 003491C4 4B FF 18 7D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034C268:
/* 8034C268 003491C8 38 61 00 0C */ addi r3, r1, 0xc
/* 8034C26C 003491CC 48 00 07 6D */ bl sub_8034c9d8
/* 8034C270 003491D0 38 61 00 10 */ addi r3, r1, 0x10
/* 8034C274 003491D4 48 00 07 65 */ bl sub_8034c9d8
/* 8034C278 003491D8 38 60 00 00 */ li r3, 0
/* 8034C27C 003491DC 48 00 00 14 */ b lbl_8034C290
lbl_8034C280:
/* 8034C280 003491E0 4B FF E3 F9 */ bl Reload__14CAudioGroupSetFv
/* 8034C284 003491E4 38 61 00 10 */ addi r3, r1, 0x10
/* 8034C288 003491E8 48 00 07 51 */ bl sub_8034c9d8
/* 8034C28C 003491EC 38 60 00 01 */ li r3, 1
lbl_8034C290:
/* 8034C290 003491F0 80 01 00 74 */ lwz r0, 0x74(r1)
/* 8034C294 003491F4 83 E1 00 6C */ lwz r31, 0x6c(r1)
/* 8034C298 003491F8 83 C1 00 68 */ lwz r30, 0x68(r1)
/* 8034C29C 003491FC 83 A1 00 64 */ lwz r29, 0x64(r1)
/* 8034C2A0 00349200 83 81 00 60 */ lwz r28, 0x60(r1)
/* 8034C2A4 00349204 7C 08 03 A6 */ mtlr r0
/* 8034C2A8 00349208 38 21 00 70 */ addi r1, r1, 0x70
/* 8034C2AC 0034920C 4E 80 00 20 */ blr
.global SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi
SysLoadGroupSet__9CAudioSysFP11CSimplePoolUi:
/* 8034C2B0 00349210 94 21 FF 80 */ stwu r1, -0x80(r1)
/* 8034C2B4 00349214 7C 08 02 A6 */ mflr r0
/* 8034C2B8 00349218 90 01 00 84 */ stw r0, 0x84(r1)
/* 8034C2BC 0034921C 93 E1 00 7C */ stw r31, 0x7c(r1)
/* 8034C2C0 00349220 7C 9F 23 78 */ mr r31, r4
/* 8034C2C4 00349224 93 C1 00 78 */ stw r30, 0x78(r1)
/* 8034C2C8 00349228 93 A1 00 74 */ stw r29, 0x74(r1)
/* 8034C2CC 0034922C 7C 7D 1B 78 */ mr r29, r3
/* 8034C2D0 00349230 7F E3 FB 78 */ mr r3, r31
/* 8034C2D4 00349234 4B FF F5 71 */ bl SysGetGroupSetName__9CAudioSysFUi
/* 8034C2D8 00349238 7C 60 1B 78 */ mr r0, r3
/* 8034C2DC 0034923C 38 61 00 08 */ addi r3, r1, 8
/* 8034C2E0 00349240 7C 04 03 78 */ mr r4, r0
/* 8034C2E4 00349244 4B FF F3 89 */ bl "FindGroupSet__9CAudioSysFRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C2E8 00349248 80 A1 00 08 */ lwz r5, 8(r1)
/* 8034C2EC 0034924C 38 61 00 08 */ addi r3, r1, 8
/* 8034C2F0 00349250 90 A1 00 10 */ stw r5, 0x10(r1)
/* 8034C2F4 00349254 80 85 00 04 */ lwz r4, 4(r5)
/* 8034C2F8 00349258 38 04 00 01 */ addi r0, r4, 1
/* 8034C2FC 0034925C 90 05 00 04 */ stw r0, 4(r5)
/* 8034C300 00349260 48 00 06 D9 */ bl sub_8034c9d8
/* 8034C304 00349264 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8034C308 00349268 80 63 00 00 */ lwz r3, 0(r3)
/* 8034C30C 0034926C 28 03 00 00 */ cmplwi r3, 0
/* 8034C310 00349270 40 82 01 B0 */ bne lbl_8034C4C0
/* 8034C314 00349274 3C 60 41 47 */ lis r3, 0x41475343@ha
/* 8034C318 00349278 93 E1 00 20 */ stw r31, 0x20(r1)
/* 8034C31C 0034927C 38 03 53 43 */ addi r0, r3, 0x41475343@l
/* 8034C320 00349280 7F A4 EB 78 */ mr r4, r29
/* 8034C324 00349284 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8034C328 00349288 38 61 00 14 */ addi r3, r1, 0x14
/* 8034C32C 0034928C 38 A1 00 1C */ addi r5, r1, 0x1c
/* 8034C330 00349290 81 9D 00 00 */ lwz r12, 0(r29)
/* 8034C334 00349294 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8034C338 00349298 7D 89 03 A6 */ mtctr r12
/* 8034C33C 0034929C 4E 80 04 21 */ bctrl
/* 8034C340 003492A0 3B A1 00 3C */ addi r29, r1, 0x3c
/* 8034C344 003492A4 38 81 00 14 */ addi r4, r1, 0x14
/* 8034C348 003492A8 7F A3 EB 78 */ mr r3, r29
/* 8034C34C 003492AC 4B FF 4B 5D */ bl __ct__6CTokenFRC6CToken
/* 8034C350 003492B0 7F A3 EB 78 */ mr r3, r29
/* 8034C354 003492B4 4B FF 4A B9 */ bl GetObj__6CTokenFv
/* 8034C358 003492B8 80 03 00 04 */ lwz r0, 4(r3)
/* 8034C35C 003492BC 38 61 00 14 */ addi r3, r1, 0x14
/* 8034C360 003492C0 38 80 FF FF */ li r4, -1
/* 8034C364 003492C4 90 01 00 44 */ stw r0, 0x44(r1)
/* 8034C368 003492C8 4B FF 4A D9 */ bl __dt__6CTokenFv
/* 8034C36C 003492CC 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C370 003492D0 38 60 00 30 */ li r3, 0x30
/* 8034C374 003492D4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C378 003492D8 38 A0 00 00 */ li r5, 0
/* 8034C37C 003492DC 4B FC 94 F1 */ bl __nw__FUlPCcPCc
/* 8034C380 003492E0 7C 7E 1B 79 */ or. r30, r3, r3
/* 8034C384 003492E4 41 82 00 10 */ beq lbl_8034C394
/* 8034C388 003492E8 7F A4 EB 78 */ mr r4, r29
/* 8034C38C 003492EC 4B FF E3 91 */ bl "__ct__14CAudioGroupSetFRC31TLockedToken<15CAudioGrpSetLoc>"
/* 8034C390 003492F0 7C 7E 1B 78 */ mr r30, r3
lbl_8034C394:
/* 8034C394 003492F4 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C398 003492F8 38 60 00 08 */ li r3, 8
/* 8034C39C 003492FC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C3A0 00349300 38 A0 00 00 */ li r5, 0
/* 8034C3A4 00349304 4B FC 94 C9 */ bl __nw__FUlPCcPCc
/* 8034C3A8 00349308 28 03 00 00 */ cmplwi r3, 0
/* 8034C3AC 0034930C 41 82 00 10 */ beq lbl_8034C3BC
/* 8034C3B0 00349310 93 C3 00 00 */ stw r30, 0(r3)
/* 8034C3B4 00349314 38 00 00 01 */ li r0, 1
/* 8034C3B8 00349318 90 03 00 04 */ stw r0, 4(r3)
lbl_8034C3BC:
/* 8034C3BC 0034931C 90 61 00 0C */ stw r3, 0xc(r1)
/* 8034C3C0 00349320 80 AD A9 F4 */ lwz r5, lbl_805A95B4@sda21(r13)
/* 8034C3C4 00349324 80 83 00 00 */ lwz r4, 0(r3)
/* 8034C3C8 00349328 80 0D A9 F0 */ lwz r0, lbl_805A95B0@sda21(r13)
/* 8034C3CC 0034932C 80 84 00 28 */ lwz r4, 0x28(r4)
/* 8034C3D0 00349330 80 84 00 30 */ lwz r4, 0x30(r4)
/* 8034C3D4 00349334 7C 85 22 14 */ add r4, r5, r4
/* 8034C3D8 00349338 7C 04 00 00 */ cmpw r4, r0
/* 8034C3DC 0034933C 40 81 00 28 */ ble lbl_8034C404
/* 8034C3E0 00349340 38 61 00 0C */ addi r3, r1, 0xc
/* 8034C3E4 00349344 48 00 05 F5 */ bl sub_8034c9d8
/* 8034C3E8 00349348 38 61 00 3C */ addi r3, r1, 0x3c
/* 8034C3EC 0034934C 38 80 00 00 */ li r4, 0
/* 8034C3F0 00349350 4B FF 4A 51 */ bl __dt__6CTokenFv
/* 8034C3F4 00349354 38 61 00 10 */ addi r3, r1, 0x10
/* 8034C3F8 00349358 48 00 05 E1 */ bl sub_8034c9d8
/* 8034C3FC 0034935C 38 60 00 01 */ li r3, 1
/* 8034C400 00349360 48 00 00 D0 */ b lbl_8034C4D0
lbl_8034C404:
/* 8034C404 00349364 90 8D A9 F4 */ stw r4, lbl_805A95B4@sda21(r13)
/* 8034C408 00349368 80 83 00 00 */ lwz r4, 0(r3)
/* 8034C40C 0034936C 38 61 00 5C */ addi r3, r1, 0x5c
/* 8034C410 00349370 3B C4 00 10 */ addi r30, r4, 0x10
/* 8034C414 00349374 7F C4 F3 78 */ mr r4, r30
/* 8034C418 00349378 4B FF 1D 49 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C41C 0034937C 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8034C420 00349380 3B A1 00 6C */ addi r29, r1, 0x6c
/* 8034C424 00349384 38 61 00 30 */ addi r3, r1, 0x30
/* 8034C428 00349388 38 C1 00 5C */ addi r6, r1, 0x5c
/* 8034C42C 0034938C 90 A1 00 6C */ stw r5, 0x6c(r1)
/* 8034C430 00349390 80 85 00 04 */ lwz r4, 4(r5)
/* 8034C434 00349394 38 04 00 01 */ addi r0, r4, 1
/* 8034C438 00349398 90 05 00 04 */ stw r0, 4(r5)
/* 8034C43C 0034939C 80 8D A9 D4 */ lwz r4, lbl_805A9594@sda21(r13)
/* 8034C440 003493A0 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 8034C444 003493A4 48 00 08 89 */ bl "insert_into__Q24rstl488red_black_tree<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st<Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator"
/* 8034C448 003493A8 28 1D 00 00 */ cmplwi r29, 0
/* 8034C44C 003493AC 41 82 00 10 */ beq lbl_8034C45C
/* 8034C450 003493B0 41 82 00 0C */ beq lbl_8034C45C
/* 8034C454 003493B4 7F A3 EB 78 */ mr r3, r29
/* 8034C458 003493B8 48 00 05 81 */ bl sub_8034c9d8
lbl_8034C45C:
/* 8034C45C 003493BC 38 61 00 5C */ addi r3, r1, 0x5c
/* 8034C460 003493C0 4B FF 16 81 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8034C464 003493C4 3B A1 00 4C */ addi r29, r1, 0x4c
/* 8034C468 003493C8 93 E1 00 48 */ stw r31, 0x48(r1)
/* 8034C46C 003493CC 7F A3 EB 78 */ mr r3, r29
/* 8034C470 003493D0 7F C4 F3 78 */ mr r4, r30
/* 8034C474 003493D4 4B FF 1C ED */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034C478 003493D8 80 8D A9 D8 */ lwz r4, lbl_805A9598@sda21(r13)
/* 8034C47C 003493DC 38 61 00 24 */ addi r3, r1, 0x24
/* 8034C480 003493E0 38 C1 00 48 */ addi r6, r1, 0x48
/* 8034C484 003493E4 80 A4 00 10 */ lwz r5, 0x10(r4)
/* 8034C488 003493E8 48 00 0A C5 */ bl "insert_into__Q24rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>>,Q24rstl8less<Ui>,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24"
/* 8034C48C 003493EC 28 1D 00 00 */ cmplwi r29, 0
/* 8034C490 003493F0 41 82 00 0C */ beq lbl_8034C49C
/* 8034C494 003493F4 7F A3 EB 78 */ mr r3, r29
/* 8034C498 003493F8 4B FF 16 49 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034C49C:
/* 8034C49C 003493FC 38 61 00 0C */ addi r3, r1, 0xc
/* 8034C4A0 00349400 48 00 05 39 */ bl sub_8034c9d8
/* 8034C4A4 00349404 38 61 00 3C */ addi r3, r1, 0x3c
/* 8034C4A8 00349408 38 80 00 00 */ li r4, 0
/* 8034C4AC 0034940C 4B FF 49 95 */ bl __dt__6CTokenFv
/* 8034C4B0 00349410 38 61 00 10 */ addi r3, r1, 0x10
/* 8034C4B4 00349414 48 00 05 25 */ bl sub_8034c9d8
/* 8034C4B8 00349418 38 60 00 00 */ li r3, 0
/* 8034C4BC 0034941C 48 00 00 14 */ b lbl_8034C4D0
lbl_8034C4C0:
/* 8034C4C0 00349420 4B FF E1 B9 */ bl Reload__14CAudioGroupSetFv
/* 8034C4C4 00349424 38 61 00 10 */ addi r3, r1, 0x10
/* 8034C4C8 00349428 48 00 05 11 */ bl sub_8034c9d8
/* 8034C4CC 0034942C 38 60 00 01 */ li r3, 1
lbl_8034C4D0:
/* 8034C4D0 00349430 80 01 00 84 */ lwz r0, 0x84(r1)
/* 8034C4D4 00349434 83 E1 00 7C */ lwz r31, 0x7c(r1)
/* 8034C4D8 00349438 83 C1 00 78 */ lwz r30, 0x78(r1)
/* 8034C4DC 0034943C 83 A1 00 74 */ lwz r29, 0x74(r1)
/* 8034C4E0 00349440 7C 08 03 A6 */ mtlr r0
/* 8034C4E4 00349444 38 21 00 80 */ addi r1, r1, 0x80
/* 8034C4E8 00349448 4E 80 00 20 */ blr
.global SysSetSfxVolume__9CAudioSysFUcUsUcUc
SysSetSfxVolume__9CAudioSysFUcUsUcUc:
/* 8034C4EC 0034944C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034C4F0 00349450 7C 08 02 A6 */ mflr r0
/* 8034C4F4 00349454 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 8034C4F8 00349458 54 84 04 3E */ clrlwi r4, r4, 0x10
/* 8034C4FC 0034945C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034C500 00349460 54 A5 06 3E */ clrlwi r5, r5, 0x18
/* 8034C504 00349464 54 C6 06 3E */ clrlwi r6, r6, 0x18
/* 8034C508 00349468 48 04 FE AD */ bl sndMasterVolume
/* 8034C50C 0034946C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034C510 00349470 7C 08 03 A6 */ mtlr r0
/* 8034C514 00349474 38 21 00 10 */ addi r1, r1, 0x10
/* 8034C518 00349478 4E 80 00 20 */ blr
.global SysSetVolume__9CAudioSysFUcUsUc
SysSetVolume__9CAudioSysFUcUsUc:
/* 8034C51C 0034947C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034C520 00349480 7C 08 02 A6 */ mflr r0
/* 8034C524 00349484 54 63 06 3E */ clrlwi r3, r3, 0x18
/* 8034C528 00349488 54 84 04 3E */ clrlwi r4, r4, 0x10
/* 8034C52C 0034948C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034C530 00349490 54 A5 06 3E */ clrlwi r5, r5, 0x18
/* 8034C534 00349494 48 04 FE 21 */ bl sndVolume
/* 8034C538 00349498 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034C53C 0034949C 7C 08 03 A6 */ mtlr r0
/* 8034C540 003494A0 38 21 00 10 */ addi r1, r1, 0x10
/* 8034C544 003494A4 4E 80 00 20 */ blr
.global __dt__9CAudioSysFv
__dt__9CAudioSysFv:
/* 8034C548 003494A8 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8034C54C 003494AC 7C 08 02 A6 */ mflr r0
/* 8034C550 003494B0 90 01 00 34 */ stw r0, 0x34(r1)
/* 8034C554 003494B4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8034C558 003494B8 7C 9F 23 78 */ mr r31, r4
/* 8034C55C 003494BC 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8034C560 003494C0 7C 7E 1B 79 */ or. r30, r3, r3
/* 8034C564 003494C4 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8034C568 003494C8 41 82 01 68 */ beq lbl_8034C6D0
/* 8034C56C 003494CC 4B FF E5 F1 */ bl S3dFlushAllEmitters__9CAudioSysFv
/* 8034C570 003494D0 4B FF E8 C9 */ bl S3dRemoveListener__9CAudioSysFv
/* 8034C574 003494D4 48 06 47 65 */ bl sndQuit
/* 8034C578 003494D8 83 AD A9 D4 */ lwz r29, lbl_805A9594@sda21(r13)
/* 8034C57C 003494DC 28 1D 00 00 */ cmplwi r29, 0
/* 8034C580 003494E0 41 82 00 38 */ beq lbl_8034C5B8
/* 8034C584 003494E4 41 82 00 2C */ beq lbl_8034C5B0
/* 8034C588 003494E8 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 8034C58C 003494EC 28 04 00 00 */ cmplwi r4, 0
/* 8034C590 003494F0 41 82 00 0C */ beq lbl_8034C59C
/* 8034C594 003494F4 7F A3 EB 78 */ mr r3, r29
/* 8034C598 003494F8 48 00 05 BD */ bl sub_8034cb54
lbl_8034C59C:
/* 8034C59C 003494FC 38 00 00 00 */ li r0, 0
/* 8034C5A0 00349500 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8034C5A4 00349504 90 1D 00 08 */ stw r0, 8(r29)
/* 8034C5A8 00349508 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8034C5AC 0034950C 90 1D 00 04 */ stw r0, 4(r29)
lbl_8034C5B0:
/* 8034C5B0 00349510 7F A3 EB 78 */ mr r3, r29
/* 8034C5B4 00349514 4B FC 93 7D */ bl Free__7CMemoryFPCv
lbl_8034C5B8:
/* 8034C5B8 00349518 83 AD A9 D8 */ lwz r29, lbl_805A9598@sda21(r13)
/* 8034C5BC 0034951C 38 00 00 00 */ li r0, 0
/* 8034C5C0 00349520 90 0D A9 D4 */ stw r0, lbl_805A9594@sda21(r13)
/* 8034C5C4 00349524 28 1D 00 00 */ cmplwi r29, 0
/* 8034C5C8 00349528 41 82 00 38 */ beq lbl_8034C600
/* 8034C5CC 0034952C 41 82 00 2C */ beq lbl_8034C5F8
/* 8034C5D0 00349530 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 8034C5D4 00349534 28 04 00 00 */ cmplwi r4, 0
/* 8034C5D8 00349538 41 82 00 0C */ beq lbl_8034C5E4
/* 8034C5DC 0034953C 7F A3 EB 78 */ mr r3, r29
/* 8034C5E0 00349540 48 00 04 F1 */ bl sub_8034cad0
lbl_8034C5E4:
/* 8034C5E4 00349544 38 00 00 00 */ li r0, 0
/* 8034C5E8 00349548 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8034C5EC 0034954C 90 1D 00 08 */ stw r0, 8(r29)
/* 8034C5F0 00349550 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8034C5F4 00349554 90 1D 00 04 */ stw r0, 4(r29)
lbl_8034C5F8:
/* 8034C5F8 00349558 7F A3 EB 78 */ mr r3, r29
/* 8034C5FC 0034955C 4B FC 93 35 */ bl Free__7CMemoryFPCv
lbl_8034C600:
/* 8034C600 00349560 83 AD A9 DC */ lwz r29, lbl_805A959C@sda21(r13)
/* 8034C604 00349564 38 00 00 00 */ li r0, 0
/* 8034C608 00349568 90 0D A9 D8 */ stw r0, lbl_805A9598@sda21(r13)
/* 8034C60C 0034956C 28 1D 00 00 */ cmplwi r29, 0
/* 8034C610 00349570 41 82 00 38 */ beq lbl_8034C648
/* 8034C614 00349574 41 82 00 2C */ beq lbl_8034C640
/* 8034C618 00349578 80 9D 00 10 */ lwz r4, 0x10(r29)
/* 8034C61C 0034957C 28 04 00 00 */ cmplwi r4, 0
/* 8034C620 00349580 41 82 00 0C */ beq lbl_8034C62C
/* 8034C624 00349584 7F A3 EB 78 */ mr r3, r29
/* 8034C628 00349588 48 00 04 0D */ bl sub_8034ca34
lbl_8034C62C:
/* 8034C62C 0034958C 38 00 00 00 */ li r0, 0
/* 8034C630 00349590 90 1D 00 10 */ stw r0, 0x10(r29)
/* 8034C634 00349594 90 1D 00 08 */ stw r0, 8(r29)
/* 8034C638 00349598 90 1D 00 0C */ stw r0, 0xc(r29)
/* 8034C63C 0034959C 90 1D 00 04 */ stw r0, 4(r29)
lbl_8034C640:
/* 8034C640 003495A0 7F A3 EB 78 */ mr r3, r29
/* 8034C644 003495A4 4B FC 92 ED */ bl Free__7CMemoryFPCv
lbl_8034C648:
/* 8034C648 003495A8 83 AD A9 E0 */ lwz r29, lbl_805A95A0@sda21(r13)
/* 8034C64C 003495AC 38 00 00 00 */ li r0, 0
/* 8034C650 003495B0 90 0D A9 DC */ stw r0, lbl_805A959C@sda21(r13)
/* 8034C654 003495B4 28 1D 00 00 */ cmplwi r29, 0
/* 8034C658 003495B8 41 82 00 4C */ beq lbl_8034C6A4
/* 8034C65C 003495BC 80 1D 00 04 */ lwz r0, 4(r29)
/* 8034C660 003495C0 80 7D 00 0C */ lwz r3, 0xc(r29)
/* 8034C664 003495C4 1C 00 00 54 */ mulli r0, r0, 0x54
/* 8034C668 003495C8 90 61 00 0C */ stw r3, 0xc(r1)
/* 8034C66C 003495CC 7C 64 1B 78 */ mr r4, r3
/* 8034C670 003495D0 7C 03 02 14 */ add r0, r3, r0
/* 8034C674 003495D4 90 61 00 08 */ stw r3, 8(r1)
/* 8034C678 003495D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034C67C 003495DC 90 01 00 10 */ stw r0, 0x10(r1)
/* 8034C680 003495E0 48 00 00 08 */ b lbl_8034C688
lbl_8034C684:
/* 8034C684 003495E4 38 84 00 54 */ addi r4, r4, 0x54
lbl_8034C688:
/* 8034C688 003495E8 7C 04 00 40 */ cmplw r4, r0
/* 8034C68C 003495EC 40 82 FF F8 */ bne lbl_8034C684
/* 8034C690 003495F0 28 03 00 00 */ cmplwi r3, 0
/* 8034C694 003495F4 41 82 00 08 */ beq lbl_8034C69C
/* 8034C698 003495F8 4B FC 92 99 */ bl Free__7CMemoryFPCv
lbl_8034C69C:
/* 8034C69C 003495FC 7F A3 EB 78 */ mr r3, r29
/* 8034C6A0 00349600 4B FC 92 91 */ bl Free__7CMemoryFPCv
lbl_8034C6A4:
/* 8034C6A4 00349604 38 00 00 00 */ li r0, 0
/* 8034C6A8 00349608 80 6D A9 E4 */ lwz r3, lbl_805A95A4@sda21(r13)
/* 8034C6AC 0034960C 90 0D A9 E0 */ stw r0, lbl_805A95A0@sda21(r13)
/* 8034C6B0 00349610 4B FC 92 81 */ bl Free__7CMemoryFPCv
/* 8034C6B4 00349614 38 60 00 00 */ li r3, 0
/* 8034C6B8 00349618 7F E0 07 35 */ extsh. r0, r31
/* 8034C6BC 0034961C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13)
/* 8034C6C0 00349620 98 6D A9 D0 */ stb r3, lbl_805A9590@sda21(r13)
/* 8034C6C4 00349624 40 81 00 0C */ ble lbl_8034C6D0
/* 8034C6C8 00349628 7F C3 F3 78 */ mr r3, r30
/* 8034C6CC 0034962C 4B FC 92 65 */ bl Free__7CMemoryFPCv
lbl_8034C6D0:
/* 8034C6D0 00349630 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8034C6D4 00349634 7F C3 F3 78 */ mr r3, r30
/* 8034C6D8 00349638 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8034C6DC 0034963C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8034C6E0 00349640 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8034C6E4 00349644 7C 08 03 A6 */ mtlr r0
/* 8034C6E8 00349648 38 21 00 30 */ addi r1, r1, 0x30
/* 8034C6EC 0034964C 4E 80 00 20 */ blr
.global __ct__9CAudioSysFUcUcUcUcUi
__ct__9CAudioSysFUcUcUcUcUi:
/* 8034C6F0 00349650 94 21 FF 60 */ stwu r1, -0xa0(r1)
/* 8034C6F4 00349654 7C 08 02 A6 */ mflr r0
/* 8034C6F8 00349658 39 40 00 01 */ li r10, 1
/* 8034C6FC 0034965C 90 01 00 A4 */ stw r0, 0xa4(r1)
/* 8034C700 00349660 BF 41 00 88 */ stmw r26, 0x88(r1)
/* 8034C704 00349664 7C 7A 1B 78 */ mr r26, r3
/* 8034C708 00349668 7C 9F 23 78 */ mr r31, r4
/* 8034C70C 0034966C 7C BE 2B 78 */ mr r30, r5
/* 8034C710 00349670 7C DD 33 78 */ mr r29, r6
/* 8034C714 00349674 7C FB 3B 78 */ mr r27, r7
/* 8034C718 00349678 7D 1C 43 78 */ mr r28, r8
/* 8034C71C 0034967C 38 60 00 00 */ li r3, 0
/* 8034C720 00349680 81 22 CC 44 */ lwz r9, lbl_805AE964@sda21(r2)
/* 8034C724 00349684 80 02 CC 48 */ lwz r0, lbl_805AE968@sda21(r2)
/* 8034C728 00349688 99 4D A9 D0 */ stb r10, lbl_805A9590@sda21(r13)
/* 8034C72C 0034968C 91 21 00 20 */ stw r9, 0x20(r1)
/* 8034C730 00349690 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034C734 00349694 48 02 0C A1 */ bl AIInit
/* 8034C738 00349698 38 61 00 20 */ addi r3, r1, 0x20
/* 8034C73C 0034969C 48 06 77 CD */ bl sndSetHooks
/* 8034C740 003496A0 88 0D 9D D8 */ lbz r0, lbl_805A8998@sda21(r13)
/* 8034C744 003496A4 28 00 00 00 */ cmplwi r0, 0
/* 8034C748 003496A8 41 82 00 24 */ beq lbl_8034C76C
/* 8034C74C 003496AC 7F 88 E3 78 */ mr r8, r28
/* 8034C750 003496B0 57 E3 06 3E */ clrlwi r3, r31, 0x18
/* 8034C754 003496B4 57 C4 06 3E */ clrlwi r4, r30, 0x18
/* 8034C758 003496B8 57 A5 06 3E */ clrlwi r5, r29, 0x18
/* 8034C75C 003496BC 38 C0 00 01 */ li r6, 1
/* 8034C760 003496C0 38 E0 00 01 */ li r7, 1
/* 8034C764 003496C4 48 06 44 5D */ bl sndInit
/* 8034C768 003496C8 48 00 00 20 */ b lbl_8034C788
lbl_8034C76C:
/* 8034C76C 003496CC 7F 88 E3 78 */ mr r8, r28
/* 8034C770 003496D0 57 E3 06 3E */ clrlwi r3, r31, 0x18
/* 8034C774 003496D4 57 C4 06 3E */ clrlwi r4, r30, 0x18
/* 8034C778 003496D8 57 A5 06 3E */ clrlwi r5, r29, 0x18
/* 8034C77C 003496DC 38 C0 00 01 */ li r6, 1
/* 8034C780 003496E0 38 E0 00 00 */ li r7, 0
/* 8034C784 003496E4 48 06 44 3D */ bl sndInit
lbl_8034C788:
/* 8034C788 003496E8 48 06 B2 15 */ bl DTKInit
/* 8034C78C 003496EC 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C790 003496F0 38 60 00 14 */ li r3, 0x14
/* 8034C794 003496F4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C798 003496F8 38 A0 00 00 */ li r5, 0
/* 8034C79C 003496FC 4B FC 90 D1 */ bl __nw__FUlPCcPCc
/* 8034C7A0 00349700 28 03 00 00 */ cmplwi r3, 0
/* 8034C7A4 00349704 41 82 00 28 */ beq lbl_8034C7CC
/* 8034C7A8 00349708 88 A1 00 10 */ lbz r5, 0x10(r1)
/* 8034C7AC 0034970C 38 00 00 00 */ li r0, 0
/* 8034C7B0 00349710 88 81 00 1C */ lbz r4, 0x1c(r1)
/* 8034C7B4 00349714 98 A3 00 00 */ stb r5, 0(r3)
/* 8034C7B8 00349718 98 83 00 01 */ stb r4, 1(r3)
/* 8034C7BC 0034971C 90 03 00 04 */ stw r0, 4(r3)
/* 8034C7C0 00349720 90 03 00 08 */ stw r0, 8(r3)
/* 8034C7C4 00349724 90 03 00 0C */ stw r0, 0xc(r3)
/* 8034C7C8 00349728 90 03 00 10 */ stw r0, 0x10(r3)
lbl_8034C7CC:
/* 8034C7CC 0034972C 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C7D0 00349730 90 6D A9 D4 */ stw r3, lbl_805A9594@sda21(r13)
/* 8034C7D4 00349734 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C7D8 00349738 38 60 00 14 */ li r3, 0x14
/* 8034C7DC 0034973C 38 A0 00 00 */ li r5, 0
/* 8034C7E0 00349740 4B FC 90 8D */ bl __nw__FUlPCcPCc
/* 8034C7E4 00349744 28 03 00 00 */ cmplwi r3, 0
/* 8034C7E8 00349748 41 82 00 28 */ beq lbl_8034C810
/* 8034C7EC 0034974C 88 A1 00 0C */ lbz r5, 0xc(r1)
/* 8034C7F0 00349750 38 00 00 00 */ li r0, 0
/* 8034C7F4 00349754 88 81 00 18 */ lbz r4, 0x18(r1)
/* 8034C7F8 00349758 98 A3 00 00 */ stb r5, 0(r3)
/* 8034C7FC 0034975C 98 83 00 01 */ stb r4, 1(r3)
/* 8034C800 00349760 90 03 00 04 */ stw r0, 4(r3)
/* 8034C804 00349764 90 03 00 08 */ stw r0, 8(r3)
/* 8034C808 00349768 90 03 00 0C */ stw r0, 0xc(r3)
/* 8034C80C 0034976C 90 03 00 10 */ stw r0, 0x10(r3)
lbl_8034C810:
/* 8034C810 00349770 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C814 00349774 90 6D A9 D8 */ stw r3, lbl_805A9598@sda21(r13)
/* 8034C818 00349778 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C81C 0034977C 38 60 00 14 */ li r3, 0x14
/* 8034C820 00349780 38 A0 00 00 */ li r5, 0
/* 8034C824 00349784 4B FC 90 49 */ bl __nw__FUlPCcPCc
/* 8034C828 00349788 28 03 00 00 */ cmplwi r3, 0
/* 8034C82C 0034978C 41 82 00 28 */ beq lbl_8034C854
/* 8034C830 00349790 88 A1 00 08 */ lbz r5, 8(r1)
/* 8034C834 00349794 38 00 00 00 */ li r0, 0
/* 8034C838 00349798 88 81 00 14 */ lbz r4, 0x14(r1)
/* 8034C83C 0034979C 98 A3 00 00 */ stb r5, 0(r3)
/* 8034C840 003497A0 98 83 00 01 */ stb r4, 1(r3)
/* 8034C844 003497A4 90 03 00 04 */ stw r0, 4(r3)
/* 8034C848 003497A8 90 03 00 08 */ stw r0, 8(r3)
/* 8034C84C 003497AC 90 03 00 0C */ stw r0, 0xc(r3)
/* 8034C850 003497B0 90 03 00 10 */ stw r0, 0x10(r3)
lbl_8034C854:
/* 8034C854 003497B4 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C858 003497B8 90 6D A9 DC */ stw r3, lbl_805A959C@sda21(r13)
/* 8034C85C 003497BC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C860 003497C0 38 60 00 10 */ li r3, 0x10
/* 8034C864 003497C4 38 A0 00 00 */ li r5, 0
/* 8034C868 003497C8 4B FC 90 05 */ bl __nw__FUlPCcPCc
/* 8034C86C 003497CC 7C 7E 1B 79 */ or. r30, r3, r3
/* 8034C870 003497D0 41 82 00 A0 */ beq lbl_8034C910
/* 8034C874 003497D4 57 7D 06 3E */ clrlwi r29, r27, 0x18
/* 8034C878 003497D8 8B E2 CC 41 */ lbz r31, lbl_805AE961@sda21(r2)
/* 8034C87C 003497DC 93 BE 00 04 */ stw r29, 4(r30)
/* 8034C880 003497E0 93 BE 00 08 */ stw r29, 8(r30)
/* 8034C884 003497E4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8034C888 003497E8 1C 60 00 54 */ mulli r3, r0, 0x54
/* 8034C88C 003497EC 2C 03 00 00 */ cmpwi r3, 0
/* 8034C890 003497F0 40 82 00 10 */ bne lbl_8034C8A0
/* 8034C894 003497F4 38 00 00 00 */ li r0, 0
/* 8034C898 003497F8 90 1E 00 0C */ stw r0, 0xc(r30)
/* 8034C89C 003497FC 48 00 00 18 */ b lbl_8034C8B4
lbl_8034C8A0:
/* 8034C8A0 00349800 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C8A4 00349804 38 A0 00 00 */ li r5, 0
/* 8034C8A8 00349808 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C8AC 0034980C 4B FC 8F 6D */ bl __nwa__FUlPCcPCc
/* 8034C8B0 00349810 90 7E 00 0C */ stw r3, 0xc(r30)
lbl_8034C8B4:
/* 8034C8B4 00349814 39 20 00 00 */ li r9, 0
/* 8034C8B8 00349818 81 5E 00 0C */ lwz r10, 0xc(r30)
/* 8034C8BC 0034981C 7D 23 4B 78 */ mr r3, r9
/* 8034C8C0 00349820 38 C0 00 0A */ li r6, 0xa
/* 8034C8C4 00349824 7D 20 4B 78 */ mr r0, r9
/* 8034C8C8 00349828 48 00 00 40 */ b lbl_8034C908
lbl_8034C8CC:
/* 8034C8CC 0034982C 28 0A 00 00 */ cmplwi r10, 0
/* 8034C8D0 00349830 41 82 00 30 */ beq lbl_8034C900
/* 8034C8D4 00349834 39 0A FF FC */ addi r8, r10, -4
/* 8034C8D8 00349838 38 E1 00 24 */ addi r7, r1, 0x24
/* 8034C8DC 0034983C 7C C9 03 A6 */ mtctr r6
lbl_8034C8E0:
/* 8034C8E0 00349840 80 A7 00 04 */ lwz r5, 4(r7)
/* 8034C8E4 00349844 84 87 00 08 */ lwzu r4, 8(r7)
/* 8034C8E8 00349848 90 A8 00 04 */ stw r5, 4(r8)
/* 8034C8EC 0034984C 94 88 00 08 */ stwu r4, 8(r8)
/* 8034C8F0 00349850 42 00 FF F0 */ bdnz lbl_8034C8E0
/* 8034C8F4 00349854 98 6A 00 50 */ stb r3, 0x50(r10)
/* 8034C8F8 00349858 98 0A 00 51 */ stb r0, 0x51(r10)
/* 8034C8FC 0034985C 9B EA 00 52 */ stb r31, 0x52(r10)
lbl_8034C900:
/* 8034C900 00349860 39 29 00 01 */ addi r9, r9, 1
/* 8034C904 00349864 39 4A 00 54 */ addi r10, r10, 0x54
lbl_8034C908:
/* 8034C908 00349868 7C 09 E8 00 */ cmpw r9, r29
/* 8034C90C 0034986C 41 80 FF C0 */ blt lbl_8034C8CC
lbl_8034C910:
/* 8034C910 00349870 3C 60 80 3E */ lis r3, lbl_803D8210@ha
/* 8034C914 00349874 93 CD A9 E0 */ stw r30, lbl_805A95A0@sda21(r13)
/* 8034C918 00349878 38 83 82 10 */ addi r4, r3, lbl_803D8210@l
/* 8034C91C 0034987C 38 A0 00 00 */ li r5, 0
/* 8034C920 00349880 38 60 00 90 */ li r3, 0x90
/* 8034C924 00349884 4B FC 8F 49 */ bl __nw__FUlPCcPCc
/* 8034C928 00349888 38 00 00 00 */ li r0, 0
/* 8034C92C 0034988C 90 6D A9 E4 */ stw r3, lbl_805A95A4@sda21(r13)
/* 8034C930 00349890 98 0D A9 D1 */ stb r0, lbl_805A9591@sda21(r13)
/* 8034C934 00349894 9B 6D A9 D3 */ stb r27, lbl_805A9593@sda21(r13)
/* 8034C938 00349898 48 03 76 D9 */ bl OSGetSoundMode
/* 8034C93C 0034989C 28 03 00 00 */ cmplwi r3, 0
/* 8034C940 003498A0 40 82 00 18 */ bne lbl_8034C958
/* 8034C944 003498A4 38 60 00 00 */ li r3, 0
/* 8034C948 003498A8 48 04 FB 01 */ bl sndOutputMode
/* 8034C94C 003498AC 38 00 00 00 */ li r0, 0
/* 8034C950 003498B0 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13)
/* 8034C954 003498B4 48 00 00 14 */ b lbl_8034C968
lbl_8034C958:
/* 8034C958 003498B8 38 60 00 02 */ li r3, 2
/* 8034C95C 003498BC 48 04 FA ED */ bl sndOutputMode
/* 8034C960 003498C0 38 00 00 02 */ li r0, 2
/* 8034C964 003498C4 90 0D A9 EC */ stw r0, lbl_805A95AC@sda21(r13)
lbl_8034C968:
/* 8034C968 003498C8 93 8D A9 F0 */ stw r28, lbl_805A95B0@sda21(r13)
/* 8034C96C 003498CC 7F 43 D3 78 */ mr r3, r26
/* 8034C970 003498D0 BB 41 00 88 */ lmw r26, 0x88(r1)
/* 8034C974 003498D4 80 01 00 A4 */ lwz r0, 0xa4(r1)
/* 8034C978 003498D8 7C 08 03 A6 */ mtlr r0
/* 8034C97C 003498DC 38 21 00 A0 */ addi r1, r1, 0xa0
/* 8034C980 003498E0 4E 80 00 20 */ blr
.global DoFree__FPv
DoFree__FPv:
/* 8034C984 003498E4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034C988 003498E8 7C 08 02 A6 */ mflr r0
/* 8034C98C 003498EC 28 03 00 00 */ cmplwi r3, 0
/* 8034C990 003498F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034C994 003498F4 41 82 00 08 */ beq lbl_8034C99C
/* 8034C998 003498F8 4B FC 8F 99 */ bl Free__7CMemoryFPCv
lbl_8034C99C:
/* 8034C99C 003498FC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034C9A0 00349900 7C 08 03 A6 */ mtlr r0
/* 8034C9A4 00349904 38 21 00 10 */ addi r1, r1, 0x10
/* 8034C9A8 00349908 4E 80 00 20 */ blr
.global DoMalloc__FUl
DoMalloc__FUl:
/* 8034C9AC 0034990C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034C9B0 00349910 7C 08 02 A6 */ mflr r0
/* 8034C9B4 00349914 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034C9B8 00349918 38 A0 00 00 */ li r5, 0
/* 8034C9BC 0034991C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034C9C0 00349920 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034C9C4 00349924 4B FC 8E 55 */ bl __nwa__FUlPCcPCc
/* 8034C9C8 00349928 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034C9CC 0034992C 7C 08 03 A6 */ mtlr r0
/* 8034C9D0 00349930 38 21 00 10 */ addi r1, r1, 0x10
/* 8034C9D4 00349934 4E 80 00 20 */ blr
.global sub_8034c9d8
sub_8034c9d8:
/* 8034C9D8 00349938 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034C9DC 0034993C 7C 08 02 A6 */ mflr r0
/* 8034C9E0 00349940 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034C9E4 00349944 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034C9E8 00349948 7C 7F 1B 78 */ mr r31, r3
/* 8034C9EC 0034994C 80 83 00 00 */ lwz r4, 0(r3)
/* 8034C9F0 00349950 80 64 00 04 */ lwz r3, 4(r4)
/* 8034C9F4 00349954 34 03 FF FF */ addic. r0, r3, -1
/* 8034C9F8 00349958 90 04 00 04 */ stw r0, 4(r4)
/* 8034C9FC 0034995C 41 81 00 24 */ bgt lbl_8034CA20
/* 8034CA00 00349960 80 7F 00 00 */ lwz r3, 0(r31)
/* 8034CA04 00349964 38 80 00 01 */ li r4, 1
/* 8034CA08 00349968 80 63 00 00 */ lwz r3, 0(r3)
/* 8034CA0C 0034996C 4B FF DC 71 */ bl __dt__14CAudioGroupSetFv
/* 8034CA10 00349970 80 7F 00 00 */ lwz r3, 0(r31)
/* 8034CA14 00349974 28 03 00 00 */ cmplwi r3, 0
/* 8034CA18 00349978 41 82 00 08 */ beq lbl_8034CA20
/* 8034CA1C 0034997C 4B FC 8F 15 */ bl Free__7CMemoryFPCv
lbl_8034CA20:
/* 8034CA20 00349980 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034CA24 00349984 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034CA28 00349988 7C 08 03 A6 */ mtlr r0
/* 8034CA2C 0034998C 38 21 00 10 */ addi r1, r1, 0x10
/* 8034CA30 00349990 4E 80 00 20 */ blr
.global sub_8034ca34
sub_8034ca34:
/* 8034CA34 00349994 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034CA38 00349998 7C 08 02 A6 */ mflr r0
/* 8034CA3C 0034999C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034CA40 003499A0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034CA44 003499A4 7C 9F 23 78 */ mr r31, r4
/* 8034CA48 003499A8 93 C1 00 08 */ stw r30, 8(r1)
/* 8034CA4C 003499AC 7C 7E 1B 78 */ mr r30, r3
/* 8034CA50 003499B0 80 84 00 00 */ lwz r4, 0(r4)
/* 8034CA54 003499B4 28 04 00 00 */ cmplwi r4, 0
/* 8034CA58 003499B8 41 82 00 08 */ beq lbl_8034CA60
/* 8034CA5C 003499BC 4B FF FF D9 */ bl sub_8034ca34
lbl_8034CA60:
/* 8034CA60 003499C0 80 9F 00 04 */ lwz r4, 4(r31)
/* 8034CA64 003499C4 28 04 00 00 */ cmplwi r4, 0
/* 8034CA68 003499C8 41 82 00 0C */ beq lbl_8034CA74
/* 8034CA6C 003499CC 7F C3 F3 78 */ mr r3, r30
/* 8034CA70 003499D0 4B FF FF C5 */ bl sub_8034ca34
lbl_8034CA74:
/* 8034CA74 003499D4 28 1F 00 00 */ cmplwi r31, 0
/* 8034CA78 003499D8 41 82 00 30 */ beq lbl_8034CAA8
/* 8034CA7C 003499DC 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034CA80 003499E0 41 82 00 28 */ beq lbl_8034CAA8
/* 8034CA84 003499E4 34 7F 00 20 */ addic. r3, r31, 0x20
/* 8034CA88 003499E8 41 82 00 10 */ beq lbl_8034CA98
/* 8034CA8C 003499EC 28 03 00 00 */ cmplwi r3, 0
/* 8034CA90 003499F0 41 82 00 08 */ beq lbl_8034CA98
/* 8034CA94 003499F4 48 00 09 71 */ bl sub_8034d404
lbl_8034CA98:
/* 8034CA98 003499F8 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034CA9C 003499FC 41 82 00 0C */ beq lbl_8034CAA8
/* 8034CAA0 00349A00 38 7F 00 10 */ addi r3, r31, 0x10
/* 8034CAA4 00349A04 4B FF 10 3D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034CAA8:
/* 8034CAA8 00349A08 28 1F 00 00 */ cmplwi r31, 0
/* 8034CAAC 00349A0C 41 82 00 0C */ beq lbl_8034CAB8
/* 8034CAB0 00349A10 7F E3 FB 78 */ mr r3, r31
/* 8034CAB4 00349A14 4B FC 8E 7D */ bl Free__7CMemoryFPCv
lbl_8034CAB8:
/* 8034CAB8 00349A18 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034CABC 00349A1C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034CAC0 00349A20 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034CAC4 00349A24 7C 08 03 A6 */ mtlr r0
/* 8034CAC8 00349A28 38 21 00 10 */ addi r1, r1, 0x10
/* 8034CACC 00349A2C 4E 80 00 20 */ blr
.global sub_8034cad0
sub_8034cad0:
/* 8034CAD0 00349A30 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034CAD4 00349A34 7C 08 02 A6 */ mflr r0
/* 8034CAD8 00349A38 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034CADC 00349A3C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034CAE0 00349A40 7C 9F 23 78 */ mr r31, r4
/* 8034CAE4 00349A44 93 C1 00 08 */ stw r30, 8(r1)
/* 8034CAE8 00349A48 7C 7E 1B 78 */ mr r30, r3
/* 8034CAEC 00349A4C 80 84 00 00 */ lwz r4, 0(r4)
/* 8034CAF0 00349A50 28 04 00 00 */ cmplwi r4, 0
/* 8034CAF4 00349A54 41 82 00 08 */ beq lbl_8034CAFC
/* 8034CAF8 00349A58 4B FF FF D9 */ bl sub_8034cad0
lbl_8034CAFC:
/* 8034CAFC 00349A5C 80 9F 00 04 */ lwz r4, 4(r31)
/* 8034CB00 00349A60 28 04 00 00 */ cmplwi r4, 0
/* 8034CB04 00349A64 41 82 00 0C */ beq lbl_8034CB10
/* 8034CB08 00349A68 7F C3 F3 78 */ mr r3, r30
/* 8034CB0C 00349A6C 4B FF FF C5 */ bl sub_8034cad0
lbl_8034CB10:
/* 8034CB10 00349A70 28 1F 00 00 */ cmplwi r31, 0
/* 8034CB14 00349A74 41 82 00 18 */ beq lbl_8034CB2C
/* 8034CB18 00349A78 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034CB1C 00349A7C 41 82 00 10 */ beq lbl_8034CB2C
/* 8034CB20 00349A80 34 7F 00 14 */ addic. r3, r31, 0x14
/* 8034CB24 00349A84 41 82 00 08 */ beq lbl_8034CB2C
/* 8034CB28 00349A88 4B FF 0F B9 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034CB2C:
/* 8034CB2C 00349A8C 28 1F 00 00 */ cmplwi r31, 0
/* 8034CB30 00349A90 41 82 00 0C */ beq lbl_8034CB3C
/* 8034CB34 00349A94 7F E3 FB 78 */ mr r3, r31
/* 8034CB38 00349A98 4B FC 8D F9 */ bl Free__7CMemoryFPCv
lbl_8034CB3C:
/* 8034CB3C 00349A9C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034CB40 00349AA0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034CB44 00349AA4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034CB48 00349AA8 7C 08 03 A6 */ mtlr r0
/* 8034CB4C 00349AAC 38 21 00 10 */ addi r1, r1, 0x10
/* 8034CB50 00349AB0 4E 80 00 20 */ blr
.global sub_8034cb54
sub_8034cb54:
/* 8034CB54 00349AB4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034CB58 00349AB8 7C 08 02 A6 */ mflr r0
/* 8034CB5C 00349ABC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034CB60 00349AC0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034CB64 00349AC4 7C 9F 23 78 */ mr r31, r4
/* 8034CB68 00349AC8 93 C1 00 08 */ stw r30, 8(r1)
/* 8034CB6C 00349ACC 7C 7E 1B 78 */ mr r30, r3
/* 8034CB70 00349AD0 80 84 00 00 */ lwz r4, 0(r4)
/* 8034CB74 00349AD4 28 04 00 00 */ cmplwi r4, 0
/* 8034CB78 00349AD8 41 82 00 08 */ beq lbl_8034CB80
/* 8034CB7C 00349ADC 4B FF FF D9 */ bl sub_8034cb54
lbl_8034CB80:
/* 8034CB80 00349AE0 80 9F 00 04 */ lwz r4, 4(r31)
/* 8034CB84 00349AE4 28 04 00 00 */ cmplwi r4, 0
/* 8034CB88 00349AE8 41 82 00 0C */ beq lbl_8034CB94
/* 8034CB8C 00349AEC 7F C3 F3 78 */ mr r3, r30
/* 8034CB90 00349AF0 4B FF FF C5 */ bl sub_8034cb54
lbl_8034CB94:
/* 8034CB94 00349AF4 28 1F 00 00 */ cmplwi r31, 0
/* 8034CB98 00349AF8 41 82 00 30 */ beq lbl_8034CBC8
/* 8034CB9C 00349AFC 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034CBA0 00349B00 41 82 00 28 */ beq lbl_8034CBC8
/* 8034CBA4 00349B04 34 7F 00 20 */ addic. r3, r31, 0x20
/* 8034CBA8 00349B08 41 82 00 10 */ beq lbl_8034CBB8
/* 8034CBAC 00349B0C 28 03 00 00 */ cmplwi r3, 0
/* 8034CBB0 00349B10 41 82 00 08 */ beq lbl_8034CBB8
/* 8034CBB4 00349B14 4B FF FE 25 */ bl sub_8034c9d8
lbl_8034CBB8:
/* 8034CBB8 00349B18 34 1F 00 10 */ addic. r0, r31, 0x10
/* 8034CBBC 00349B1C 41 82 00 0C */ beq lbl_8034CBC8
/* 8034CBC0 00349B20 38 7F 00 10 */ addi r3, r31, 0x10
/* 8034CBC4 00349B24 4B FF 0F 1D */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034CBC8:
/* 8034CBC8 00349B28 28 1F 00 00 */ cmplwi r31, 0
/* 8034CBCC 00349B2C 41 82 00 0C */ beq lbl_8034CBD8
/* 8034CBD0 00349B30 7F E3 FB 78 */ mr r3, r31
/* 8034CBD4 00349B34 4B FC 8D 5D */ bl Free__7CMemoryFPCv
lbl_8034CBD8:
/* 8034CBD8 00349B38 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034CBDC 00349B3C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034CBE0 00349B40 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034CBE4 00349B44 7C 08 03 A6 */ mtlr r0
/* 8034CBE8 00349B48 38 21 00 10 */ addi r1, r1, 0x10
/* 8034CBEC 00349B4C 4E 80 00 20 */ blr
.global sub_8034cbf0
sub_8034cbf0:
/* 8034CBF0 00349B50 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034CBF4 00349B54 7C 08 02 A6 */ mflr r0
/* 8034CBF8 00349B58 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034CBFC 00349B5C 38 A1 00 0C */ addi r5, r1, 0xc
/* 8034CC00 00349B60 89 21 00 08 */ lbz r9, 8(r1)
/* 8034CC04 00349B64 81 04 00 00 */ lwz r8, 0(r4)
/* 8034CC08 00349B68 80 E4 00 04 */ lwz r7, 4(r4)
/* 8034CC0C 00349B6C 38 81 00 10 */ addi r4, r1, 0x10
/* 8034CC10 00349B70 80 C3 00 00 */ lwz r6, 0(r3)
/* 8034CC14 00349B74 80 03 00 04 */ lwz r0, 4(r3)
/* 8034CC18 00349B78 38 61 00 18 */ addi r3, r1, 0x18
/* 8034CC1C 00349B7C 99 21 00 0C */ stb r9, 0xc(r1)
/* 8034CC20 00349B80 91 01 00 10 */ stw r8, 0x10(r1)
/* 8034CC24 00349B84 90 E1 00 14 */ stw r7, 0x14(r1)
/* 8034CC28 00349B88 90 C1 00 18 */ stw r6, 0x18(r1)
/* 8034CC2C 00349B8C 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8034CC30 00349B90 48 00 00 15 */ bl sub_8034cc44
/* 8034CC34 00349B94 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034CC38 00349B98 7C 08 03 A6 */ mtlr r0
/* 8034CC3C 00349B9C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034CC40 00349BA0 4E 80 00 20 */ blr
.global sub_8034cc44
sub_8034cc44:
/* 8034CC44 00349BA4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034CC48 00349BA8 7C 08 02 A6 */ mflr r0
/* 8034CC4C 00349BAC 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034CC50 00349BB0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8034CC54 00349BB4 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8034CC58 00349BB8 3B C0 00 00 */ li r30, 0
/* 8034CC5C 00349BBC 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8034CC60 00349BC0 7C 9D 23 78 */ mr r29, r4
/* 8034CC64 00349BC4 80 A3 00 00 */ lwz r5, 0(r3)
/* 8034CC68 00349BC8 83 E3 00 04 */ lwz r31, 4(r3)
/* 8034CC6C 00349BCC 48 00 00 18 */ b lbl_8034CC84
lbl_8034CC70:
/* 8034CC70 00349BD0 7F E3 FB 78 */ mr r3, r31
/* 8034CC74 00349BD4 7C A4 2B 78 */ mr r4, r5
/* 8034CC78 00349BD8 3B DE 00 01 */ addi r30, r30, 1
/* 8034CC7C 00349BDC 4B FE F9 65 */ bl rbtree_traverse_forward__4rstlFPCvPv
/* 8034CC80 00349BE0 7C 65 1B 78 */ mr r5, r3
lbl_8034CC84:
/* 8034CC84 00349BE4 80 1D 00 00 */ lwz r0, 0(r29)
/* 8034CC88 00349BE8 38 60 00 00 */ li r3, 0
/* 8034CC8C 00349BEC 7C 05 00 40 */ cmplw r5, r0
/* 8034CC90 00349BF0 40 82 00 10 */ bne lbl_8034CCA0
/* 8034CC94 00349BF4 80 1D 00 04 */ lwz r0, 4(r29)
/* 8034CC98 00349BF8 7C 1F 00 40 */ cmplw r31, r0
/* 8034CC9C 00349BFC 41 82 00 08 */ beq lbl_8034CCA4
lbl_8034CCA0:
/* 8034CCA0 00349C00 38 60 00 01 */ li r3, 1
lbl_8034CCA4:
/* 8034CCA4 00349C04 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034CCA8 00349C08 40 82 FF C8 */ bne lbl_8034CC70
/* 8034CCAC 00349C0C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034CCB0 00349C10 7F C3 F3 78 */ mr r3, r30
/* 8034CCB4 00349C14 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8034CCB8 00349C18 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8034CCBC 00349C1C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8034CCC0 00349C20 7C 08 03 A6 */ mtlr r0
/* 8034CCC4 00349C24 38 21 00 20 */ addi r1, r1, 0x20
/* 8034CCC8 00349C28 4E 80 00 20 */ blr
.global "insert_into__Q24rstl488red_black_tree<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st<Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator"
"insert_into__Q24rstl488red_black_tree<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>,0,Q24rstl138select1st<Q24rstl117pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl26ncrc_ptr<14CAudioGroupSet>>>,Q24rstl81less<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,Q24rstl17rmemory_allocator":
/* 8034CCCC 00349C2C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034CCD0 00349C30 7C 08 02 A6 */ mflr r0
/* 8034CCD4 00349C34 28 05 00 00 */ cmplwi r5, 0
/* 8034CCD8 00349C38 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034CCDC 00349C3C BF 41 00 08 */ stmw r26, 8(r1)
/* 8034CCE0 00349C40 7C 7C 1B 78 */ mr r28, r3
/* 8034CCE4 00349C44 7C 9D 23 78 */ mr r29, r4
/* 8034CCE8 00349C48 7C DE 33 78 */ mr r30, r6
/* 8034CCEC 00349C4C 40 82 00 9C */ bne lbl_8034CD88
/* 8034CCF0 00349C50 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034CCF4 00349C54 38 60 00 24 */ li r3, 0x24
/* 8034CCF8 00349C58 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034CCFC 00349C5C 38 A0 00 00 */ li r5, 0
/* 8034CD00 00349C60 4B FC 8B 19 */ bl __nwa__FUlPCcPCc
/* 8034CD04 00349C64 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034CD08 00349C68 41 82 00 44 */ beq lbl_8034CD4C
/* 8034CD0C 00349C6C 38 00 00 00 */ li r0, 0
/* 8034CD10 00349C70 37 FB 00 10 */ addic. r31, r27, 0x10
/* 8034CD14 00349C74 90 1B 00 00 */ stw r0, 0(r27)
/* 8034CD18 00349C78 90 1B 00 04 */ stw r0, 4(r27)
/* 8034CD1C 00349C7C 90 1B 00 08 */ stw r0, 8(r27)
/* 8034CD20 00349C80 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034CD24 00349C84 41 82 00 28 */ beq lbl_8034CD4C
/* 8034CD28 00349C88 7F E3 FB 78 */ mr r3, r31
/* 8034CD2C 00349C8C 7F C4 F3 78 */ mr r4, r30
/* 8034CD30 00349C90 4B FF 14 31 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034CD34 00349C94 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8034CD38 00349C98 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8034CD3C 00349C9C 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8034CD40 00349CA0 80 64 00 04 */ lwz r3, 4(r4)
/* 8034CD44 00349CA4 38 03 00 01 */ addi r0, r3, 1
/* 8034CD48 00349CA8 90 04 00 04 */ stw r0, 4(r4)
lbl_8034CD4C:
/* 8034CD4C 00349CAC 93 7D 00 10 */ stw r27, 0x10(r29)
/* 8034CD50 00349CB0 38 1D 00 08 */ addi r0, r29, 8
/* 8034CD54 00349CB4 80 7D 00 04 */ lwz r3, 4(r29)
/* 8034CD58 00349CB8 38 63 00 01 */ addi r3, r3, 1
/* 8034CD5C 00349CBC 90 7D 00 04 */ stw r3, 4(r29)
/* 8034CD60 00349CC0 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034CD64 00349CC4 90 7D 00 08 */ stw r3, 8(r29)
/* 8034CD68 00349CC8 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034CD6C 00349CCC 90 7D 00 0C */ stw r3, 0xc(r29)
/* 8034CD70 00349CD0 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034CD74 00349CD4 90 7C 00 00 */ stw r3, 0(r28)
/* 8034CD78 00349CD8 90 1C 00 04 */ stw r0, 4(r28)
/* 8034CD7C 00349CDC 88 0D 9D E5 */ lbz r0, lbl_805A89A5@sda21(r13)
/* 8034CD80 00349CE0 98 1C 00 08 */ stb r0, 8(r28)
/* 8034CD84 00349CE4 48 00 01 B4 */ b lbl_8034CF38
lbl_8034CD88:
/* 8034CD88 00349CE8 7C BF 2B 78 */ mr r31, r5
/* 8034CD8C 00349CEC 3B 40 00 00 */ li r26, 0
/* 8034CD90 00349CF0 48 00 01 74 */ b lbl_8034CF04
lbl_8034CD94:
/* 8034CD94 00349CF4 7F C4 F3 78 */ mr r4, r30
/* 8034CD98 00349CF8 38 7D 00 01 */ addi r3, r29, 1
/* 8034CD9C 00349CFC 38 BF 00 10 */ addi r5, r31, 0x10
/* 8034CDA0 00349D00 4B CD D9 89 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034CDA4 00349D04 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034CDA8 00349D08 7C 7B 1B 78 */ mr r27, r3
/* 8034CDAC 00349D0C 40 82 00 34 */ bne lbl_8034CDE0
/* 8034CDB0 00349D10 7F C5 F3 78 */ mr r5, r30
/* 8034CDB4 00349D14 38 7D 00 01 */ addi r3, r29, 1
/* 8034CDB8 00349D18 38 9F 00 10 */ addi r4, r31, 0x10
/* 8034CDBC 00349D1C 4B CD D9 6D */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034CDC0 00349D20 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034CDC4 00349D24 40 82 00 1C */ bne lbl_8034CDE0
/* 8034CDC8 00349D28 93 FC 00 00 */ stw r31, 0(r28)
/* 8034CDCC 00349D2C 38 1D 00 08 */ addi r0, r29, 8
/* 8034CDD0 00349D30 90 1C 00 04 */ stw r0, 4(r28)
/* 8034CDD4 00349D34 88 0D 9D E6 */ lbz r0, lbl_805A89A6@sda21(r13)
/* 8034CDD8 00349D38 98 1C 00 08 */ stb r0, 8(r28)
/* 8034CDDC 00349D3C 48 00 01 5C */ b lbl_8034CF38
lbl_8034CDE0:
/* 8034CDE0 00349D40 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 8034CDE4 00349D44 41 82 00 94 */ beq lbl_8034CE78
/* 8034CDE8 00349D48 80 1F 00 00 */ lwz r0, 0(r31)
/* 8034CDEC 00349D4C 28 00 00 00 */ cmplwi r0, 0
/* 8034CDF0 00349D50 40 82 00 80 */ bne lbl_8034CE70
/* 8034CDF4 00349D54 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034CDF8 00349D58 38 60 00 24 */ li r3, 0x24
/* 8034CDFC 00349D5C 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034CE00 00349D60 38 A0 00 00 */ li r5, 0
/* 8034CE04 00349D64 4B FC 8A 15 */ bl __nwa__FUlPCcPCc
/* 8034CE08 00349D68 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034CE0C 00349D6C 41 82 00 48 */ beq lbl_8034CE54
/* 8034CE10 00349D70 38 60 00 00 */ li r3, 0
/* 8034CE14 00349D74 37 5B 00 10 */ addic. r26, r27, 0x10
/* 8034CE18 00349D78 90 7B 00 00 */ stw r3, 0(r27)
/* 8034CE1C 00349D7C 38 00 00 01 */ li r0, 1
/* 8034CE20 00349D80 90 7B 00 04 */ stw r3, 4(r27)
/* 8034CE24 00349D84 93 FB 00 08 */ stw r31, 8(r27)
/* 8034CE28 00349D88 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034CE2C 00349D8C 41 82 00 28 */ beq lbl_8034CE54
/* 8034CE30 00349D90 7F 43 D3 78 */ mr r3, r26
/* 8034CE34 00349D94 7F C4 F3 78 */ mr r4, r30
/* 8034CE38 00349D98 4B FF 13 29 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034CE3C 00349D9C 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8034CE40 00349DA0 90 1A 00 10 */ stw r0, 0x10(r26)
/* 8034CE44 00349DA4 80 9A 00 10 */ lwz r4, 0x10(r26)
/* 8034CE48 00349DA8 80 64 00 04 */ lwz r3, 4(r4)
/* 8034CE4C 00349DAC 38 03 00 01 */ addi r0, r3, 1
/* 8034CE50 00349DB0 90 04 00 04 */ stw r0, 4(r4)
lbl_8034CE54:
/* 8034CE54 00349DB4 93 7F 00 00 */ stw r27, 0(r31)
/* 8034CE58 00349DB8 7F 7A DB 78 */ mr r26, r27
/* 8034CE5C 00349DBC 80 1D 00 08 */ lwz r0, 8(r29)
/* 8034CE60 00349DC0 7C 1F 00 40 */ cmplw r31, r0
/* 8034CE64 00349DC4 40 82 00 A0 */ bne lbl_8034CF04
/* 8034CE68 00349DC8 93 7D 00 08 */ stw r27, 8(r29)
/* 8034CE6C 00349DCC 48 00 00 98 */ b lbl_8034CF04
lbl_8034CE70:
/* 8034CE70 00349DD0 7C 1F 03 78 */ mr r31, r0
/* 8034CE74 00349DD4 48 00 00 90 */ b lbl_8034CF04
lbl_8034CE78:
/* 8034CE78 00349DD8 80 1F 00 04 */ lwz r0, 4(r31)
/* 8034CE7C 00349DDC 28 00 00 00 */ cmplwi r0, 0
/* 8034CE80 00349DE0 40 82 00 80 */ bne lbl_8034CF00
/* 8034CE84 00349DE4 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034CE88 00349DE8 38 60 00 24 */ li r3, 0x24
/* 8034CE8C 00349DEC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034CE90 00349DF0 38 A0 00 00 */ li r5, 0
/* 8034CE94 00349DF4 4B FC 89 85 */ bl __nwa__FUlPCcPCc
/* 8034CE98 00349DF8 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034CE9C 00349DFC 41 82 00 48 */ beq lbl_8034CEE4
/* 8034CEA0 00349E00 38 60 00 00 */ li r3, 0
/* 8034CEA4 00349E04 37 5B 00 10 */ addic. r26, r27, 0x10
/* 8034CEA8 00349E08 90 7B 00 00 */ stw r3, 0(r27)
/* 8034CEAC 00349E0C 38 00 00 01 */ li r0, 1
/* 8034CEB0 00349E10 90 7B 00 04 */ stw r3, 4(r27)
/* 8034CEB4 00349E14 93 FB 00 08 */ stw r31, 8(r27)
/* 8034CEB8 00349E18 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034CEBC 00349E1C 41 82 00 28 */ beq lbl_8034CEE4
/* 8034CEC0 00349E20 7F 43 D3 78 */ mr r3, r26
/* 8034CEC4 00349E24 7F C4 F3 78 */ mr r4, r30
/* 8034CEC8 00349E28 4B FF 12 99 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034CECC 00349E2C 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8034CED0 00349E30 90 1A 00 10 */ stw r0, 0x10(r26)
/* 8034CED4 00349E34 80 9A 00 10 */ lwz r4, 0x10(r26)
/* 8034CED8 00349E38 80 64 00 04 */ lwz r3, 4(r4)
/* 8034CEDC 00349E3C 38 03 00 01 */ addi r0, r3, 1
/* 8034CEE0 00349E40 90 04 00 04 */ stw r0, 4(r4)
lbl_8034CEE4:
/* 8034CEE4 00349E44 93 7F 00 04 */ stw r27, 4(r31)
/* 8034CEE8 00349E48 7F 7A DB 78 */ mr r26, r27
/* 8034CEEC 00349E4C 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8034CEF0 00349E50 7C 1F 00 40 */ cmplw r31, r0
/* 8034CEF4 00349E54 40 82 00 10 */ bne lbl_8034CF04
/* 8034CEF8 00349E58 93 7D 00 0C */ stw r27, 0xc(r29)
/* 8034CEFC 00349E5C 48 00 00 08 */ b lbl_8034CF04
lbl_8034CF00:
/* 8034CF00 00349E60 7C 1F 03 78 */ mr r31, r0
lbl_8034CF04:
/* 8034CF04 00349E64 28 1A 00 00 */ cmplwi r26, 0
/* 8034CF08 00349E68 41 82 FE 8C */ beq lbl_8034CD94
/* 8034CF0C 00349E6C 80 BD 00 04 */ lwz r5, 4(r29)
/* 8034CF10 00349E70 7F 44 D3 78 */ mr r4, r26
/* 8034CF14 00349E74 38 7D 00 08 */ addi r3, r29, 8
/* 8034CF18 00349E78 38 05 00 01 */ addi r0, r5, 1
/* 8034CF1C 00349E7C 90 1D 00 04 */ stw r0, 4(r29)
/* 8034CF20 00349E80 4B FE FB 79 */ bl rbtree_rebalance__4rstlFPvPv
/* 8034CF24 00349E84 93 5C 00 00 */ stw r26, 0(r28)
/* 8034CF28 00349E88 38 1D 00 08 */ addi r0, r29, 8
/* 8034CF2C 00349E8C 90 1C 00 04 */ stw r0, 4(r28)
/* 8034CF30 00349E90 88 0D 9D E7 */ lbz r0, lbl_805A89A7@sda21(r13)
/* 8034CF34 00349E94 98 1C 00 08 */ stb r0, 8(r28)
lbl_8034CF38:
/* 8034CF38 00349E98 BB 41 00 08 */ lmw r26, 8(r1)
/* 8034CF3C 00349E9C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034CF40 00349EA0 7C 08 03 A6 */ mtlr r0
/* 8034CF44 00349EA4 38 21 00 20 */ addi r1, r1, 0x20
/* 8034CF48 00349EA8 4E 80 00 20 */ blr
.global "insert_into__Q24rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>>,Q24rstl8less<Ui>,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24"
"insert_into__Q24rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>>,Q24rstl8less<Ui>,Q24rstl17rmemory_allocator>FPQ34rstl273red_black_tree<Ui,Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>>,0,Q24rstl104select1st<Q24rstl84pair<Ui,Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24":
/* 8034CF4C 00349EAC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034CF50 00349EB0 7C 08 02 A6 */ mflr r0
/* 8034CF54 00349EB4 28 05 00 00 */ cmplwi r5, 0
/* 8034CF58 00349EB8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034CF5C 00349EBC BF 61 00 0C */ stmw r27, 0xc(r1)
/* 8034CF60 00349EC0 7C 7C 1B 78 */ mr r28, r3
/* 8034CF64 00349EC4 7C 9D 23 78 */ mr r29, r4
/* 8034CF68 00349EC8 7C DE 33 78 */ mr r30, r6
/* 8034CF6C 00349ECC 40 82 00 8C */ bne lbl_8034CFF8
/* 8034CF70 00349ED0 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034CF74 00349ED4 38 60 00 24 */ li r3, 0x24
/* 8034CF78 00349ED8 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034CF7C 00349EDC 38 A0 00 00 */ li r5, 0
/* 8034CF80 00349EE0 4B FC 88 99 */ bl __nwa__FUlPCcPCc
/* 8034CF84 00349EE4 7C 7F 1B 79 */ or. r31, r3, r3
/* 8034CF88 00349EE8 41 82 00 34 */ beq lbl_8034CFBC
/* 8034CF8C 00349EEC 38 00 00 00 */ li r0, 0
/* 8034CF90 00349EF0 34 BF 00 10 */ addic. r5, r31, 0x10
/* 8034CF94 00349EF4 90 1F 00 00 */ stw r0, 0(r31)
/* 8034CF98 00349EF8 90 1F 00 04 */ stw r0, 4(r31)
/* 8034CF9C 00349EFC 90 1F 00 08 */ stw r0, 8(r31)
/* 8034CFA0 00349F00 90 1F 00 0C */ stw r0, 0xc(r31)
/* 8034CFA4 00349F04 41 82 00 18 */ beq lbl_8034CFBC
/* 8034CFA8 00349F08 80 1E 00 00 */ lwz r0, 0(r30)
/* 8034CFAC 00349F0C 38 65 00 04 */ addi r3, r5, 4
/* 8034CFB0 00349F10 38 9E 00 04 */ addi r4, r30, 4
/* 8034CFB4 00349F14 90 05 00 00 */ stw r0, 0(r5)
/* 8034CFB8 00349F18 4B FF 11 A9 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8034CFBC:
/* 8034CFBC 00349F1C 93 FD 00 10 */ stw r31, 0x10(r29)
/* 8034CFC0 00349F20 38 1D 00 08 */ addi r0, r29, 8
/* 8034CFC4 00349F24 80 7D 00 04 */ lwz r3, 4(r29)
/* 8034CFC8 00349F28 38 63 00 01 */ addi r3, r3, 1
/* 8034CFCC 00349F2C 90 7D 00 04 */ stw r3, 4(r29)
/* 8034CFD0 00349F30 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034CFD4 00349F34 90 7D 00 08 */ stw r3, 8(r29)
/* 8034CFD8 00349F38 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034CFDC 00349F3C 90 7D 00 0C */ stw r3, 0xc(r29)
/* 8034CFE0 00349F40 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034CFE4 00349F44 90 7C 00 00 */ stw r3, 0(r28)
/* 8034CFE8 00349F48 90 1C 00 04 */ stw r0, 4(r28)
/* 8034CFEC 00349F4C 88 0D 9D E2 */ lbz r0, lbl_805A89A2@sda21(r13)
/* 8034CFF0 00349F50 98 1C 00 08 */ stb r0, 8(r28)
/* 8034CFF4 00349F54 48 00 01 7C */ b lbl_8034D170
lbl_8034CFF8:
/* 8034CFF8 00349F58 7C BF 2B 78 */ mr r31, r5
/* 8034CFFC 00349F5C 3B 60 00 00 */ li r27, 0
/* 8034D000 00349F60 48 00 01 3C */ b lbl_8034D13C
lbl_8034D004:
/* 8034D004 00349F64 80 7E 00 00 */ lwz r3, 0(r30)
/* 8034D008 00349F68 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8034D00C 00349F6C 7C 80 1A 78 */ xor r0, r4, r3
/* 8034D010 00349F70 7C 00 00 34 */ cntlzw r0, r0
/* 8034D014 00349F74 7C 80 00 30 */ slw r0, r4, r0
/* 8034D018 00349F78 54 00 0F FF */ rlwinm. r0, r0, 1, 0x1f, 0x1f
/* 8034D01C 00349F7C 40 82 00 24 */ bne lbl_8034D040
/* 8034D020 00349F80 7C 04 18 40 */ cmplw r4, r3
/* 8034D024 00349F84 41 80 00 1C */ blt lbl_8034D040
/* 8034D028 00349F88 93 FC 00 00 */ stw r31, 0(r28)
/* 8034D02C 00349F8C 38 1D 00 08 */ addi r0, r29, 8
/* 8034D030 00349F90 90 1C 00 04 */ stw r0, 4(r28)
/* 8034D034 00349F94 88 0D 9D E3 */ lbz r0, lbl_805A89A3@sda21(r13)
/* 8034D038 00349F98 98 1C 00 08 */ stb r0, 8(r28)
/* 8034D03C 00349F9C 48 00 01 34 */ b lbl_8034D170
lbl_8034D040:
/* 8034D040 00349FA0 28 00 00 00 */ cmplwi r0, 0
/* 8034D044 00349FA4 41 82 00 80 */ beq lbl_8034D0C4
/* 8034D048 00349FA8 80 1F 00 00 */ lwz r0, 0(r31)
/* 8034D04C 00349FAC 28 00 00 00 */ cmplwi r0, 0
/* 8034D050 00349FB0 40 82 00 6C */ bne lbl_8034D0BC
/* 8034D054 00349FB4 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034D058 00349FB8 38 60 00 24 */ li r3, 0x24
/* 8034D05C 00349FBC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034D060 00349FC0 38 A0 00 00 */ li r5, 0
/* 8034D064 00349FC4 4B FC 87 B5 */ bl __nwa__FUlPCcPCc
/* 8034D068 00349FC8 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034D06C 00349FCC 41 82 00 38 */ beq lbl_8034D0A4
/* 8034D070 00349FD0 38 60 00 00 */ li r3, 0
/* 8034D074 00349FD4 34 BB 00 10 */ addic. r5, r27, 0x10
/* 8034D078 00349FD8 90 7B 00 00 */ stw r3, 0(r27)
/* 8034D07C 00349FDC 38 00 00 01 */ li r0, 1
/* 8034D080 00349FE0 90 7B 00 04 */ stw r3, 4(r27)
/* 8034D084 00349FE4 93 FB 00 08 */ stw r31, 8(r27)
/* 8034D088 00349FE8 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034D08C 00349FEC 41 82 00 18 */ beq lbl_8034D0A4
/* 8034D090 00349FF0 80 1E 00 00 */ lwz r0, 0(r30)
/* 8034D094 00349FF4 38 65 00 04 */ addi r3, r5, 4
/* 8034D098 00349FF8 38 9E 00 04 */ addi r4, r30, 4
/* 8034D09C 00349FFC 90 05 00 00 */ stw r0, 0(r5)
/* 8034D0A0 0034A000 4B FF 10 C1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8034D0A4:
/* 8034D0A4 0034A004 93 7F 00 00 */ stw r27, 0(r31)
/* 8034D0A8 0034A008 80 1D 00 08 */ lwz r0, 8(r29)
/* 8034D0AC 0034A00C 7C 1F 00 40 */ cmplw r31, r0
/* 8034D0B0 0034A010 40 82 00 8C */ bne lbl_8034D13C
/* 8034D0B4 0034A014 93 7D 00 08 */ stw r27, 8(r29)
/* 8034D0B8 0034A018 48 00 00 84 */ b lbl_8034D13C
lbl_8034D0BC:
/* 8034D0BC 0034A01C 7C 1F 03 78 */ mr r31, r0
/* 8034D0C0 0034A020 48 00 00 7C */ b lbl_8034D13C
lbl_8034D0C4:
/* 8034D0C4 0034A024 80 1F 00 04 */ lwz r0, 4(r31)
/* 8034D0C8 0034A028 28 00 00 00 */ cmplwi r0, 0
/* 8034D0CC 0034A02C 40 82 00 6C */ bne lbl_8034D138
/* 8034D0D0 0034A030 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034D0D4 0034A034 38 60 00 24 */ li r3, 0x24
/* 8034D0D8 0034A038 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034D0DC 0034A03C 38 A0 00 00 */ li r5, 0
/* 8034D0E0 0034A040 4B FC 87 39 */ bl __nwa__FUlPCcPCc
/* 8034D0E4 0034A044 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034D0E8 0034A048 41 82 00 38 */ beq lbl_8034D120
/* 8034D0EC 0034A04C 38 60 00 00 */ li r3, 0
/* 8034D0F0 0034A050 34 BB 00 10 */ addic. r5, r27, 0x10
/* 8034D0F4 0034A054 90 7B 00 00 */ stw r3, 0(r27)
/* 8034D0F8 0034A058 38 00 00 01 */ li r0, 1
/* 8034D0FC 0034A05C 90 7B 00 04 */ stw r3, 4(r27)
/* 8034D100 0034A060 93 FB 00 08 */ stw r31, 8(r27)
/* 8034D104 0034A064 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034D108 0034A068 41 82 00 18 */ beq lbl_8034D120
/* 8034D10C 0034A06C 80 1E 00 00 */ lwz r0, 0(r30)
/* 8034D110 0034A070 38 65 00 04 */ addi r3, r5, 4
/* 8034D114 0034A074 38 9E 00 04 */ addi r4, r30, 4
/* 8034D118 0034A078 90 05 00 00 */ stw r0, 0(r5)
/* 8034D11C 0034A07C 4B FF 10 45 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
lbl_8034D120:
/* 8034D120 0034A080 93 7F 00 04 */ stw r27, 4(r31)
/* 8034D124 0034A084 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8034D128 0034A088 7C 1F 00 40 */ cmplw r31, r0
/* 8034D12C 0034A08C 40 82 00 10 */ bne lbl_8034D13C
/* 8034D130 0034A090 93 7D 00 0C */ stw r27, 0xc(r29)
/* 8034D134 0034A094 48 00 00 08 */ b lbl_8034D13C
lbl_8034D138:
/* 8034D138 0034A098 7C 1F 03 78 */ mr r31, r0
lbl_8034D13C:
/* 8034D13C 0034A09C 28 1B 00 00 */ cmplwi r27, 0
/* 8034D140 0034A0A0 41 82 FE C4 */ beq lbl_8034D004
/* 8034D144 0034A0A4 80 BD 00 04 */ lwz r5, 4(r29)
/* 8034D148 0034A0A8 7F 64 DB 78 */ mr r4, r27
/* 8034D14C 0034A0AC 38 7D 00 08 */ addi r3, r29, 8
/* 8034D150 0034A0B0 38 05 00 01 */ addi r0, r5, 1
/* 8034D154 0034A0B4 90 1D 00 04 */ stw r0, 4(r29)
/* 8034D158 0034A0B8 4B FE F9 41 */ bl rbtree_rebalance__4rstlFPvPv
/* 8034D15C 0034A0BC 93 7C 00 00 */ stw r27, 0(r28)
/* 8034D160 0034A0C0 38 1D 00 08 */ addi r0, r29, 8
/* 8034D164 0034A0C4 90 1C 00 04 */ stw r0, 4(r28)
/* 8034D168 0034A0C8 88 0D 9D E4 */ lbz r0, lbl_805A89A4@sda21(r13)
/* 8034D16C 0034A0CC 98 1C 00 08 */ stb r0, 8(r28)
lbl_8034D170:
/* 8034D170 0034A0D0 BB 61 00 0C */ lmw r27, 0xc(r1)
/* 8034D174 0034A0D4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034D178 0034A0D8 7C 08 03 A6 */ mtlr r0
/* 8034D17C 0034A0DC 38 21 00 20 */ addi r1, r1, 0x20
/* 8034D180 0034A0E0 4E 80 00 20 */ blr
.global sub_8034d184
sub_8034d184:
/* 8034D184 0034A0E4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034D188 0034A0E8 7C 08 02 A6 */ mflr r0
/* 8034D18C 0034A0EC 28 05 00 00 */ cmplwi r5, 0
/* 8034D190 0034A0F0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034D194 0034A0F4 BF 41 00 08 */ stmw r26, 8(r1)
/* 8034D198 0034A0F8 7C 7C 1B 78 */ mr r28, r3
/* 8034D19C 0034A0FC 7C 9D 23 78 */ mr r29, r4
/* 8034D1A0 0034A100 7C DE 33 78 */ mr r30, r6
/* 8034D1A4 0034A104 40 82 00 9C */ bne lbl_8034D240
/* 8034D1A8 0034A108 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034D1AC 0034A10C 38 60 00 24 */ li r3, 0x24
/* 8034D1B0 0034A110 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034D1B4 0034A114 38 A0 00 00 */ li r5, 0
/* 8034D1B8 0034A118 4B FC 86 61 */ bl __nwa__FUlPCcPCc
/* 8034D1BC 0034A11C 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034D1C0 0034A120 41 82 00 44 */ beq lbl_8034D204
/* 8034D1C4 0034A124 38 00 00 00 */ li r0, 0
/* 8034D1C8 0034A128 37 FB 00 10 */ addic. r31, r27, 0x10
/* 8034D1CC 0034A12C 90 1B 00 00 */ stw r0, 0(r27)
/* 8034D1D0 0034A130 90 1B 00 04 */ stw r0, 4(r27)
/* 8034D1D4 0034A134 90 1B 00 08 */ stw r0, 8(r27)
/* 8034D1D8 0034A138 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034D1DC 0034A13C 41 82 00 28 */ beq lbl_8034D204
/* 8034D1E0 0034A140 7F E3 FB 78 */ mr r3, r31
/* 8034D1E4 0034A144 7F C4 F3 78 */ mr r4, r30
/* 8034D1E8 0034A148 4B FF 0F 79 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034D1EC 0034A14C 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8034D1F0 0034A150 90 1F 00 10 */ stw r0, 0x10(r31)
/* 8034D1F4 0034A154 80 9F 00 10 */ lwz r4, 0x10(r31)
/* 8034D1F8 0034A158 80 64 00 04 */ lwz r3, 4(r4)
/* 8034D1FC 0034A15C 38 03 00 01 */ addi r0, r3, 1
/* 8034D200 0034A160 90 04 00 04 */ stw r0, 4(r4)
lbl_8034D204:
/* 8034D204 0034A164 93 7D 00 10 */ stw r27, 0x10(r29)
/* 8034D208 0034A168 38 1D 00 08 */ addi r0, r29, 8
/* 8034D20C 0034A16C 80 7D 00 04 */ lwz r3, 4(r29)
/* 8034D210 0034A170 38 63 00 01 */ addi r3, r3, 1
/* 8034D214 0034A174 90 7D 00 04 */ stw r3, 4(r29)
/* 8034D218 0034A178 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034D21C 0034A17C 90 7D 00 08 */ stw r3, 8(r29)
/* 8034D220 0034A180 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034D224 0034A184 90 7D 00 0C */ stw r3, 0xc(r29)
/* 8034D228 0034A188 80 7D 00 10 */ lwz r3, 0x10(r29)
/* 8034D22C 0034A18C 90 7C 00 00 */ stw r3, 0(r28)
/* 8034D230 0034A190 90 1C 00 04 */ stw r0, 4(r28)
/* 8034D234 0034A194 88 0D 9D DF */ lbz r0, lbl_805A899F@sda21(r13)
/* 8034D238 0034A198 98 1C 00 08 */ stb r0, 8(r28)
/* 8034D23C 0034A19C 48 00 01 B4 */ b lbl_8034D3F0
lbl_8034D240:
/* 8034D240 0034A1A0 7C BF 2B 78 */ mr r31, r5
/* 8034D244 0034A1A4 3B 40 00 00 */ li r26, 0
/* 8034D248 0034A1A8 48 00 01 74 */ b lbl_8034D3BC
lbl_8034D24C:
/* 8034D24C 0034A1AC 7F C4 F3 78 */ mr r4, r30
/* 8034D250 0034A1B0 38 7D 00 01 */ addi r3, r29, 1
/* 8034D254 0034A1B4 38 BF 00 10 */ addi r5, r31, 0x10
/* 8034D258 0034A1B8 4B CD D4 D1 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034D25C 0034A1BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034D260 0034A1C0 7C 7B 1B 78 */ mr r27, r3
/* 8034D264 0034A1C4 40 82 00 34 */ bne lbl_8034D298
/* 8034D268 0034A1C8 7F C5 F3 78 */ mr r5, r30
/* 8034D26C 0034A1CC 38 7D 00 01 */ addi r3, r29, 1
/* 8034D270 0034A1D0 38 9F 00 10 */ addi r4, r31, 0x10
/* 8034D274 0034A1D4 4B CD D4 B5 */ bl "__cl__Q24rstl140select1st<Q24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>>CFRCQ24rstl119pair<Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>,Q24rstl28auto_ptr<16CParticleGenInfo>>"
/* 8034D278 0034A1D8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8034D27C 0034A1DC 40 82 00 1C */ bne lbl_8034D298
/* 8034D280 0034A1E0 93 FC 00 00 */ stw r31, 0(r28)
/* 8034D284 0034A1E4 38 1D 00 08 */ addi r0, r29, 8
/* 8034D288 0034A1E8 90 1C 00 04 */ stw r0, 4(r28)
/* 8034D28C 0034A1EC 88 0D 9D E0 */ lbz r0, lbl_805A89A0@sda21(r13)
/* 8034D290 0034A1F0 98 1C 00 08 */ stb r0, 8(r28)
/* 8034D294 0034A1F4 48 00 01 5C */ b lbl_8034D3F0
lbl_8034D298:
/* 8034D298 0034A1F8 57 60 06 3F */ clrlwi. r0, r27, 0x18
/* 8034D29C 0034A1FC 41 82 00 94 */ beq lbl_8034D330
/* 8034D2A0 0034A200 80 1F 00 00 */ lwz r0, 0(r31)
/* 8034D2A4 0034A204 28 00 00 00 */ cmplwi r0, 0
/* 8034D2A8 0034A208 40 82 00 80 */ bne lbl_8034D328
/* 8034D2AC 0034A20C 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034D2B0 0034A210 38 60 00 24 */ li r3, 0x24
/* 8034D2B4 0034A214 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034D2B8 0034A218 38 A0 00 00 */ li r5, 0
/* 8034D2BC 0034A21C 4B FC 85 5D */ bl __nwa__FUlPCcPCc
/* 8034D2C0 0034A220 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034D2C4 0034A224 41 82 00 48 */ beq lbl_8034D30C
/* 8034D2C8 0034A228 38 60 00 00 */ li r3, 0
/* 8034D2CC 0034A22C 37 5B 00 10 */ addic. r26, r27, 0x10
/* 8034D2D0 0034A230 90 7B 00 00 */ stw r3, 0(r27)
/* 8034D2D4 0034A234 38 00 00 01 */ li r0, 1
/* 8034D2D8 0034A238 90 7B 00 04 */ stw r3, 4(r27)
/* 8034D2DC 0034A23C 93 FB 00 08 */ stw r31, 8(r27)
/* 8034D2E0 0034A240 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034D2E4 0034A244 41 82 00 28 */ beq lbl_8034D30C
/* 8034D2E8 0034A248 7F 43 D3 78 */ mr r3, r26
/* 8034D2EC 0034A24C 7F C4 F3 78 */ mr r4, r30
/* 8034D2F0 0034A250 4B FF 0E 71 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034D2F4 0034A254 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8034D2F8 0034A258 90 1A 00 10 */ stw r0, 0x10(r26)
/* 8034D2FC 0034A25C 80 9A 00 10 */ lwz r4, 0x10(r26)
/* 8034D300 0034A260 80 64 00 04 */ lwz r3, 4(r4)
/* 8034D304 0034A264 38 03 00 01 */ addi r0, r3, 1
/* 8034D308 0034A268 90 04 00 04 */ stw r0, 4(r4)
lbl_8034D30C:
/* 8034D30C 0034A26C 93 7F 00 00 */ stw r27, 0(r31)
/* 8034D310 0034A270 7F 7A DB 78 */ mr r26, r27
/* 8034D314 0034A274 80 1D 00 08 */ lwz r0, 8(r29)
/* 8034D318 0034A278 7C 1F 00 40 */ cmplw r31, r0
/* 8034D31C 0034A27C 40 82 00 A0 */ bne lbl_8034D3BC
/* 8034D320 0034A280 93 7D 00 08 */ stw r27, 8(r29)
/* 8034D324 0034A284 48 00 00 98 */ b lbl_8034D3BC
lbl_8034D328:
/* 8034D328 0034A288 7C 1F 03 78 */ mr r31, r0
/* 8034D32C 0034A28C 48 00 00 90 */ b lbl_8034D3BC
lbl_8034D330:
/* 8034D330 0034A290 80 1F 00 04 */ lwz r0, 4(r31)
/* 8034D334 0034A294 28 00 00 00 */ cmplwi r0, 0
/* 8034D338 0034A298 40 82 00 80 */ bne lbl_8034D3B8
/* 8034D33C 0034A29C 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034D340 0034A2A0 38 60 00 24 */ li r3, 0x24
/* 8034D344 0034A2A4 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034D348 0034A2A8 38 A0 00 00 */ li r5, 0
/* 8034D34C 0034A2AC 4B FC 84 CD */ bl __nwa__FUlPCcPCc
/* 8034D350 0034A2B0 7C 7B 1B 79 */ or. r27, r3, r3
/* 8034D354 0034A2B4 41 82 00 48 */ beq lbl_8034D39C
/* 8034D358 0034A2B8 38 60 00 00 */ li r3, 0
/* 8034D35C 0034A2BC 37 5B 00 10 */ addic. r26, r27, 0x10
/* 8034D360 0034A2C0 90 7B 00 00 */ stw r3, 0(r27)
/* 8034D364 0034A2C4 38 00 00 01 */ li r0, 1
/* 8034D368 0034A2C8 90 7B 00 04 */ stw r3, 4(r27)
/* 8034D36C 0034A2CC 93 FB 00 08 */ stw r31, 8(r27)
/* 8034D370 0034A2D0 90 1B 00 0C */ stw r0, 0xc(r27)
/* 8034D374 0034A2D4 41 82 00 28 */ beq lbl_8034D39C
/* 8034D378 0034A2D8 7F 43 D3 78 */ mr r3, r26
/* 8034D37C 0034A2DC 7F C4 F3 78 */ mr r4, r30
/* 8034D380 0034A2E0 4B FF 0D E1 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034D384 0034A2E4 80 1E 00 10 */ lwz r0, 0x10(r30)
/* 8034D388 0034A2E8 90 1A 00 10 */ stw r0, 0x10(r26)
/* 8034D38C 0034A2EC 80 9A 00 10 */ lwz r4, 0x10(r26)
/* 8034D390 0034A2F0 80 64 00 04 */ lwz r3, 4(r4)
/* 8034D394 0034A2F4 38 03 00 01 */ addi r0, r3, 1
/* 8034D398 0034A2F8 90 04 00 04 */ stw r0, 4(r4)
lbl_8034D39C:
/* 8034D39C 0034A2FC 93 7F 00 04 */ stw r27, 4(r31)
/* 8034D3A0 0034A300 7F 7A DB 78 */ mr r26, r27
/* 8034D3A4 0034A304 80 1D 00 0C */ lwz r0, 0xc(r29)
/* 8034D3A8 0034A308 7C 1F 00 40 */ cmplw r31, r0
/* 8034D3AC 0034A30C 40 82 00 10 */ bne lbl_8034D3BC
/* 8034D3B0 0034A310 93 7D 00 0C */ stw r27, 0xc(r29)
/* 8034D3B4 0034A314 48 00 00 08 */ b lbl_8034D3BC
lbl_8034D3B8:
/* 8034D3B8 0034A318 7C 1F 03 78 */ mr r31, r0
lbl_8034D3BC:
/* 8034D3BC 0034A31C 28 1A 00 00 */ cmplwi r26, 0
/* 8034D3C0 0034A320 41 82 FE 8C */ beq lbl_8034D24C
/* 8034D3C4 0034A324 80 BD 00 04 */ lwz r5, 4(r29)
/* 8034D3C8 0034A328 7F 44 D3 78 */ mr r4, r26
/* 8034D3CC 0034A32C 38 7D 00 08 */ addi r3, r29, 8
/* 8034D3D0 0034A330 38 05 00 01 */ addi r0, r5, 1
/* 8034D3D4 0034A334 90 1D 00 04 */ stw r0, 4(r29)
/* 8034D3D8 0034A338 4B FE F6 C1 */ bl rbtree_rebalance__4rstlFPvPv
/* 8034D3DC 0034A33C 93 5C 00 00 */ stw r26, 0(r28)
/* 8034D3E0 0034A340 38 1D 00 08 */ addi r0, r29, 8
/* 8034D3E4 0034A344 90 1C 00 04 */ stw r0, 4(r28)
/* 8034D3E8 0034A348 88 0D 9D E1 */ lbz r0, lbl_805A89A1@sda21(r13)
/* 8034D3EC 0034A34C 98 1C 00 08 */ stb r0, 8(r28)
lbl_8034D3F0:
/* 8034D3F0 0034A350 BB 41 00 08 */ lmw r26, 8(r1)
/* 8034D3F4 0034A354 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034D3F8 0034A358 7C 08 03 A6 */ mtlr r0
/* 8034D3FC 0034A35C 38 21 00 20 */ addi r1, r1, 0x20
/* 8034D400 0034A360 4E 80 00 20 */ blr
.global sub_8034d404
sub_8034d404:
/* 8034D404 0034A364 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8034D408 0034A368 7C 08 02 A6 */ mflr r0
/* 8034D40C 0034A36C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8034D410 0034A370 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8034D414 0034A374 93 C1 00 08 */ stw r30, 8(r1)
/* 8034D418 0034A378 7C 7E 1B 78 */ mr r30, r3
/* 8034D41C 0034A37C 80 83 00 00 */ lwz r4, 0(r3)
/* 8034D420 0034A380 80 64 00 04 */ lwz r3, 4(r4)
/* 8034D424 0034A384 34 03 FF FF */ addic. r0, r3, -1
/* 8034D428 0034A388 90 04 00 04 */ stw r0, 4(r4)
/* 8034D42C 0034A38C 41 81 00 3C */ bgt lbl_8034D468
/* 8034D430 0034A390 80 7E 00 00 */ lwz r3, 0(r30)
/* 8034D434 0034A394 83 E3 00 00 */ lwz r31, 0(r3)
/* 8034D438 0034A398 28 1F 00 00 */ cmplwi r31, 0
/* 8034D43C 0034A39C 41 82 00 1C */ beq lbl_8034D458
/* 8034D440 0034A3A0 34 1F 00 54 */ addic. r0, r31, 0x54
/* 8034D444 0034A3A4 41 82 00 0C */ beq lbl_8034D450
/* 8034D448 0034A3A8 38 7F 00 54 */ addi r3, r31, 0x54
/* 8034D44C 0034A3AC 4B FF 06 95 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
lbl_8034D450:
/* 8034D450 0034A3B0 7F E3 FB 78 */ mr r3, r31
/* 8034D454 0034A3B4 4B FC 84 DD */ bl Free__7CMemoryFPCv
lbl_8034D458:
/* 8034D458 0034A3B8 80 7E 00 00 */ lwz r3, 0(r30)
/* 8034D45C 0034A3BC 28 03 00 00 */ cmplwi r3, 0
/* 8034D460 0034A3C0 41 82 00 08 */ beq lbl_8034D468
/* 8034D464 0034A3C4 4B FC 84 CD */ bl Free__7CMemoryFPCv
lbl_8034D468:
/* 8034D468 0034A3C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8034D46C 0034A3CC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8034D470 0034A3D0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8034D474 0034A3D4 7C 08 03 A6 */ mtlr r0
/* 8034D478 0034A3D8 38 21 00 10 */ addi r1, r1, 0x10
/* 8034D47C 0034A3DC 4E 80 00 20 */ blr
.global __sinit_DolphinCAudioSys_cpp
__sinit_DolphinCAudioSys_cpp:
/* 8034D480 0034A3E0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8034D484 0034A3E4 7C 08 02 A6 */ mflr r0
/* 8034D488 0034A3E8 3C 80 80 3E */ lis r4, lbl_803D8210@ha
/* 8034D48C 0034A3EC 38 84 82 10 */ addi r4, r4, lbl_803D8210@l
/* 8034D490 0034A3F0 90 01 00 24 */ stw r0, 0x24(r1)
/* 8034D494 0034A3F4 38 61 00 08 */ addi r3, r1, 8
/* 8034D498 0034A3F8 38 84 00 07 */ addi r4, r4, 7
/* 8034D49C 0034A3FC 4B CB 78 1D */ bl string_l__4rstlFPCc
/* 8034D4A0 0034A400 3C 60 80 5A */ lis r3, mpDefaultInvalidString__9CAudioSys@ha
/* 8034D4A4 0034A404 38 81 00 08 */ addi r4, r1, 8
/* 8034D4A8 0034A408 38 63 67 CC */ addi r3, r3, mpDefaultInvalidString__9CAudioSys@l
/* 8034D4AC 0034A40C 4B FF 0C B5 */ bl "__ct__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>"
/* 8034D4B0 0034A410 3C 80 80 00 */ lis r4, sub_80004a9c@ha
/* 8034D4B4 0034A414 3C A0 80 4C */ lis r5, lbl_804BFF90@ha
/* 8034D4B8 0034A418 38 84 4A 9C */ addi r4, r4, sub_80004a9c@l
/* 8034D4BC 0034A41C 38 A5 FF 90 */ addi r5, r5, lbl_804BFF90@l
/* 8034D4C0 0034A420 48 03 C1 CD */ bl __register_global_object
/* 8034D4C4 0034A424 38 61 00 08 */ addi r3, r1, 8
/* 8034D4C8 0034A428 4B FF 06 19 */ bl "internal_dereference__Q24rstl66basic_string<c,Q24rstl14char_traits<c>,Q24rstl17rmemory_allocator>Fv"
/* 8034D4CC 0034A42C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8034D4D0 0034A430 7C 08 03 A6 */ mtlr r0
/* 8034D4D4 0034A434 38 21 00 20 */ addi r1, r1, 0x20
/* 8034D4D8 0034A438 4E 80 00 20 */ blr
.section .sdata2, "a"
.balign 8
.global kMaxVolume__9CAudioSys
kMaxVolume__9CAudioSys:
# ROM: 0x3FB200
.byte 0x7F
.global lbl_805AE961
lbl_805AE961:
# ROM: 0x3FB201
.byte 0x7F, 0x00, 0x00
.global lbl_805AE964
lbl_805AE964:
# ROM: 0x3FB204
.4byte DoMalloc__FUl
.global lbl_805AE968
lbl_805AE968:
# ROM: 0x3FB208
.4byte DoFree__FPv
.4byte 0
.section .rodata
.balign 8
.global lbl_803D8210
lbl_803D8210:
# ROM: 0x3D5210
.asciz "??(??)"
.byte 0x4E
.4byte 0x554C4C00
.4byte 0