.include "macros.inc" .section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860 .global __ct__Q44nw4r3snd6detail10BasicSoundFii __ct__Q44nw4r3snd6detail10BasicSoundFii: /* 801054B0 001012F0 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 801054B4 001012F4 3D 00 80 44 */ lis r8, __vt__Q44nw4r3snd6detail10BasicSound@ha /* 801054B8 001012F8 38 E0 00 00 */ li r7, 0x0 /* 801054BC 001012FC C0 22 93 30 */ lfs f1, "@12466"@sda21(r2) /* 801054C0 00101300 39 08 20 00 */ addi r8, r8, __vt__Q44nw4r3snd6detail10BasicSound@l /* 801054C4 00101304 38 C0 FF FF */ li r6, -0x1 /* 801054C8 00101308 38 00 00 01 */ li r0, 0x1 /* 801054CC 0010130C 91 03 00 00 */ stw r8, 0x0(r3) /* 801054D0 00101310 90 E3 00 04 */ stw r7, 0x4(r3) /* 801054D4 00101314 90 E3 00 08 */ stw r7, 0x8(r3) /* 801054D8 00101318 90 E3 00 0C */ stw r7, 0xc(r3) /* 801054DC 0010131C 90 E3 00 10 */ stw r7, 0x10(r3) /* 801054E0 00101320 90 E3 00 14 */ stw r7, 0x14(r3) /* 801054E4 00101324 90 E3 00 18 */ stw r7, 0x18(r3) /* 801054E8 00101328 D0 23 00 30 */ stfs f1, 0x30(r3) /* 801054EC 0010132C D0 23 00 34 */ stfs f1, 0x34(r3) /* 801054F0 00101330 D0 03 00 38 */ stfs f0, 0x38(r3) /* 801054F4 00101334 D0 03 00 3C */ stfs f0, 0x3c(r3) /* 801054F8 00101338 D0 03 00 40 */ stfs f0, 0x40(r3) /* 801054FC 0010133C D0 03 00 44 */ stfs f0, 0x44(r3) /* 80105500 00101340 D0 03 00 48 */ stfs f0, 0x48(r3) /* 80105504 00101344 90 E3 00 4C */ stw r7, 0x4c(r3) /* 80105508 00101348 90 E3 00 54 */ stw r7, 0x54(r3) /* 8010550C 0010134C D0 23 00 58 */ stfs f1, 0x58(r3) /* 80105510 00101350 D0 23 00 5C */ stfs f1, 0x5c(r3) /* 80105514 00101354 D0 03 00 60 */ stfs f0, 0x60(r3) /* 80105518 00101358 D0 03 00 64 */ stfs f0, 0x64(r3) /* 8010551C 0010135C D0 03 00 68 */ stfs f0, 0x68(r3) /* 80105520 00101360 90 E3 00 6C */ stw r7, 0x6c(r3) /* 80105524 00101364 90 E3 00 70 */ stw r7, 0x70(r3) /* 80105528 00101368 D0 03 00 74 */ stfs f0, 0x74(r3) /* 8010552C 0010136C D0 03 00 78 */ stfs f0, 0x78(r3) /* 80105530 00101370 90 E3 00 7C */ stw r7, 0x7c(r3) /* 80105534 00101374 90 E3 00 80 */ stw r7, 0x80(r3) /* 80105538 00101378 90 C3 00 9C */ stw r6, 0x9c(r3) /* 8010553C 0010137C D0 03 00 A0 */ stfs f0, 0xa0(r3) /* 80105540 00101380 D0 03 00 A4 */ stfs f0, 0xa4(r3) /* 80105544 00101384 90 E3 00 A8 */ stw r7, 0xa8(r3) /* 80105548 00101388 90 E3 00 AC */ stw r7, 0xac(r3) /* 8010554C 0010138C 90 E3 00 F0 */ stw r7, 0xf0(r3) /* 80105550 00101390 90 E3 00 F4 */ stw r7, 0xf4(r3) /* 80105554 00101394 90 E3 00 F8 */ stw r7, 0xf8(r3) /* 80105558 00101398 90 E3 00 FC */ stw r7, 0xfc(r3) /* 8010555C 0010139C 90 E3 01 00 */ stw r7, 0x100(r3) /* 80105560 001013A0 90 E3 01 04 */ stw r7, 0x104(r3) /* 80105564 001013A4 90 E3 01 08 */ stw r7, 0x108(r3) /* 80105568 001013A8 90 E3 01 0C */ stw r7, 0x10c(r3) /* 8010556C 001013AC 90 E3 00 1C */ stw r7, 0x1c(r3) /* 80105570 001013B0 90 E3 00 20 */ stw r7, 0x20(r3) /* 80105574 001013B4 90 E3 00 24 */ stw r7, 0x24(r3) /* 80105578 001013B8 90 E3 00 28 */ stw r7, 0x28(r3) /* 8010557C 001013BC 90 E3 00 2C */ stw r7, 0x2c(r3) /* 80105580 001013C0 98 03 00 99 */ stb r0, 0x99(r3) /* 80105584 001013C4 98 83 00 98 */ stb r4, 0x98(r3) /* 80105588 001013C8 90 A3 00 50 */ stw r5, 0x50(r3) /* 8010558C 001013CC 4E 80 00 20 */ blr .global InitParam__Q44nw4r3snd6detail10BasicSoundFv InitParam__Q44nw4r3snd6detail10BasicSoundFv: /* 80105590 001013D0 38 00 00 00 */ li r0, 0x0 /* 80105594 001013D4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80105598 001013D8 C0 82 93 34 */ lfs f4, "@12467"@sda21(r2) /* 8010559C 001013DC 7C 00 00 00 */ cmpw r0, r0 /* 801055A0 001013E0 C0 02 93 30 */ lfs f0, "@12466"@sda21(r2) /* 801055A4 001013E4 90 03 00 88 */ stw r0, 0x88(r3) /* 801055A8 001013E8 98 03 00 8C */ stb r0, 0x8c(r3) /* 801055AC 001013EC 98 03 00 84 */ stb r0, 0x84(r3) /* 801055B0 001013F0 98 03 00 85 */ stb r0, 0x85(r3) /* 801055B4 001013F4 98 03 00 86 */ stb r0, 0x86(r3) /* 801055B8 001013F8 98 03 00 87 */ stb r0, 0x87(r3) /* 801055BC 001013FC 90 03 00 90 */ stw r0, 0x90(r3) /* 801055C0 00101400 90 03 00 94 */ stw r0, 0x94(r3) /* 801055C4 00101404 D0 83 00 64 */ stfs f4, 0x64(r3) /* 801055C8 00101408 D0 83 00 68 */ stfs f4, 0x68(r3) /* 801055CC 0010140C 90 03 00 6C */ stw r0, 0x6c(r3) /* 801055D0 00101410 90 03 00 70 */ stw r0, 0x70(r3) /* 801055D4 00101414 D0 03 00 74 */ stfs f0, 0x74(r3) /* 801055D8 00101418 D0 03 00 78 */ stfs f0, 0x78(r3) /* 801055DC 0010141C 90 03 00 7C */ stw r0, 0x7c(r3) /* 801055E0 00101420 90 03 00 80 */ stw r0, 0x80(r3) /* 801055E4 00101424 41 80 00 08 */ blt lbl_801055EC /* 801055E8 00101428 48 00 00 40 */ b lbl_80105628 .global lbl_801055EC lbl_801055EC: /* 801055EC 0010142C 6C 04 80 00 */ xoris r4, r0, 0x8000 /* 801055F0 00101430 3C 00 43 30 */ lis r0, 0x4330 /* 801055F4 00101434 90 81 00 0C */ stw r4, 0xc(r1) /* 801055F8 00101438 EC 24 20 28 */ fsubs f1, f4, f4 /* 801055FC 0010143C C8 62 93 38 */ lfd f3, "@12524"@sda21(r2) /* 80105600 00101440 90 01 00 08 */ stw r0, 0x8(r1) /* 80105604 00101444 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105608 00101448 90 81 00 14 */ stw r4, 0x14(r1) /* 8010560C 0010144C EC 40 18 28 */ fsubs f2, f0, f3 /* 80105610 00101450 90 01 00 10 */ stw r0, 0x10(r1) /* 80105614 00101454 C8 01 00 10 */ lfd f0, 0x10(r1) /* 80105618 00101458 EC 22 00 72 */ fmuls f1, f2, f1 /* 8010561C 0010145C EC 00 18 28 */ fsubs f0, f0, f3 /* 80105620 00101460 EC 01 00 24 */ fdivs f0, f1, f0 /* 80105624 00101464 EC 84 00 2A */ fadds f4, f4, f0 .global lbl_80105628 lbl_80105628: /* 80105628 00101468 80 A3 00 10 */ lwz r5, 0x10(r3) /* 8010562C 0010146C 38 00 00 00 */ li r0, 0x0 /* 80105630 00101470 C0 22 93 30 */ lfs f1, "@12466"@sda21(r2) /* 80105634 00101474 38 80 00 01 */ li r4, 0x1 /* 80105638 00101478 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 8010563C 0010147C 2C 05 00 00 */ cmpwi r5, 0x0 /* 80105640 00101480 D0 83 00 64 */ stfs f4, 0x64(r3) /* 80105644 00101484 D0 23 00 68 */ stfs f1, 0x68(r3) /* 80105648 00101488 90 83 00 6C */ stw r4, 0x6c(r3) /* 8010564C 0010148C 90 03 00 70 */ stw r0, 0x70(r3) /* 80105650 00101490 D0 23 00 B0 */ stfs f1, 0xb0(r3) /* 80105654 00101494 D0 23 00 BC */ stfs f1, 0xbc(r3) /* 80105658 00101498 D0 03 00 B4 */ stfs f0, 0xb4(r3) /* 8010565C 0010149C D0 03 00 B8 */ stfs f0, 0xb8(r3) /* 80105660 001014A0 D0 23 00 A0 */ stfs f1, 0xa0(r3) /* 80105664 001014A4 D0 23 00 A4 */ stfs f1, 0xa4(r3) /* 80105668 001014A8 90 03 00 A8 */ stw r0, 0xa8(r3) /* 8010566C 001014AC 90 03 00 AC */ stw r0, 0xac(r3) /* 80105670 001014B0 D0 03 00 C0 */ stfs f0, 0xc0(r3) /* 80105674 001014B4 98 03 00 9A */ stb r0, 0x9a(r3) /* 80105678 001014B8 D0 03 00 C4 */ stfs f0, 0xc4(r3) /* 8010567C 001014BC 41 82 00 08 */ beq lbl_80105684 /* 80105680 001014C0 80 85 00 34 */ lwz r4, 0x34(r5) .global lbl_80105684 lbl_80105684: /* 80105684 001014C4 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 80105688 001014C8 38 00 00 00 */ li r0, 0x0 /* 8010568C 001014CC C0 22 93 30 */ lfs f1, "@12466"@sda21(r2) /* 80105690 001014D0 90 83 00 C8 */ stw r4, 0xc8(r3) /* 80105694 001014D4 D0 23 00 CC */ stfs f1, 0xcc(r3) /* 80105698 001014D8 D0 03 00 D0 */ stfs f0, 0xd0(r3) /* 8010569C 001014DC D0 03 00 D4 */ stfs f0, 0xd4(r3) /* 801056A0 001014E0 D0 03 00 D8 */ stfs f0, 0xd8(r3) /* 801056A4 001014E4 D0 03 00 DC */ stfs f0, 0xdc(r3) /* 801056A8 001014E8 D0 23 00 E0 */ stfs f1, 0xe0(r3) /* 801056AC 001014EC D0 23 00 E4 */ stfs f1, 0xe4(r3) /* 801056B0 001014F0 D0 23 00 E8 */ stfs f1, 0xe8(r3) /* 801056B4 001014F4 D0 23 00 EC */ stfs f1, 0xec(r3) /* 801056B8 001014F8 D0 23 00 30 */ stfs f1, 0x30(r3) /* 801056BC 001014FC D0 23 00 34 */ stfs f1, 0x34(r3) /* 801056C0 00101500 D0 03 00 38 */ stfs f0, 0x38(r3) /* 801056C4 00101504 D0 03 00 3C */ stfs f0, 0x3c(r3) /* 801056C8 00101508 D0 03 00 40 */ stfs f0, 0x40(r3) /* 801056CC 0010150C D0 03 00 44 */ stfs f0, 0x44(r3) /* 801056D0 00101510 D0 03 00 48 */ stfs f0, 0x48(r3) /* 801056D4 00101514 90 03 00 4C */ stw r0, 0x4c(r3) /* 801056D8 00101518 90 03 00 50 */ stw r0, 0x50(r3) /* 801056DC 0010151C 38 21 00 20 */ addi r1, r1, 0x20 /* 801056E0 00101520 4E 80 00 20 */ blr /* 801056E4 00101524 00 00 00 00 */ .4byte 0x00000000 /* 801056E8 00101528 00 00 00 00 */ .4byte 0x00000000 /* 801056EC 0010152C 00 00 00 00 */ .4byte 0x00000000 .global StartPrepared__Q44nw4r3snd6detail10BasicSoundFv StartPrepared__Q44nw4r3snd6detail10BasicSoundFv: /* 801056F0 00101530 88 03 00 85 */ lbz r0, 0x85(r3) /* 801056F4 00101534 2C 00 00 00 */ cmpwi r0, 0x0 /* 801056F8 00101538 4C 82 00 20 */ bnelr /* 801056FC 0010153C 38 00 00 01 */ li r0, 0x1 /* 80105700 00101540 98 03 00 84 */ stb r0, 0x84(r3) /* 80105704 00101544 4E 80 00 20 */ blr /* 80105708 00101548 00 00 00 00 */ .4byte 0x00000000 /* 8010570C 0010154C 00 00 00 00 */ .4byte 0x00000000 .global Stop__Q44nw4r3snd6detail10BasicSoundFi Stop__Q44nw4r3snd6detail10BasicSoundFi: /* 80105710 00101550 94 21 FF D0 */ stwu r1, -0x30(r1) /* 80105714 00101554 7C 08 02 A6 */ mflr r0 /* 80105718 00101558 90 01 00 34 */ stw r0, 0x34(r1) /* 8010571C 0010155C 3C 00 43 30 */ lis r0, 0x4330 /* 80105720 00101560 93 E1 00 2C */ stw r31, 0x2c(r1) /* 80105724 00101564 93 C1 00 28 */ stw r30, 0x28(r1) /* 80105728 00101568 7C 9E 23 78 */ mr r30, r4 /* 8010572C 0010156C 93 A1 00 24 */ stw r29, 0x24(r1) /* 80105730 00101570 7C 7D 1B 78 */ mr r29, r3 /* 80105734 00101574 81 83 00 00 */ lwz r12, 0x0(r3) /* 80105738 00101578 90 01 00 08 */ stw r0, 0x8(r1) /* 8010573C 0010157C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80105740 00101580 90 01 00 10 */ stw r0, 0x10(r1) /* 80105744 00101584 7D 89 03 A6 */ mtctr r12 /* 80105748 00101588 4E 80 04 21 */ bctrl /* 8010574C 0010158C 2C 1E 00 00 */ cmpwi r30, 0x0 /* 80105750 00101590 7C 7F 1B 78 */ mr r31, r3 /* 80105754 00101594 41 82 00 54 */ beq lbl_801057A8 /* 80105758 00101598 81 83 00 00 */ lwz r12, 0x0(r3) /* 8010575C 0010159C 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80105760 001015A0 7D 89 03 A6 */ mtctr r12 /* 80105764 001015A4 4E 80 04 21 */ bctrl /* 80105768 001015A8 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010576C 001015AC 41 82 00 3C */ beq lbl_801057A8 /* 80105770 001015B0 81 9F 00 00 */ lwz r12, 0x0(r31) /* 80105774 001015B4 7F E3 FB 78 */ mr r3, r31 /* 80105778 001015B8 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 8010577C 001015BC 7D 89 03 A6 */ mtctr r12 /* 80105780 001015C0 4E 80 04 21 */ bctrl /* 80105784 001015C4 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105788 001015C8 41 82 00 20 */ beq lbl_801057A8 /* 8010578C 001015CC 81 9F 00 00 */ lwz r12, 0x0(r31) /* 80105790 001015D0 7F E3 FB 78 */ mr r3, r31 /* 80105794 001015D4 81 8C 00 20 */ lwz r12, 0x20(r12) /* 80105798 001015D8 7D 89 03 A6 */ mtctr r12 /* 8010579C 001015DC 4E 80 04 21 */ bctrl /* 801057A0 001015E0 2C 03 00 00 */ cmpwi r3, 0x0 /* 801057A4 001015E4 41 82 00 1C */ beq lbl_801057C0 .global lbl_801057A8 lbl_801057A8: /* 801057A8 001015E8 81 9D 00 00 */ lwz r12, 0x0(r29) /* 801057AC 001015EC 7F A3 EB 78 */ mr r3, r29 /* 801057B0 001015F0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801057B4 001015F4 7D 89 03 A6 */ mtctr r12 /* 801057B8 001015F8 4E 80 04 21 */ bctrl /* 801057BC 001015FC 48 00 01 20 */ b lbl_801058DC .global lbl_801057C0 lbl_801057C0: /* 801057C0 00101600 80 9D 00 6C */ lwz r4, 0x6c(r29) /* 801057C4 00101604 80 7D 00 70 */ lwz r3, 0x70(r29) /* 801057C8 00101608 7C 03 20 00 */ cmpw r3, r4 /* 801057CC 0010160C 41 80 00 0C */ blt lbl_801057D8 /* 801057D0 00101610 C0 3D 00 68 */ lfs f1, 0x68(r29) /* 801057D4 00101614 48 00 00 40 */ b lbl_80105814 .global lbl_801057D8 lbl_801057D8: /* 801057D8 00101618 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 801057DC 0010161C 90 01 00 0C */ stw r0, 0xc(r1) /* 801057E0 00101620 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 801057E4 00101624 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 801057E8 00101628 C8 01 00 08 */ lfd f0, 0x8(r1) /* 801057EC 0010162C C0 3D 00 68 */ lfs f1, 0x68(r29) /* 801057F0 00101630 C0 5D 00 64 */ lfs f2, 0x64(r29) /* 801057F4 00101634 EC 60 20 28 */ fsubs f3, f0, f4 /* 801057F8 00101638 90 01 00 14 */ stw r0, 0x14(r1) /* 801057FC 0010163C EC 21 10 28 */ fsubs f1, f1, f2 /* 80105800 00101640 C8 01 00 10 */ lfd f0, 0x10(r1) /* 80105804 00101644 EC 00 20 28 */ fsubs f0, f0, f4 /* 80105808 00101648 EC 23 00 72 */ fmuls f1, f3, f1 /* 8010580C 0010164C EC 01 00 24 */ fdivs f0, f1, f0 /* 80105810 00101650 EC 22 00 2A */ fadds f1, f2, f0 .global lbl_80105814 lbl_80105814: /* 80105814 00101654 6F C0 80 00 */ xoris r0, r30, 0x8000 /* 80105818 00101658 90 01 00 0C */ stw r0, 0xc(r1) /* 8010581C 0010165C C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80105820 00101660 7C 03 20 00 */ cmpw r3, r4 /* 80105824 00101664 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105828 00101668 EC 00 20 28 */ fsubs f0, f0, f4 /* 8010582C 0010166C EC 00 00 72 */ fmuls f0, f0, f1 /* 80105830 00101670 FC 00 00 1E */ fctiwz f0, f0 /* 80105834 00101674 D8 01 00 18 */ stfd f0, 0x18(r1) /* 80105838 00101678 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 8010583C 0010167C 41 80 00 0C */ blt lbl_80105848 /* 80105840 00101680 C0 3D 00 68 */ lfs f1, 0x68(r29) /* 80105844 00101684 48 00 00 3C */ b lbl_80105880 .global lbl_80105848 lbl_80105848: /* 80105848 00101688 6C 60 80 00 */ xoris r0, r3, 0x8000 /* 8010584C 0010168C 90 01 00 14 */ stw r0, 0x14(r1) /* 80105850 00101690 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80105854 00101694 C0 1D 00 68 */ lfs f0, 0x68(r29) /* 80105858 00101698 C8 21 00 10 */ lfd f1, 0x10(r1) /* 8010585C 0010169C C0 5D 00 64 */ lfs f2, 0x64(r29) /* 80105860 001016A0 EC 61 20 28 */ fsubs f3, f1, f4 /* 80105864 001016A4 90 01 00 0C */ stw r0, 0xc(r1) /* 80105868 001016A8 EC 20 10 28 */ fsubs f1, f0, f2 /* 8010586C 001016AC C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105870 001016B0 EC 23 00 72 */ fmuls f1, f3, f1 /* 80105874 001016B4 EC 00 20 28 */ fsubs f0, f0, f4 /* 80105878 001016B8 EC 01 00 24 */ fdivs f0, f1, f0 /* 8010587C 001016BC EC 22 00 2A */ fadds f1, f2, f0 .global lbl_80105880 lbl_80105880: /* 80105880 001016C0 80 7D 00 10 */ lwz r3, 0x10(r29) /* 80105884 001016C4 38 00 00 00 */ li r0, 0x0 /* 80105888 001016C8 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 8010588C 001016CC 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105890 001016D0 D0 3D 00 64 */ stfs f1, 0x64(r29) /* 80105894 001016D4 D0 1D 00 68 */ stfs f0, 0x68(r29) /* 80105898 001016D8 90 BD 00 6C */ stw r5, 0x6c(r29) /* 8010589C 001016DC 90 1D 00 70 */ stw r0, 0x70(r29) /* 801058A0 001016E0 98 1D 00 98 */ stb r0, 0x98(r29) /* 801058A4 001016E4 41 82 00 0C */ beq lbl_801058B0 /* 801058A8 001016E8 7F A4 EB 78 */ mr r4, r29 /* 801058AC 001016EC 48 00 E8 25 */ bl detail_SortPriorityList__Q34nw4r3snd11SoundPlayerFPQ44nw4r3snd6detail10BasicSound .global lbl_801058B0 lbl_801058B0: /* 801058B0 001016F0 81 9D 00 00 */ lwz r12, 0x0(r29) /* 801058B4 001016F4 7F A3 EB 78 */ mr r3, r29 /* 801058B8 001016F8 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 801058BC 001016FC 7D 89 03 A6 */ mtctr r12 /* 801058C0 00101700 4E 80 04 21 */ bctrl /* 801058C4 00101704 38 60 00 00 */ li r3, 0x0 /* 801058C8 00101708 38 00 00 01 */ li r0, 0x1 /* 801058CC 0010170C 98 7D 00 86 */ stb r3, 0x86(r29) /* 801058D0 00101710 90 7D 00 88 */ stw r3, 0x88(r29) /* 801058D4 00101714 98 7D 00 8C */ stb r3, 0x8c(r29) /* 801058D8 00101718 98 1D 00 87 */ stb r0, 0x87(r29) .global lbl_801058DC lbl_801058DC: /* 801058DC 0010171C 80 01 00 34 */ lwz r0, 0x34(r1) /* 801058E0 00101720 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 801058E4 00101724 83 C1 00 28 */ lwz r30, 0x28(r1) /* 801058E8 00101728 83 A1 00 24 */ lwz r29, 0x24(r1) /* 801058EC 0010172C 7C 08 03 A6 */ mtlr r0 /* 801058F0 00101730 38 21 00 30 */ addi r1, r1, 0x30 /* 801058F4 00101734 4E 80 00 20 */ blr /* 801058F8 00101738 00 00 00 00 */ .4byte 0x00000000 /* 801058FC 0010173C 00 00 00 00 */ .4byte 0x00000000 .global Pause__Q44nw4r3snd6detail10BasicSoundFbi Pause__Q44nw4r3snd6detail10BasicSoundFbi: /* 80105900 00101740 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80105904 00101744 3C 00 43 30 */ lis r0, 0x4330 /* 80105908 00101748 2C 04 00 00 */ cmpwi r4, 0x0 /* 8010590C 0010174C 90 01 00 08 */ stw r0, 0x8(r1) /* 80105910 00101750 90 01 00 10 */ stw r0, 0x10(r1) /* 80105914 00101754 41 82 01 24 */ beq lbl_80105A38 /* 80105918 00101758 80 03 00 88 */ lwz r0, 0x88(r3) /* 8010591C 0010175C 28 00 00 01 */ cmplwi r0, 0x1 /* 80105920 00101760 40 81 00 18 */ ble lbl_80105938 /* 80105924 00101764 2C 00 00 03 */ cmpwi r0, 0x3 /* 80105928 00101768 41 82 00 10 */ beq lbl_80105938 /* 8010592C 0010176C 2C 00 00 02 */ cmpwi r0, 0x2 /* 80105930 00101770 41 82 02 24 */ beq lbl_80105B54 /* 80105934 00101774 48 00 02 20 */ b lbl_80105B54 .global lbl_80105938 lbl_80105938: /* 80105938 00101778 80 C3 00 7C */ lwz r6, 0x7c(r3) /* 8010593C 0010177C 80 83 00 80 */ lwz r4, 0x80(r3) /* 80105940 00101780 7C 04 30 00 */ cmpw r4, r6 /* 80105944 00101784 41 80 00 0C */ blt lbl_80105950 /* 80105948 00101788 C0 43 00 78 */ lfs f2, 0x78(r3) /* 8010594C 0010178C 48 00 00 40 */ b lbl_8010598C .global lbl_80105950 lbl_80105950: /* 80105950 00101790 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80105954 00101794 90 01 00 0C */ stw r0, 0xc(r1) /* 80105958 00101798 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 8010595C 0010179C C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80105960 001017A0 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105964 001017A4 C0 23 00 78 */ lfs f1, 0x78(r3) /* 80105968 001017A8 C0 43 00 74 */ lfs f2, 0x74(r3) /* 8010596C 001017AC EC 60 20 28 */ fsubs f3, f0, f4 /* 80105970 001017B0 90 01 00 14 */ stw r0, 0x14(r1) /* 80105974 001017B4 EC 21 10 28 */ fsubs f1, f1, f2 /* 80105978 001017B8 C8 01 00 10 */ lfd f0, 0x10(r1) /* 8010597C 001017BC EC 00 20 28 */ fsubs f0, f0, f4 /* 80105980 001017C0 EC 23 00 72 */ fmuls f1, f3, f1 /* 80105984 001017C4 EC 01 00 24 */ fdivs f0, f1, f0 /* 80105988 001017C8 EC 42 00 2A */ fadds f2, f2, f0 .global lbl_8010598C lbl_8010598C: /* 8010598C 001017CC 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 80105990 001017D0 90 01 00 0C */ stw r0, 0xc(r1) /* 80105994 001017D4 C8 22 93 38 */ lfd f1, "@12524"@sda21(r2) /* 80105998 001017D8 C8 01 00 08 */ lfd f0, 0x8(r1) /* 8010599C 001017DC EC 00 08 28 */ fsubs f0, f0, f1 /* 801059A0 001017E0 EC 00 00 B2 */ fmuls f0, f0, f2 /* 801059A4 001017E4 FC 00 00 1E */ fctiwz f0, f0 /* 801059A8 001017E8 D8 01 00 18 */ stfd f0, 0x18(r1) /* 801059AC 001017EC 80 A1 00 1C */ lwz r5, 0x1c(r1) /* 801059B0 001017F0 2C 05 00 00 */ cmpwi r5, 0x0 /* 801059B4 001017F4 41 81 00 08 */ bgt lbl_801059BC /* 801059B8 001017F8 38 A0 00 01 */ li r5, 0x1 .global lbl_801059BC lbl_801059BC: /* 801059BC 001017FC 7C 04 30 00 */ cmpw r4, r6 /* 801059C0 00101800 41 80 00 0C */ blt lbl_801059CC /* 801059C4 00101804 C0 23 00 78 */ lfs f1, 0x78(r3) /* 801059C8 00101808 48 00 00 40 */ b lbl_80105A08 .global lbl_801059CC lbl_801059CC: /* 801059CC 0010180C 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 801059D0 00101810 90 01 00 14 */ stw r0, 0x14(r1) /* 801059D4 00101814 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 801059D8 00101818 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 801059DC 0010181C C8 01 00 10 */ lfd f0, 0x10(r1) /* 801059E0 00101820 C0 23 00 78 */ lfs f1, 0x78(r3) /* 801059E4 00101824 C0 43 00 74 */ lfs f2, 0x74(r3) /* 801059E8 00101828 EC 60 20 28 */ fsubs f3, f0, f4 /* 801059EC 0010182C 90 01 00 0C */ stw r0, 0xc(r1) /* 801059F0 00101830 EC 21 10 28 */ fsubs f1, f1, f2 /* 801059F4 00101834 C8 01 00 08 */ lfd f0, 0x8(r1) /* 801059F8 00101838 EC 00 20 28 */ fsubs f0, f0, f4 /* 801059FC 0010183C EC 23 00 72 */ fmuls f1, f3, f1 /* 80105A00 00101840 EC 01 00 24 */ fdivs f0, f1, f0 /* 80105A04 00101844 EC 22 00 2A */ fadds f1, f2, f0 .global lbl_80105A08 lbl_80105A08: /* 80105A08 00101848 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 80105A0C 0010184C 38 80 00 00 */ li r4, 0x0 /* 80105A10 00101850 38 00 00 01 */ li r0, 0x1 /* 80105A14 00101854 D0 23 00 74 */ stfs f1, 0x74(r3) /* 80105A18 00101858 D0 03 00 78 */ stfs f0, 0x78(r3) /* 80105A1C 0010185C 90 A3 00 7C */ stw r5, 0x7c(r3) /* 80105A20 00101860 90 83 00 80 */ stw r4, 0x80(r3) /* 80105A24 00101864 90 03 00 88 */ stw r0, 0x88(r3) /* 80105A28 00101868 98 83 00 8C */ stb r4, 0x8c(r3) /* 80105A2C 0010186C 48 00 01 28 */ b lbl_80105B54 /* 80105A30 00101870 48 00 01 24 */ b lbl_80105B54 /* 80105A34 00101874 48 00 01 20 */ b lbl_80105B54 .global lbl_80105A38 lbl_80105A38: /* 80105A38 00101878 80 83 00 88 */ lwz r4, 0x88(r3) /* 80105A3C 0010187C 38 04 FF FF */ addi r0, r4, -0x1 /* 80105A40 00101880 28 00 00 02 */ cmplwi r0, 0x2 /* 80105A44 00101884 40 81 00 10 */ ble lbl_80105A54 /* 80105A48 00101888 2C 04 00 00 */ cmpwi r4, 0x0 /* 80105A4C 0010188C 40 82 01 08 */ bne lbl_80105B54 /* 80105A50 00101890 48 00 01 04 */ b lbl_80105B54 .global lbl_80105A54 lbl_80105A54: /* 80105A54 00101894 80 C3 00 7C */ lwz r6, 0x7c(r3) /* 80105A58 00101898 80 83 00 80 */ lwz r4, 0x80(r3) /* 80105A5C 0010189C 7C 04 30 00 */ cmpw r4, r6 /* 80105A60 001018A0 41 80 00 0C */ blt lbl_80105A6C /* 80105A64 001018A4 C0 63 00 78 */ lfs f3, 0x78(r3) /* 80105A68 001018A8 48 00 00 40 */ b lbl_80105AA8 .global lbl_80105A6C lbl_80105A6C: /* 80105A6C 001018AC 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80105A70 001018B0 90 01 00 14 */ stw r0, 0x14(r1) /* 80105A74 001018B4 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 80105A78 001018B8 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80105A7C 001018BC C8 01 00 10 */ lfd f0, 0x10(r1) /* 80105A80 001018C0 C0 23 00 78 */ lfs f1, 0x78(r3) /* 80105A84 001018C4 C0 43 00 74 */ lfs f2, 0x74(r3) /* 80105A88 001018C8 EC 60 20 28 */ fsubs f3, f0, f4 /* 80105A8C 001018CC 90 01 00 0C */ stw r0, 0xc(r1) /* 80105A90 001018D0 EC 21 10 28 */ fsubs f1, f1, f2 /* 80105A94 001018D4 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105A98 001018D8 EC 00 20 28 */ fsubs f0, f0, f4 /* 80105A9C 001018DC EC 23 00 72 */ fmuls f1, f3, f1 /* 80105AA0 001018E0 EC 01 00 24 */ fdivs f0, f1, f0 /* 80105AA4 001018E4 EC 62 00 2A */ fadds f3, f2, f0 .global lbl_80105AA8 lbl_80105AA8: /* 80105AA8 001018E8 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 80105AAC 001018EC 90 01 00 14 */ stw r0, 0x14(r1) /* 80105AB0 001018F0 C0 02 93 30 */ lfs f0, "@12466"@sda21(r2) /* 80105AB4 001018F4 C8 42 93 38 */ lfd f2, "@12524"@sda21(r2) /* 80105AB8 001018F8 C8 21 00 10 */ lfd f1, 0x10(r1) /* 80105ABC 001018FC EC 00 18 28 */ fsubs f0, f0, f3 /* 80105AC0 00101900 EC 21 10 28 */ fsubs f1, f1, f2 /* 80105AC4 00101904 EC 01 00 32 */ fmuls f0, f1, f0 /* 80105AC8 00101908 FC 00 00 1E */ fctiwz f0, f0 /* 80105ACC 0010190C D8 01 00 18 */ stfd f0, 0x18(r1) /* 80105AD0 00101910 80 E1 00 1C */ lwz r7, 0x1c(r1) /* 80105AD4 00101914 2C 07 00 00 */ cmpwi r7, 0x0 /* 80105AD8 00101918 41 81 00 08 */ bgt lbl_80105AE0 /* 80105ADC 0010191C 38 E0 00 01 */ li r7, 0x1 .global lbl_80105AE0 lbl_80105AE0: /* 80105AE0 00101920 7C 04 30 00 */ cmpw r4, r6 /* 80105AE4 00101924 41 80 00 0C */ blt lbl_80105AF0 /* 80105AE8 00101928 C0 23 00 78 */ lfs f1, 0x78(r3) /* 80105AEC 0010192C 48 00 00 40 */ b lbl_80105B2C .global lbl_80105AF0 lbl_80105AF0: /* 80105AF0 00101930 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80105AF4 00101934 90 01 00 0C */ stw r0, 0xc(r1) /* 80105AF8 00101938 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 80105AFC 0010193C C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80105B00 00101940 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105B04 00101944 C0 23 00 78 */ lfs f1, 0x78(r3) /* 80105B08 00101948 C0 43 00 74 */ lfs f2, 0x74(r3) /* 80105B0C 0010194C EC 60 20 28 */ fsubs f3, f0, f4 /* 80105B10 00101950 90 01 00 14 */ stw r0, 0x14(r1) /* 80105B14 00101954 EC 21 10 28 */ fsubs f1, f1, f2 /* 80105B18 00101958 C8 01 00 10 */ lfd f0, 0x10(r1) /* 80105B1C 0010195C EC 00 20 28 */ fsubs f0, f0, f4 /* 80105B20 00101960 EC 23 00 72 */ fmuls f1, f3, f1 /* 80105B24 00101964 EC 01 00 24 */ fdivs f0, f1, f0 /* 80105B28 00101968 EC 22 00 2A */ fadds f1, f2, f0 .global lbl_80105B2C lbl_80105B2C: /* 80105B2C 0010196C C0 02 93 30 */ lfs f0, "@12466"@sda21(r2) /* 80105B30 00101970 38 A0 00 00 */ li r5, 0x0 /* 80105B34 00101974 38 80 00 03 */ li r4, 0x3 /* 80105B38 00101978 38 00 00 01 */ li r0, 0x1 /* 80105B3C 0010197C D0 23 00 74 */ stfs f1, 0x74(r3) /* 80105B40 00101980 D0 03 00 78 */ stfs f0, 0x78(r3) /* 80105B44 00101984 90 E3 00 7C */ stw r7, 0x7c(r3) /* 80105B48 00101988 90 A3 00 80 */ stw r5, 0x80(r3) /* 80105B4C 0010198C 90 83 00 88 */ stw r4, 0x88(r3) /* 80105B50 00101990 98 03 00 8C */ stb r0, 0x8c(r3) .global lbl_80105B54 lbl_80105B54: /* 80105B54 00101994 38 21 00 20 */ addi r1, r1, 0x20 /* 80105B58 00101998 4E 80 00 20 */ blr /* 80105B5C 0010199C 00 00 00 00 */ .4byte 0x00000000 .global FadeIn__Q44nw4r3snd6detail10BasicSoundFi FadeIn__Q44nw4r3snd6detail10BasicSoundFi: /* 80105B60 001019A0 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80105B64 001019A4 3C A0 43 30 */ lis r5, 0x4330 /* 80105B68 001019A8 88 03 00 87 */ lbz r0, 0x87(r3) /* 80105B6C 001019AC 90 A1 00 08 */ stw r5, 0x8(r1) /* 80105B70 001019B0 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105B74 001019B4 90 A1 00 10 */ stw r5, 0x10(r1) /* 80105B78 001019B8 40 82 00 E4 */ bne lbl_80105C5C /* 80105B7C 001019BC 80 C3 00 6C */ lwz r6, 0x6c(r3) /* 80105B80 001019C0 80 A3 00 70 */ lwz r5, 0x70(r3) /* 80105B84 001019C4 7C 05 30 00 */ cmpw r5, r6 /* 80105B88 001019C8 41 80 00 0C */ blt lbl_80105B94 /* 80105B8C 001019CC C0 43 00 68 */ lfs f2, 0x68(r3) /* 80105B90 001019D0 48 00 00 40 */ b lbl_80105BD0 .global lbl_80105B94 lbl_80105B94: /* 80105B94 001019D4 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 80105B98 001019D8 90 01 00 0C */ stw r0, 0xc(r1) /* 80105B9C 001019DC 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 80105BA0 001019E0 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80105BA4 001019E4 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105BA8 001019E8 C0 23 00 68 */ lfs f1, 0x68(r3) /* 80105BAC 001019EC C0 43 00 64 */ lfs f2, 0x64(r3) /* 80105BB0 001019F0 EC 60 20 28 */ fsubs f3, f0, f4 /* 80105BB4 001019F4 90 01 00 14 */ stw r0, 0x14(r1) /* 80105BB8 001019F8 EC 21 10 28 */ fsubs f1, f1, f2 /* 80105BBC 001019FC C8 01 00 10 */ lfd f0, 0x10(r1) /* 80105BC0 00101A00 EC 00 20 28 */ fsubs f0, f0, f4 /* 80105BC4 00101A04 EC 23 00 72 */ fmuls f1, f3, f1 /* 80105BC8 00101A08 EC 01 00 24 */ fdivs f0, f1, f0 /* 80105BCC 00101A0C EC 42 00 2A */ fadds f2, f2, f0 .global lbl_80105BD0 lbl_80105BD0: /* 80105BD0 00101A10 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80105BD4 00101A14 90 01 00 0C */ stw r0, 0xc(r1) /* 80105BD8 00101A18 C0 02 93 30 */ lfs f0, "@12466"@sda21(r2) /* 80105BDC 00101A1C 7C 05 30 00 */ cmpw r5, r6 /* 80105BE0 00101A20 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80105BE4 00101A24 C8 21 00 08 */ lfd f1, 0x8(r1) /* 80105BE8 00101A28 EC 00 10 28 */ fsubs f0, f0, f2 /* 80105BEC 00101A2C EC 21 20 28 */ fsubs f1, f1, f4 /* 80105BF0 00101A30 EC 01 00 32 */ fmuls f0, f1, f0 /* 80105BF4 00101A34 FC 00 00 1E */ fctiwz f0, f0 /* 80105BF8 00101A38 D8 01 00 18 */ stfd f0, 0x18(r1) /* 80105BFC 00101A3C 80 81 00 1C */ lwz r4, 0x1c(r1) /* 80105C00 00101A40 41 80 00 0C */ blt lbl_80105C0C /* 80105C04 00101A44 C0 23 00 68 */ lfs f1, 0x68(r3) /* 80105C08 00101A48 48 00 00 3C */ b lbl_80105C44 .global lbl_80105C0C lbl_80105C0C: /* 80105C0C 00101A4C 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 80105C10 00101A50 90 01 00 14 */ stw r0, 0x14(r1) /* 80105C14 00101A54 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 80105C18 00101A58 C0 03 00 68 */ lfs f0, 0x68(r3) /* 80105C1C 00101A5C C8 21 00 10 */ lfd f1, 0x10(r1) /* 80105C20 00101A60 C0 43 00 64 */ lfs f2, 0x64(r3) /* 80105C24 00101A64 EC 61 20 28 */ fsubs f3, f1, f4 /* 80105C28 00101A68 90 01 00 0C */ stw r0, 0xc(r1) /* 80105C2C 00101A6C EC 20 10 28 */ fsubs f1, f0, f2 /* 80105C30 00101A70 C8 01 00 08 */ lfd f0, 0x8(r1) /* 80105C34 00101A74 EC 23 00 72 */ fmuls f1, f3, f1 /* 80105C38 00101A78 EC 00 20 28 */ fsubs f0, f0, f4 /* 80105C3C 00101A7C EC 01 00 24 */ fdivs f0, f1, f0 /* 80105C40 00101A80 EC 22 00 2A */ fadds f1, f2, f0 .global lbl_80105C44 lbl_80105C44: /* 80105C44 00101A84 C0 02 93 30 */ lfs f0, "@12466"@sda21(r2) /* 80105C48 00101A88 38 00 00 00 */ li r0, 0x0 /* 80105C4C 00101A8C D0 23 00 64 */ stfs f1, 0x64(r3) /* 80105C50 00101A90 D0 03 00 68 */ stfs f0, 0x68(r3) /* 80105C54 00101A94 90 83 00 6C */ stw r4, 0x6c(r3) /* 80105C58 00101A98 90 03 00 70 */ stw r0, 0x70(r3) .global lbl_80105C5C lbl_80105C5C: /* 80105C5C 00101A9C 38 21 00 20 */ addi r1, r1, 0x20 /* 80105C60 00101AA0 4E 80 00 20 */ blr /* 80105C64 00101AA4 00 00 00 00 */ .4byte 0x00000000 /* 80105C68 00101AA8 00 00 00 00 */ .4byte 0x00000000 /* 80105C6C 00101AAC 00 00 00 00 */ .4byte 0x00000000 .global Update__Q44nw4r3snd6detail10BasicSoundFv Update__Q44nw4r3snd6detail10BasicSoundFv: /* 80105C70 00101AB0 94 21 FF 60 */ stwu r1, -0xa0(r1) /* 80105C74 00101AB4 7C 08 02 A6 */ mflr r0 /* 80105C78 00101AB8 90 01 00 A4 */ stw r0, 0xa4(r1) /* 80105C7C 00101ABC 93 E1 00 9C */ stw r31, 0x9c(r1) /* 80105C80 00101AC0 93 C1 00 98 */ stw r30, 0x98(r1) /* 80105C84 00101AC4 93 A1 00 94 */ stw r29, 0x94(r1) /* 80105C88 00101AC8 7C 7D 1B 78 */ mr r29, r3 /* 80105C8C 00101ACC 81 83 00 00 */ lwz r12, 0x0(r3) /* 80105C90 00101AD0 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80105C94 00101AD4 7D 89 03 A6 */ mtctr r12 /* 80105C98 00101AD8 4E 80 04 21 */ bctrl /* 80105C9C 00101ADC 88 1D 00 86 */ lbz r0, 0x86(r29) /* 80105CA0 00101AE0 7C 7F 1B 78 */ mr r31, r3 /* 80105CA4 00101AE4 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105CA8 00101AE8 41 82 00 70 */ beq lbl_80105D18 /* 80105CAC 00101AEC 81 83 00 00 */ lwz r12, 0x0(r3) /* 80105CB0 00101AF0 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80105CB4 00101AF4 7D 89 03 A6 */ mtctr r12 /* 80105CB8 00101AF8 4E 80 04 21 */ bctrl /* 80105CBC 00101AFC 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105CC0 00101B00 41 82 00 58 */ beq lbl_80105D18 /* 80105CC4 00101B04 80 7D 00 90 */ lwz r3, 0x90(r29) /* 80105CC8 00101B08 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105CCC 00101B0C 40 82 00 44 */ bne lbl_80105D10 /* 80105CD0 00101B10 80 1D 00 88 */ lwz r0, 0x88(r29) /* 80105CD4 00101B14 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105CD8 00101B18 41 82 00 0C */ beq lbl_80105CE4 /* 80105CDC 00101B1C 2C 00 00 03 */ cmpwi r0, 0x3 /* 80105CE0 00101B20 40 82 00 38 */ bne lbl_80105D18 .global lbl_80105CE4 lbl_80105CE4: /* 80105CE4 00101B24 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80105CE8 00101B28 7F A3 EB 78 */ mr r3, r29 /* 80105CEC 00101B2C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80105CF0 00101B30 7D 89 03 A6 */ mtctr r12 /* 80105CF4 00101B34 4E 80 04 21 */ bctrl /* 80105CF8 00101B38 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80105CFC 00101B3C 7F A3 EB 78 */ mr r3, r29 /* 80105D00 00101B40 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80105D04 00101B44 7D 89 03 A6 */ mtctr r12 /* 80105D08 00101B48 4E 80 04 21 */ bctrl /* 80105D0C 00101B4C 48 00 04 CC */ b lbl_801061D8 .global lbl_80105D10 lbl_80105D10: /* 80105D10 00101B50 38 03 FF FF */ addi r0, r3, -0x1 /* 80105D14 00101B54 90 1D 00 90 */ stw r0, 0x90(r29) .global lbl_80105D18 lbl_80105D18: /* 80105D18 00101B58 88 1D 00 85 */ lbz r0, 0x85(r29) /* 80105D1C 00101B5C 3B C0 00 00 */ li r30, 0x0 /* 80105D20 00101B60 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105D24 00101B64 40 82 00 30 */ bne lbl_80105D54 /* 80105D28 00101B68 88 1D 00 84 */ lbz r0, 0x84(r29) /* 80105D2C 00101B6C 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105D30 00101B70 41 82 04 A8 */ beq lbl_801061D8 /* 80105D34 00101B74 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80105D38 00101B78 7F A3 EB 78 */ mr r3, r29 /* 80105D3C 00101B7C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80105D40 00101B80 7D 89 03 A6 */ mtctr r12 /* 80105D44 00101B84 4E 80 04 21 */ bctrl /* 80105D48 00101B88 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105D4C 00101B8C 41 82 04 8C */ beq lbl_801061D8 /* 80105D50 00101B90 3B C0 00 01 */ li r30, 0x1 .global lbl_80105D54 lbl_80105D54: /* 80105D54 00101B94 81 9F 00 00 */ lwz r12, 0x0(r31) /* 80105D58 00101B98 7F E3 FB 78 */ mr r3, r31 /* 80105D5C 00101B9C 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 80105D60 00101BA0 7D 89 03 A6 */ mtctr r12 /* 80105D64 00101BA4 4E 80 04 21 */ bctrl /* 80105D68 00101BA8 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105D6C 00101BAC 41 82 00 1C */ beq lbl_80105D88 /* 80105D70 00101BB0 80 7D 00 94 */ lwz r3, 0x94(r29) /* 80105D74 00101BB4 38 00 FF FF */ li r0, -0x1 /* 80105D78 00101BB8 7C 03 00 40 */ cmplw r3, r0 /* 80105D7C 00101BBC 40 80 00 0C */ bge lbl_80105D88 /* 80105D80 00101BC0 38 03 00 01 */ addi r0, r3, 0x1 /* 80105D84 00101BC4 90 1D 00 94 */ stw r0, 0x94(r29) .global lbl_80105D88 lbl_80105D88: /* 80105D88 00101BC8 81 9F 00 00 */ lwz r12, 0x0(r31) /* 80105D8C 00101BCC 7F E3 FB 78 */ mr r3, r31 /* 80105D90 00101BD0 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80105D94 00101BD4 7D 89 03 A6 */ mtctr r12 /* 80105D98 00101BD8 4E 80 04 21 */ bctrl /* 80105D9C 00101BDC 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105DA0 00101BE0 40 82 00 1C */ bne lbl_80105DBC /* 80105DA4 00101BE4 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80105DA8 00101BE8 7F A3 EB 78 */ mr r3, r29 /* 80105DAC 00101BEC 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80105DB0 00101BF0 7D 89 03 A6 */ mtctr r12 /* 80105DB4 00101BF4 4E 80 04 21 */ bctrl /* 80105DB8 00101BF8 48 00 04 20 */ b lbl_801061D8 .global lbl_80105DBC lbl_80105DBC: /* 80105DBC 00101BFC 80 1D 00 88 */ lwz r0, 0x88(r29) /* 80105DC0 00101C00 2C 00 00 01 */ cmpwi r0, 0x1 /* 80105DC4 00101C04 41 82 00 18 */ beq lbl_80105DDC /* 80105DC8 00101C08 2C 00 00 03 */ cmpwi r0, 0x3 /* 80105DCC 00101C0C 41 82 00 2C */ beq lbl_80105DF8 /* 80105DD0 00101C10 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105DD4 00101C14 41 82 00 54 */ beq lbl_80105E28 /* 80105DD8 00101C18 48 00 00 64 */ b lbl_80105E3C .global lbl_80105DDC lbl_80105DDC: /* 80105DDC 00101C1C 80 7D 00 80 */ lwz r3, 0x80(r29) /* 80105DE0 00101C20 80 1D 00 7C */ lwz r0, 0x7c(r29) /* 80105DE4 00101C24 7C 03 00 00 */ cmpw r3, r0 /* 80105DE8 00101C28 40 80 00 54 */ bge lbl_80105E3C /* 80105DEC 00101C2C 38 03 00 01 */ addi r0, r3, 0x1 /* 80105DF0 00101C30 90 1D 00 80 */ stw r0, 0x80(r29) /* 80105DF4 00101C34 48 00 00 48 */ b lbl_80105E3C .global lbl_80105DF8 lbl_80105DF8: /* 80105DF8 00101C38 80 7D 00 80 */ lwz r3, 0x80(r29) /* 80105DFC 00101C3C 80 1D 00 7C */ lwz r0, 0x7c(r29) /* 80105E00 00101C40 7C 03 00 00 */ cmpw r3, r0 /* 80105E04 00101C44 40 80 00 0C */ bge lbl_80105E10 /* 80105E08 00101C48 38 03 00 01 */ addi r0, r3, 0x1 /* 80105E0C 00101C4C 90 1D 00 80 */ stw r0, 0x80(r29) .global lbl_80105E10 lbl_80105E10: /* 80105E10 00101C50 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80105E14 00101C54 7F A3 EB 78 */ mr r3, r29 /* 80105E18 00101C58 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80105E1C 00101C5C 7D 89 03 A6 */ mtctr r12 /* 80105E20 00101C60 4E 80 04 21 */ bctrl /* 80105E24 00101C64 48 00 00 18 */ b lbl_80105E3C .global lbl_80105E28 lbl_80105E28: /* 80105E28 00101C68 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80105E2C 00101C6C 7F A3 EB 78 */ mr r3, r29 /* 80105E30 00101C70 81 8C 00 30 */ lwz r12, 0x30(r12) /* 80105E34 00101C74 7D 89 03 A6 */ mtctr r12 /* 80105E38 00101C78 4E 80 04 21 */ bctrl .global lbl_80105E3C lbl_80105E3C: /* 80105E3C 00101C7C 80 7D 00 20 */ lwz r3, 0x20(r29) /* 80105E40 00101C80 2C 03 00 00 */ cmpwi r3, 0x0 /* 80105E44 00101C84 41 82 00 1C */ beq lbl_80105E60 /* 80105E48 00101C88 81 83 00 00 */ lwz r12, 0x0(r3) /* 80105E4C 00101C8C 7F A5 EB 78 */ mr r5, r29 /* 80105E50 00101C90 80 9D 00 28 */ lwz r4, 0x28(r29) /* 80105E54 00101C94 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80105E58 00101C98 7D 89 03 A6 */ mtctr r12 /* 80105E5C 00101C9C 4E 80 04 21 */ bctrl .global lbl_80105E60 lbl_80105E60: /* 80105E60 00101CA0 80 1D 00 1C */ lwz r0, 0x1c(r29) /* 80105E64 00101CA4 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105E68 00101CA8 41 82 02 20 */ beq lbl_80106088 /* 80105E6C 00101CAC 38 81 00 48 */ addi r4, r1, 0x48 /* 80105E70 00101CB0 38 61 00 90 */ addi r3, r1, 0x90 /* 80105E74 00101CB4 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 80105E78 00101CB8 7C 04 18 40 */ cmplw r4, r3 /* 80105E7C 00101CBC C0 22 93 30 */ lfs f1, "@12466"@sda21(r2) /* 80105E80 00101CC0 38 00 00 00 */ li r0, 0x0 /* 80105E84 00101CC4 D0 21 00 08 */ stfs f1, 0x8(r1) /* 80105E88 00101CC8 D0 21 00 0C */ stfs f1, 0xc(r1) /* 80105E8C 00101CCC D0 01 00 10 */ stfs f0, 0x10(r1) /* 80105E90 00101CD0 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80105E94 00101CD4 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80105E98 00101CD8 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80105E9C 00101CDC D0 01 00 20 */ stfs f0, 0x20(r1) /* 80105EA0 00101CE0 90 01 00 24 */ stw r0, 0x24(r1) /* 80105EA4 00101CE4 90 01 00 28 */ stw r0, 0x28(r1) /* 80105EA8 00101CE8 90 01 00 2C */ stw r0, 0x2c(r1) /* 80105EAC 00101CEC D0 21 00 30 */ stfs f1, 0x30(r1) /* 80105EB0 00101CF0 D0 21 00 34 */ stfs f1, 0x34(r1) /* 80105EB4 00101CF4 D0 01 00 38 */ stfs f0, 0x38(r1) /* 80105EB8 00101CF8 D0 01 00 3C */ stfs f0, 0x3c(r1) /* 80105EBC 00101CFC D0 01 00 40 */ stfs f0, 0x40(r1) /* 80105EC0 00101D00 D0 01 00 44 */ stfs f0, 0x44(r1) /* 80105EC4 00101D04 40 80 00 3C */ bge lbl_80105F00 /* 80105EC8 00101D08 38 63 00 17 */ addi r3, r3, 0x17 /* 80105ECC 00101D0C 38 00 00 18 */ li r0, 0x18 /* 80105ED0 00101D10 7C 64 18 50 */ subf r3, r4, r3 /* 80105ED4 00101D14 7C 63 03 96 */ divwu r3, r3, r0 /* 80105ED8 00101D18 7C 69 03 A6 */ mtctr r3 /* 80105EDC 00101D1C 40 80 00 24 */ bge lbl_80105F00 .global lbl_80105EE0 lbl_80105EE0: /* 80105EE0 00101D20 D0 24 00 00 */ stfs f1, 0x0(r4) /* 80105EE4 00101D24 D0 24 00 04 */ stfs f1, 0x4(r4) /* 80105EE8 00101D28 D0 04 00 08 */ stfs f0, 0x8(r4) /* 80105EEC 00101D2C D0 04 00 0C */ stfs f0, 0xc(r4) /* 80105EF0 00101D30 D0 04 00 10 */ stfs f0, 0x10(r4) /* 80105EF4 00101D34 D0 04 00 14 */ stfs f0, 0x14(r4) /* 80105EF8 00101D38 38 84 00 18 */ addi r4, r4, 0x18 /* 80105EFC 00101D3C 42 00 FF E4 */ bdnz lbl_80105EE0 .global lbl_80105F00 lbl_80105F00: /* 80105F00 00101D40 80 1D 00 94 */ lwz r0, 0x94(r29) /* 80105F04 00101D44 2C 00 00 00 */ cmpwi r0, 0x0 /* 80105F08 00101D48 41 82 00 58 */ beq lbl_80105F60 /* 80105F0C 00101D4C C0 1D 00 30 */ lfs f0, 0x30(r29) /* 80105F10 00101D50 D0 01 00 08 */ stfs f0, 0x8(r1) /* 80105F14 00101D54 C0 1D 00 34 */ lfs f0, 0x34(r29) /* 80105F18 00101D58 D0 01 00 0C */ stfs f0, 0xc(r1) /* 80105F1C 00101D5C C0 1D 00 38 */ lfs f0, 0x38(r29) /* 80105F20 00101D60 D0 01 00 10 */ stfs f0, 0x10(r1) /* 80105F24 00101D64 C0 1D 00 3C */ lfs f0, 0x3c(r29) /* 80105F28 00101D68 D0 01 00 14 */ stfs f0, 0x14(r1) /* 80105F2C 00101D6C C0 1D 00 40 */ lfs f0, 0x40(r29) /* 80105F30 00101D70 D0 01 00 18 */ stfs f0, 0x18(r1) /* 80105F34 00101D74 C0 1D 00 44 */ lfs f0, 0x44(r29) /* 80105F38 00101D78 D0 01 00 1C */ stfs f0, 0x1c(r1) /* 80105F3C 00101D7C C0 1D 00 48 */ lfs f0, 0x48(r29) /* 80105F40 00101D80 D0 01 00 20 */ stfs f0, 0x20(r1) /* 80105F44 00101D84 80 1D 00 4C */ lwz r0, 0x4c(r29) /* 80105F48 00101D88 90 01 00 24 */ stw r0, 0x24(r1) /* 80105F4C 00101D8C 80 1D 00 50 */ lwz r0, 0x50(r29) /* 80105F50 00101D90 90 01 00 28 */ stw r0, 0x28(r1) /* 80105F54 00101D94 80 1D 00 54 */ lwz r0, 0x54(r29) /* 80105F58 00101D98 90 01 00 2C */ stw r0, 0x2c(r1) /* 80105F5C 00101D9C 48 00 00 0C */ b lbl_80105F68 .global lbl_80105F60 lbl_80105F60: /* 80105F60 00101DA0 38 00 00 00 */ li r0, 0x0 /* 80105F64 00101DA4 90 01 00 2C */ stw r0, 0x2c(r1) .global lbl_80105F68 lbl_80105F68: /* 80105F68 00101DA8 38 7F 00 50 */ addi r3, r31, 0x50 /* 80105F6C 00101DAC 38 81 00 08 */ addi r4, r1, 0x8 /* 80105F70 00101DB0 38 A0 00 00 */ li r5, 0x0 /* 80105F74 00101DB4 48 00 00 40 */ b lbl_80105FB4 .global lbl_80105F78 lbl_80105F78: /* 80105F78 00101DB8 C0 03 00 00 */ lfs f0, 0x0(r3) /* 80105F7C 00101DBC 38 A5 00 01 */ addi r5, r5, 0x1 /* 80105F80 00101DC0 D0 04 00 28 */ stfs f0, 0x28(r4) /* 80105F84 00101DC4 C0 03 00 04 */ lfs f0, 0x4(r3) /* 80105F88 00101DC8 D0 04 00 2C */ stfs f0, 0x2c(r4) /* 80105F8C 00101DCC C0 03 00 08 */ lfs f0, 0x8(r3) /* 80105F90 00101DD0 D0 04 00 30 */ stfs f0, 0x30(r4) /* 80105F94 00101DD4 C0 03 00 0C */ lfs f0, 0xc(r3) /* 80105F98 00101DD8 D0 04 00 34 */ stfs f0, 0x34(r4) /* 80105F9C 00101DDC C0 03 00 10 */ lfs f0, 0x10(r3) /* 80105FA0 00101DE0 D0 04 00 38 */ stfs f0, 0x38(r4) /* 80105FA4 00101DE4 C0 03 00 14 */ lfs f0, 0x14(r3) /* 80105FA8 00101DE8 38 63 00 18 */ addi r3, r3, 0x18 /* 80105FAC 00101DEC D0 04 00 3C */ stfs f0, 0x3c(r4) /* 80105FB0 00101DF0 38 84 00 18 */ addi r4, r4, 0x18 .global lbl_80105FB4 lbl_80105FB4: /* 80105FB4 00101DF4 88 DD 00 99 */ lbz r6, 0x99(r29) /* 80105FB8 00101DF8 7C 05 30 00 */ cmpw r5, r6 /* 80105FBC 00101DFC 41 80 FF BC */ blt lbl_80105F78 /* 80105FC0 00101E00 80 7D 00 1C */ lwz r3, 0x1c(r29) /* 80105FC4 00101E04 38 E1 00 08 */ addi r7, r1, 0x8 /* 80105FC8 00101E08 80 9D 00 28 */ lwz r4, 0x28(r29) /* 80105FCC 00101E0C 81 83 00 00 */ lwz r12, 0x0(r3) /* 80105FD0 00101E10 80 BD 00 9C */ lwz r5, 0x9c(r29) /* 80105FD4 00101E14 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80105FD8 00101E18 7D 89 03 A6 */ mtctr r12 /* 80105FDC 00101E1C 4E 80 04 21 */ bctrl /* 80105FE0 00101E20 C0 01 00 08 */ lfs f0, 0x8(r1) /* 80105FE4 00101E24 7F E4 FB 78 */ mr r4, r31 /* 80105FE8 00101E28 D0 1D 00 30 */ stfs f0, 0x30(r29) /* 80105FEC 00101E2C 38 61 00 08 */ addi r3, r1, 0x8 /* 80105FF0 00101E30 38 A0 00 00 */ li r5, 0x0 /* 80105FF4 00101E34 C0 01 00 0C */ lfs f0, 0xc(r1) /* 80105FF8 00101E38 D0 1D 00 34 */ stfs f0, 0x34(r29) /* 80105FFC 00101E3C C0 01 00 10 */ lfs f0, 0x10(r1) /* 80106000 00101E40 D0 1D 00 38 */ stfs f0, 0x38(r29) /* 80106004 00101E44 C0 01 00 14 */ lfs f0, 0x14(r1) /* 80106008 00101E48 D0 1D 00 3C */ stfs f0, 0x3c(r29) /* 8010600C 00101E4C C0 01 00 18 */ lfs f0, 0x18(r1) /* 80106010 00101E50 D0 1D 00 40 */ stfs f0, 0x40(r29) /* 80106014 00101E54 C0 01 00 1C */ lfs f0, 0x1c(r1) /* 80106018 00101E58 D0 1D 00 44 */ stfs f0, 0x44(r29) /* 8010601C 00101E5C C0 01 00 20 */ lfs f0, 0x20(r1) /* 80106020 00101E60 D0 1D 00 48 */ stfs f0, 0x48(r29) /* 80106024 00101E64 80 01 00 24 */ lwz r0, 0x24(r1) /* 80106028 00101E68 90 1D 00 4C */ stw r0, 0x4c(r29) /* 8010602C 00101E6C 80 01 00 28 */ lwz r0, 0x28(r1) /* 80106030 00101E70 90 1D 00 50 */ stw r0, 0x50(r29) /* 80106034 00101E74 80 01 00 2C */ lwz r0, 0x2c(r1) /* 80106038 00101E78 90 1D 00 54 */ stw r0, 0x54(r29) /* 8010603C 00101E7C 48 00 00 40 */ b lbl_8010607C .global lbl_80106040 lbl_80106040: /* 80106040 00101E80 C0 03 00 28 */ lfs f0, 0x28(r3) /* 80106044 00101E84 38 A5 00 01 */ addi r5, r5, 0x1 /* 80106048 00101E88 D0 04 00 50 */ stfs f0, 0x50(r4) /* 8010604C 00101E8C C0 03 00 2C */ lfs f0, 0x2c(r3) /* 80106050 00101E90 D0 04 00 54 */ stfs f0, 0x54(r4) /* 80106054 00101E94 C0 03 00 30 */ lfs f0, 0x30(r3) /* 80106058 00101E98 D0 04 00 58 */ stfs f0, 0x58(r4) /* 8010605C 00101E9C C0 03 00 34 */ lfs f0, 0x34(r3) /* 80106060 00101EA0 D0 04 00 5C */ stfs f0, 0x5c(r4) /* 80106064 00101EA4 C0 03 00 38 */ lfs f0, 0x38(r3) /* 80106068 00101EA8 D0 04 00 60 */ stfs f0, 0x60(r4) /* 8010606C 00101EAC C0 03 00 3C */ lfs f0, 0x3c(r3) /* 80106070 00101EB0 38 63 00 18 */ addi r3, r3, 0x18 /* 80106074 00101EB4 D0 04 00 64 */ stfs f0, 0x64(r4) /* 80106078 00101EB8 38 84 00 18 */ addi r4, r4, 0x18 .global lbl_8010607C lbl_8010607C: /* 8010607C 00101EBC 88 1D 00 99 */ lbz r0, 0x99(r29) /* 80106080 00101EC0 7C 05 00 00 */ cmpw r5, r0 /* 80106084 00101EC4 41 80 FF BC */ blt lbl_80106040 .global lbl_80106088 lbl_80106088: /* 80106088 00101EC8 80 7D 00 14 */ lwz r3, 0x14(r29) /* 8010608C 00101ECC 2C 03 00 00 */ cmpwi r3, 0x0 /* 80106090 00101ED0 41 82 00 1C */ beq lbl_801060AC /* 80106094 00101ED4 C0 03 00 48 */ lfs f0, 0x48(r3) /* 80106098 00101ED8 D0 1D 00 58 */ stfs f0, 0x58(r29) /* 8010609C 00101EDC C0 03 00 4C */ lfs f0, 0x4c(r3) /* 801060A0 00101EE0 D0 1D 00 5C */ stfs f0, 0x5c(r29) /* 801060A4 00101EE4 C0 03 00 50 */ lfs f0, 0x50(r3) /* 801060A8 00101EE8 D0 1D 00 60 */ stfs f0, 0x60(r29) .global lbl_801060AC lbl_801060AC: /* 801060AC 00101EEC 81 9D 00 00 */ lwz r12, 0x0(r29) /* 801060B0 00101EF0 7F A3 EB 78 */ mr r3, r29 /* 801060B4 00101EF4 81 8C 00 34 */ lwz r12, 0x34(r12) /* 801060B8 00101EF8 7D 89 03 A6 */ mtctr r12 /* 801060BC 00101EFC 4E 80 04 21 */ bctrl /* 801060C0 00101F00 88 1D 00 87 */ lbz r0, 0x87(r29) /* 801060C4 00101F04 2C 00 00 00 */ cmpwi r0, 0x0 /* 801060C8 00101F08 41 82 00 34 */ beq lbl_801060FC /* 801060CC 00101F0C 80 7D 00 70 */ lwz r3, 0x70(r29) /* 801060D0 00101F10 80 1D 00 6C */ lwz r0, 0x6c(r29) /* 801060D4 00101F14 7C 03 00 00 */ cmpw r3, r0 /* 801060D8 00101F18 41 80 00 24 */ blt lbl_801060FC /* 801060DC 00101F1C 38 00 00 00 */ li r0, 0x0 /* 801060E0 00101F20 98 1D 00 87 */ stb r0, 0x87(r29) /* 801060E4 00101F24 7F A3 EB 78 */ mr r3, r29 /* 801060E8 00101F28 81 9D 00 00 */ lwz r12, 0x0(r29) /* 801060EC 00101F2C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 801060F0 00101F30 7D 89 03 A6 */ mtctr r12 /* 801060F4 00101F34 4E 80 04 21 */ bctrl /* 801060F8 00101F38 48 00 00 E0 */ b lbl_801061D8 .global lbl_801060FC lbl_801060FC: /* 801060FC 00101F3C 2C 1E 00 00 */ cmpwi r30, 0x0 /* 80106100 00101F40 41 82 00 4C */ beq lbl_8010614C /* 80106104 00101F44 81 9F 00 00 */ lwz r12, 0x0(r31) /* 80106108 00101F48 7F E3 FB 78 */ mr r3, r31 /* 8010610C 00101F4C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80106110 00101F50 7D 89 03 A6 */ mtctr r12 /* 80106114 00101F54 4E 80 04 21 */ bctrl /* 80106118 00101F58 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010611C 00101F5C 41 82 00 18 */ beq lbl_80106134 /* 80106120 00101F60 38 60 00 01 */ li r3, 0x1 /* 80106124 00101F64 38 00 00 00 */ li r0, 0x0 /* 80106128 00101F68 98 7D 00 85 */ stb r3, 0x85(r29) /* 8010612C 00101F6C 98 1D 00 84 */ stb r0, 0x84(r29) /* 80106130 00101F70 48 00 00 1C */ b lbl_8010614C .global lbl_80106134 lbl_80106134: /* 80106134 00101F74 81 9D 00 00 */ lwz r12, 0x0(r29) /* 80106138 00101F78 7F A3 EB 78 */ mr r3, r29 /* 8010613C 00101F7C 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80106140 00101F80 7D 89 03 A6 */ mtctr r12 /* 80106144 00101F84 4E 80 04 21 */ bctrl /* 80106148 00101F88 48 00 00 90 */ b lbl_801061D8 .global lbl_8010614C lbl_8010614C: /* 8010614C 00101F8C 80 1D 00 88 */ lwz r0, 0x88(r29) /* 80106150 00101F90 2C 00 00 01 */ cmpwi r0, 0x1 /* 80106154 00101F94 40 82 00 38 */ bne lbl_8010618C /* 80106158 00101F98 80 7D 00 80 */ lwz r3, 0x80(r29) /* 8010615C 00101F9C 80 1D 00 7C */ lwz r0, 0x7c(r29) /* 80106160 00101FA0 7C 03 00 00 */ cmpw r3, r0 /* 80106164 00101FA4 41 80 00 48 */ blt lbl_801061AC /* 80106168 00101FA8 81 9F 00 00 */ lwz r12, 0x0(r31) /* 8010616C 00101FAC 7F E3 FB 78 */ mr r3, r31 /* 80106170 00101FB0 38 80 00 01 */ li r4, 0x1 /* 80106174 00101FB4 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80106178 00101FB8 7D 89 03 A6 */ mtctr r12 /* 8010617C 00101FBC 4E 80 04 21 */ bctrl /* 80106180 00101FC0 38 00 00 02 */ li r0, 0x2 /* 80106184 00101FC4 90 1D 00 88 */ stw r0, 0x88(r29) /* 80106188 00101FC8 48 00 00 24 */ b lbl_801061AC .global lbl_8010618C lbl_8010618C: /* 8010618C 00101FCC 2C 00 00 03 */ cmpwi r0, 0x3 /* 80106190 00101FD0 40 82 00 1C */ bne lbl_801061AC /* 80106194 00101FD4 80 7D 00 80 */ lwz r3, 0x80(r29) /* 80106198 00101FD8 80 1D 00 7C */ lwz r0, 0x7c(r29) /* 8010619C 00101FDC 7C 03 00 00 */ cmpw r3, r0 /* 801061A0 00101FE0 41 80 00 0C */ blt lbl_801061AC /* 801061A4 00101FE4 38 00 00 00 */ li r0, 0x0 /* 801061A8 00101FE8 90 1D 00 88 */ stw r0, 0x88(r29) .global lbl_801061AC lbl_801061AC: /* 801061AC 00101FEC 88 1D 00 8C */ lbz r0, 0x8c(r29) /* 801061B0 00101FF0 2C 00 00 00 */ cmpwi r0, 0x0 /* 801061B4 00101FF4 41 82 00 24 */ beq lbl_801061D8 /* 801061B8 00101FF8 81 9F 00 00 */ lwz r12, 0x0(r31) /* 801061BC 00101FFC 7F E3 FB 78 */ mr r3, r31 /* 801061C0 00102000 38 80 00 00 */ li r4, 0x0 /* 801061C4 00102004 81 8C 00 14 */ lwz r12, 0x14(r12) /* 801061C8 00102008 7D 89 03 A6 */ mtctr r12 /* 801061CC 0010200C 4E 80 04 21 */ bctrl /* 801061D0 00102010 38 00 00 00 */ li r0, 0x0 /* 801061D4 00102014 98 1D 00 8C */ stb r0, 0x8c(r29) .global lbl_801061D8 lbl_801061D8: /* 801061D8 00102018 80 01 00 A4 */ lwz r0, 0xa4(r1) /* 801061DC 0010201C 83 E1 00 9C */ lwz r31, 0x9c(r1) /* 801061E0 00102020 83 C1 00 98 */ lwz r30, 0x98(r1) /* 801061E4 00102024 83 A1 00 94 */ lwz r29, 0x94(r1) /* 801061E8 00102028 7C 08 03 A6 */ mtlr r0 /* 801061EC 0010202C 38 21 00 A0 */ addi r1, r1, 0xa0 /* 801061F0 00102030 4E 80 00 20 */ blr /* 801061F4 00102034 00 00 00 00 */ .4byte 0x00000000 /* 801061F8 00102038 00 00 00 00 */ .4byte 0x00000000 /* 801061FC 0010203C 00 00 00 00 */ .4byte 0x00000000 .global UpdateMoveValue__Q44nw4r3snd6detail10BasicSoundFv UpdateMoveValue__Q44nw4r3snd6detail10BasicSoundFv: /* 80106200 00102040 80 83 00 70 */ lwz r4, 0x70(r3) /* 80106204 00102044 80 03 00 6C */ lwz r0, 0x6c(r3) /* 80106208 00102048 7C 04 00 00 */ cmpw r4, r0 /* 8010620C 0010204C 40 80 00 0C */ bge lbl_80106218 /* 80106210 00102050 38 04 00 01 */ addi r0, r4, 0x1 /* 80106214 00102054 90 03 00 70 */ stw r0, 0x70(r3) .global lbl_80106218 lbl_80106218: /* 80106218 00102058 80 83 00 AC */ lwz r4, 0xac(r3) /* 8010621C 0010205C 80 03 00 A8 */ lwz r0, 0xa8(r3) /* 80106220 00102060 7C 04 00 00 */ cmpw r4, r0 /* 80106224 00102064 4C 80 00 20 */ bgelr /* 80106228 00102068 38 04 00 01 */ addi r0, r4, 0x1 /* 8010622C 0010206C 90 03 00 AC */ stw r0, 0xac(r3) /* 80106230 00102070 4E 80 00 20 */ blr /* 80106234 00102074 00 00 00 00 */ .4byte 0x00000000 /* 80106238 00102078 00 00 00 00 */ .4byte 0x00000000 /* 8010623C 0010207C 00 00 00 00 */ .4byte 0x00000000 .global UpdateParam__Q44nw4r3snd6detail10BasicSoundFv UpdateParam__Q44nw4r3snd6detail10BasicSoundFv: /* 80106240 00102080 94 21 FF 30 */ stwu r1, -0xd0(r1) /* 80106244 00102084 7C 08 02 A6 */ mflr r0 /* 80106248 00102088 90 01 00 D4 */ stw r0, 0xd4(r1) /* 8010624C 0010208C 39 61 00 50 */ addi r11, r1, 0x50 /* 80106250 00102090 DB E1 00 C0 */ stfd f31, 0xc0(r1) /* 80106254 00102094 F3 E1 00 C8 */ psq_st f31, 0xc8(r1), 0, qr0 /* 80106258 00102098 DB C1 00 B0 */ stfd f30, 0xb0(r1) /* 8010625C 0010209C F3 C1 00 B8 */ psq_st f30, 0xb8(r1), 0, qr0 /* 80106260 001020A0 DB A1 00 A0 */ stfd f29, 0xa0(r1) /* 80106264 001020A4 F3 A1 00 A8 */ psq_st f29, 0xa8(r1), 0, qr0 /* 80106268 001020A8 DB 81 00 90 */ stfd f28, 0x90(r1) /* 8010626C 001020AC F3 81 00 98 */ psq_st f28, 0x98(r1), 0, qr0 /* 80106270 001020B0 DB 61 00 80 */ stfd f27, 0x80(r1) /* 80106274 001020B4 F3 61 00 88 */ psq_st f27, 0x88(r1), 0, qr0 /* 80106278 001020B8 DB 41 00 70 */ stfd f26, 0x70(r1) /* 8010627C 001020BC F3 41 00 78 */ psq_st f26, 0x78(r1), 0, qr0 /* 80106280 001020C0 DB 21 00 60 */ stfd f25, 0x60(r1) /* 80106284 001020C4 F3 21 00 68 */ psq_st f25, 0x68(r1), 0, qr0 /* 80106288 001020C8 DB 01 00 50 */ stfd f24, 0x50(r1) /* 8010628C 001020CC F3 01 00 58 */ psq_st f24, 0x58(r1), 0, qr0 /* 80106290 001020D0 4B F0 10 A9 */ bl lbl_80007338 /* 80106294 001020D4 C3 E2 93 30 */ lfs f31, "@12466"@sda21(r2) /* 80106298 001020D8 3C 00 43 30 */ lis r0, 0x4330 /* 8010629C 001020DC C0 03 00 B0 */ lfs f0, 0xb0(r3) /* 801062A0 001020E0 7C 7F 1B 78 */ mr r31, r3 /* 801062A4 001020E4 80 C3 00 10 */ lwz r6, 0x10(r3) /* 801062A8 001020E8 EF FF 00 32 */ fmuls f31, f31, f0 /* 801062AC 001020EC 80 A3 00 A8 */ lwz r5, 0xa8(r3) /* 801062B0 001020F0 C0 06 00 2C */ lfs f0, 0x2c(r6) /* 801062B4 001020F4 80 83 00 AC */ lwz r4, 0xac(r3) /* 801062B8 001020F8 EF FF 00 32 */ fmuls f31, f31, f0 /* 801062BC 001020FC 90 01 00 28 */ stw r0, 0x28(r1) /* 801062C0 00102100 7C 04 28 00 */ cmpw r4, r5 /* 801062C4 00102104 90 01 00 30 */ stw r0, 0x30(r1) /* 801062C8 00102108 41 80 00 0C */ blt lbl_801062D4 /* 801062CC 0010210C C0 03 00 A4 */ lfs f0, 0xa4(r3) /* 801062D0 00102110 48 00 00 40 */ b lbl_80106310 .global lbl_801062D4 lbl_801062D4: /* 801062D4 00102114 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 801062D8 00102118 90 01 00 2C */ stw r0, 0x2c(r1) /* 801062DC 0010211C 6C A0 80 00 */ xoris r0, r5, 0x8000 /* 801062E0 00102120 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 801062E4 00102124 C8 01 00 28 */ lfd f0, 0x28(r1) /* 801062E8 00102128 C0 23 00 A4 */ lfs f1, 0xa4(r3) /* 801062EC 0010212C C0 43 00 A0 */ lfs f2, 0xa0(r3) /* 801062F0 00102130 EC 60 20 28 */ fsubs f3, f0, f4 /* 801062F4 00102134 90 01 00 34 */ stw r0, 0x34(r1) /* 801062F8 00102138 EC 21 10 28 */ fsubs f1, f1, f2 /* 801062FC 0010213C C8 01 00 30 */ lfd f0, 0x30(r1) /* 80106300 00102140 EC 00 20 28 */ fsubs f0, f0, f4 /* 80106304 00102144 EC 23 00 72 */ fmuls f1, f3, f1 /* 80106308 00102148 EC 01 00 24 */ fdivs f0, f1, f0 /* 8010630C 0010214C EC 02 00 2A */ fadds f0, f2, f0 .global lbl_80106310 lbl_80106310: /* 80106310 00102150 80 83 00 6C */ lwz r4, 0x6c(r3) /* 80106314 00102154 EF FF 00 32 */ fmuls f31, f31, f0 /* 80106318 00102158 80 03 00 70 */ lwz r0, 0x70(r3) /* 8010631C 0010215C 7C 00 20 00 */ cmpw r0, r4 /* 80106320 00102160 41 80 00 0C */ blt lbl_8010632C /* 80106324 00102164 C0 03 00 68 */ lfs f0, 0x68(r3) /* 80106328 00102168 48 00 00 40 */ b lbl_80106368 .global lbl_8010632C lbl_8010632C: /* 8010632C 0010216C 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80106330 00102170 90 01 00 2C */ stw r0, 0x2c(r1) /* 80106334 00102174 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80106338 00102178 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 8010633C 0010217C C8 01 00 28 */ lfd f0, 0x28(r1) /* 80106340 00102180 C0 23 00 68 */ lfs f1, 0x68(r3) /* 80106344 00102184 C0 43 00 64 */ lfs f2, 0x64(r3) /* 80106348 00102188 EC 60 20 28 */ fsubs f3, f0, f4 /* 8010634C 0010218C 90 01 00 34 */ stw r0, 0x34(r1) /* 80106350 00102190 EC 21 10 28 */ fsubs f1, f1, f2 /* 80106354 00102194 C8 01 00 30 */ lfd f0, 0x30(r1) /* 80106358 00102198 EC 00 20 28 */ fsubs f0, f0, f4 /* 8010635C 0010219C EC 23 00 72 */ fmuls f1, f3, f1 /* 80106360 001021A0 EC 01 00 24 */ fdivs f0, f1, f0 /* 80106364 001021A4 EC 02 00 2A */ fadds f0, f2, f0 .global lbl_80106368 lbl_80106368: /* 80106368 001021A8 80 83 00 7C */ lwz r4, 0x7c(r3) /* 8010636C 001021AC EF FF 00 32 */ fmuls f31, f31, f0 /* 80106370 001021B0 80 03 00 80 */ lwz r0, 0x80(r3) /* 80106374 001021B4 7C 00 20 00 */ cmpw r0, r4 /* 80106378 001021B8 41 80 00 0C */ blt lbl_80106384 /* 8010637C 001021BC C0 03 00 78 */ lfs f0, 0x78(r3) /* 80106380 001021C0 48 00 00 40 */ b lbl_801063C0 .global lbl_80106384 lbl_80106384: /* 80106384 001021C4 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 80106388 001021C8 90 01 00 2C */ stw r0, 0x2c(r1) /* 8010638C 001021CC 6C 80 80 00 */ xoris r0, r4, 0x8000 /* 80106390 001021D0 C8 82 93 38 */ lfd f4, "@12524"@sda21(r2) /* 80106394 001021D4 C8 01 00 28 */ lfd f0, 0x28(r1) /* 80106398 001021D8 C0 23 00 78 */ lfs f1, 0x78(r3) /* 8010639C 001021DC C0 43 00 74 */ lfs f2, 0x74(r3) /* 801063A0 001021E0 EC 60 20 28 */ fsubs f3, f0, f4 /* 801063A4 001021E4 90 01 00 34 */ stw r0, 0x34(r1) /* 801063A8 001021E8 EC 21 10 28 */ fsubs f1, f1, f2 /* 801063AC 001021EC C8 01 00 30 */ lfd f0, 0x30(r1) /* 801063B0 001021F0 EC 00 20 28 */ fsubs f0, f0, f4 /* 801063B4 001021F4 EC 23 00 72 */ fmuls f1, f3, f1 /* 801063B8 001021F8 EC 01 00 24 */ fdivs f0, f1, f0 /* 801063BC 001021FC EC 02 00 2A */ fadds f0, f2, f0 .global lbl_801063C0 lbl_801063C0: /* 801063C0 00102200 EF FF 00 32 */ fmuls f31, f31, f0 /* 801063C4 00102204 C0 43 00 30 */ lfs f2, 0x30(r3) /* 801063C8 00102208 C3 82 93 30 */ lfs f28, "@12466"@sda21(r2) /* 801063CC 0010220C C0 03 00 BC */ lfs f0, 0xbc(r3) /* 801063D0 00102210 EF FF 00 B2 */ fmuls f31, f31, f2 /* 801063D4 00102214 C3 C2 93 34 */ lfs f30, "@12467"@sda21(r2) /* 801063D8 00102218 C0 23 00 B4 */ lfs f1, 0xb4(r3) /* 801063DC 0010221C EF 9C 00 32 */ fmuls f28, f28, f0 /* 801063E0 00102220 C0 03 00 34 */ lfs f0, 0x34(r3) /* 801063E4 00102224 C0 43 00 58 */ lfs f2, 0x58(r3) /* 801063E8 00102228 EF DE 08 2A */ fadds f30, f30, f1 /* 801063EC 0010222C C0 23 00 38 */ lfs f1, 0x38(r3) /* 801063F0 00102230 EF 9C 00 32 */ fmuls f28, f28, f0 /* 801063F4 00102234 C3 A2 93 34 */ lfs f29, "@12467"@sda21(r2) /* 801063F8 00102238 EF FF 00 B2 */ fmuls f31, f31, f2 /* 801063FC 0010223C C0 43 00 B8 */ lfs f2, 0xb8(r3) /* 80106400 00102240 EF DE 08 2A */ fadds f30, f30, f1 /* 80106404 00102244 C0 63 00 60 */ lfs f3, 0x60(r3) /* 80106408 00102248 EF BD 10 2A */ fadds f29, f29, f2 /* 8010640C 0010224C 8B 83 00 9A */ lbz r28, 0x9a(r3) /* 80106410 00102250 C0 23 00 5C */ lfs f1, 0x5c(r3) /* 80106414 00102254 C0 43 00 3C */ lfs f2, 0x3c(r3) /* 80106418 00102258 C3 63 00 C0 */ lfs f27, 0xc0(r3) /* 8010641C 0010225C 2C 1C 00 00 */ cmpwi r28, 0x0 /* 80106420 00102260 C0 03 00 44 */ lfs f0, 0x44(r3) /* 80106424 00102264 EF DE 18 2A */ fadds f30, f30, f3 /* 80106428 00102268 EF 9C 00 72 */ fmuls f28, f28, f1 /* 8010642C 0010226C C3 43 00 C4 */ lfs f26, 0xc4(r3) /* 80106430 00102270 EF 7B 00 2A */ fadds f27, f27, f0 /* 80106434 00102274 C0 06 00 30 */ lfs f0, 0x30(r6) /* 80106438 00102278 EF BD 10 2A */ fadds f29, f29, f2 /* 8010643C 0010227C EF 7B 00 2A */ fadds f27, f27, f0 /* 80106440 00102280 40 82 00 1C */ bne lbl_8010645C /* 80106444 00102284 83 86 00 3C */ lwz r28, 0x3c(r6) /* 80106448 00102288 C3 46 00 40 */ lfs f26, 0x40(r6) /* 8010644C 0010228C 2C 1C 00 00 */ cmpwi r28, 0x0 /* 80106450 00102290 40 82 00 0C */ bne lbl_8010645C /* 80106454 00102294 83 83 00 4C */ lwz r28, 0x4c(r3) /* 80106458 00102298 C3 43 00 48 */ lfs f26, 0x48(r3) .global lbl_8010645C lbl_8010645C: /* 8010645C 0010229C C3 22 93 30 */ lfs f25, "@12466"@sda21(r2) /* 80106460 001022A0 7F FD FB 78 */ mr r29, r31 /* 80106464 001022A4 C0 03 00 CC */ lfs f0, 0xcc(r3) /* 80106468 001022A8 3B C1 00 18 */ addi r30, r1, 0x18 /* 8010646C 001022AC C0 26 00 38 */ lfs f1, 0x38(r6) /* 80106470 001022B0 3B 40 00 00 */ li r26, 0x0 /* 80106474 001022B4 EF 39 00 32 */ fmuls f25, f25, f0 /* 80106478 001022B8 83 63 00 C8 */ lwz r27, 0xc8(r3) /* 8010647C 001022BC C3 02 93 30 */ lfs f24, "@12466"@sda21(r2) /* 80106480 001022C0 EF 39 00 72 */ fmuls f25, f25, f1 .global lbl_80106484 lbl_80106484: /* 80106484 001022C4 D3 1E 00 00 */ stfs f24, 0x0(r30) /* 80106488 001022C8 7F 44 D3 78 */ mr r4, r26 /* 8010648C 001022CC 80 7F 00 10 */ lwz r3, 0x10(r31) /* 80106490 001022D0 48 00 DC 31 */ bl GetRemoteOutVolume__Q34nw4r3snd11SoundPlayerCFi /* 80106494 001022D4 C0 5E 00 00 */ lfs f2, 0x0(r30) /* 80106498 001022D8 3B 5A 00 01 */ addi r26, r26, 0x1 /* 8010649C 001022DC C0 1D 00 E0 */ lfs f0, 0xe0(r29) /* 801064A0 001022E0 2C 1A 00 04 */ cmpwi r26, 0x4 /* 801064A4 001022E4 EC 22 00 72 */ fmuls f1, f2, f1 /* 801064A8 001022E8 3B BD 00 04 */ addi r29, r29, 0x4 /* 801064AC 001022EC EC 01 00 32 */ fmuls f0, f1, f0 /* 801064B0 001022F0 D0 1E 00 00 */ stfs f0, 0x0(r30) /* 801064B4 001022F4 3B DE 00 04 */ addi r30, r30, 0x4 /* 801064B8 001022F8 41 80 FF CC */ blt lbl_80106484 /* 801064BC 001022FC C0 82 93 34 */ lfs f4, "@12467"@sda21(r2) /* 801064C0 00102300 7F E3 FB 78 */ mr r3, r31 /* 801064C4 00102304 C0 3F 00 D8 */ lfs f1, 0xd8(r31) /* 801064C8 00102308 C0 1F 00 DC */ lfs f0, 0xdc(r31) /* 801064CC 0010230C 80 9F 00 10 */ lwz r4, 0x10(r31) /* 801064D0 00102310 EC 24 08 2A */ fadds f1, f4, f1 /* 801064D4 00102314 C0 5F 00 D4 */ lfs f2, 0xd4(r31) /* 801064D8 00102318 EC 04 00 2A */ fadds f0, f4, f0 /* 801064DC 0010231C C0 A4 00 58 */ lfs f5, 0x58(r4) /* 801064E0 00102320 EC 64 10 2A */ fadds f3, f4, f2 /* 801064E4 00102324 C0 44 00 5C */ lfs f2, 0x5c(r4) /* 801064E8 00102328 81 9F 00 00 */ lwz r12, 0x0(r31) /* 801064EC 0010232C EC 41 10 2A */ fadds f2, f1, f2 /* 801064F0 00102330 C0 84 00 60 */ lfs f4, 0x60(r4) /* 801064F4 00102334 C3 02 93 34 */ lfs f24, "@12467"@sda21(r2) /* 801064F8 00102338 EC 20 20 2A */ fadds f1, f0, f4 /* 801064FC 0010233C C0 9F 00 D0 */ lfs f4, 0xd0(r31) /* 80106500 00102340 EC 63 28 2A */ fadds f3, f3, f5 /* 80106504 00102344 C0 1F 00 40 */ lfs f0, 0x40(r31) /* 80106508 00102348 EF 18 20 2A */ fadds f24, f24, f4 /* 8010650C 0010234C C0 84 00 54 */ lfs f4, 0x54(r4) /* 80106510 00102350 EC 03 00 2A */ fadds f0, f3, f0 /* 80106514 00102354 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80106518 00102358 EF 18 20 2A */ fadds f24, f24, f4 /* 8010651C 0010235C D0 41 00 0C */ stfs f2, 0xc(r1) /* 80106520 00102360 D0 21 00 10 */ stfs f1, 0x10(r1) /* 80106524 00102364 D0 01 00 08 */ stfs f0, 0x8(r1) /* 80106528 00102368 7D 89 03 A6 */ mtctr r12 /* 8010652C 0010236C 4E 80 04 21 */ bctrl /* 80106530 00102370 D3 E3 00 04 */ stfs f31, 0x4(r3) /* 80106534 00102374 FC 20 D0 90 */ fmr f1, f26 /* 80106538 00102378 7C 7A 1B 78 */ mr r26, r3 /* 8010653C 0010237C 7F 84 E3 78 */ mr r4, r28 /* 80106540 00102380 D3 C3 00 0C */ stfs f30, 0xc(r3) /* 80106544 00102384 D3 A3 00 10 */ stfs f29, 0x10(r3) /* 80106548 00102388 D3 83 00 08 */ stfs f28, 0x8(r3) /* 8010654C 0010238C D3 63 00 14 */ stfs f27, 0x14(r3) /* 80106550 00102390 4B FF EF 11 */ bl SetBiquadFilter__Q44nw4r3snd6detail11BasicPlayerFif /* 80106554 00102394 93 7A 00 20 */ stw r27, 0x20(r26) /* 80106558 00102398 3B E1 00 18 */ addi r31, r1, 0x18 /* 8010655C 0010239C 3B 60 00 00 */ li r27, 0x0 /* 80106560 001023A0 D3 3A 00 24 */ stfs f25, 0x24(r26) .global lbl_80106564 lbl_80106564: /* 80106564 001023A4 C0 3F 00 00 */ lfs f1, 0x0(r31) /* 80106568 001023A8 7F 43 D3 78 */ mr r3, r26 /* 8010656C 001023AC 7F 64 DB 78 */ mr r4, r27 /* 80106570 001023B0 4B FF EF 11 */ bl SetRemoteOutVolume__Q44nw4r3snd6detail11BasicPlayerFif /* 80106574 001023B4 3B 7B 00 01 */ addi r27, r27, 0x1 /* 80106578 001023B8 3B FF 00 04 */ addi r31, r31, 0x4 /* 8010657C 001023BC 2C 1B 00 04 */ cmpwi r27, 0x4 /* 80106580 001023C0 41 80 FF E4 */ blt lbl_80106564 /* 80106584 001023C4 D3 1A 00 28 */ stfs f24, 0x28(r26) /* 80106588 001023C8 3B E1 00 08 */ addi r31, r1, 0x8 /* 8010658C 001023CC 3B 60 00 00 */ li r27, 0x0 .global lbl_80106590 lbl_80106590: /* 80106590 001023D0 C0 3F 00 00 */ lfs f1, 0x0(r31) /* 80106594 001023D4 7F 43 D3 78 */ mr r3, r26 /* 80106598 001023D8 7F 64 DB 78 */ mr r4, r27 /* 8010659C 001023DC 4B FF EE A5 */ bl SetFxSend__Q44nw4r3snd6detail11BasicPlayerFQ34nw4r3snd6AuxBusf /* 801065A0 001023E0 3B 7B 00 01 */ addi r27, r27, 0x1 /* 801065A4 001023E4 3B FF 00 04 */ addi r31, r31, 0x4 /* 801065A8 001023E8 2C 1B 00 03 */ cmpwi r27, 0x3 /* 801065AC 001023EC 41 80 FF E4 */ blt lbl_80106590 /* 801065B0 001023F0 39 61 00 50 */ addi r11, r1, 0x50 /* 801065B4 001023F4 E3 E1 00 C8 */ psq_l f31, 0xc8(r1), 0, qr0 /* 801065B8 001023F8 CB E1 00 C0 */ lfd f31, 0xc0(r1) /* 801065BC 001023FC E3 C1 00 B8 */ psq_l f30, 0xb8(r1), 0, qr0 /* 801065C0 00102400 CB C1 00 B0 */ lfd f30, 0xb0(r1) /* 801065C4 00102404 E3 A1 00 A8 */ psq_l f29, 0xa8(r1), 0, qr0 /* 801065C8 00102408 CB A1 00 A0 */ lfd f29, 0xa0(r1) /* 801065CC 0010240C E3 81 00 98 */ psq_l f28, 0x98(r1), 0, qr0 /* 801065D0 00102410 CB 81 00 90 */ lfd f28, 0x90(r1) /* 801065D4 00102414 E3 61 00 88 */ psq_l f27, 0x88(r1), 0, qr0 /* 801065D8 00102418 CB 61 00 80 */ lfd f27, 0x80(r1) /* 801065DC 0010241C E3 41 00 78 */ psq_l f26, 0x78(r1), 0, qr0 /* 801065E0 00102420 CB 41 00 70 */ lfd f26, 0x70(r1) /* 801065E4 00102424 E3 21 00 68 */ psq_l f25, 0x68(r1), 0, qr0 /* 801065E8 00102428 CB 21 00 60 */ lfd f25, 0x60(r1) /* 801065EC 0010242C E3 01 00 58 */ psq_l f24, 0x58(r1), 0, qr0 /* 801065F0 00102430 CB 01 00 50 */ lfd f24, 0x50(r1) /* 801065F4 00102434 4B F0 0D 91 */ bl lbl_80007384 /* 801065F8 00102438 80 01 00 D4 */ lwz r0, 0xd4(r1) /* 801065FC 0010243C 7C 08 03 A6 */ mtlr r0 /* 80106600 00102440 38 21 00 D0 */ addi r1, r1, 0xd0 /* 80106604 00102444 4E 80 00 20 */ blr /* 80106608 00102448 00 00 00 00 */ .4byte 0x00000000 /* 8010660C 0010244C 00 00 00 00 */ .4byte 0x00000000 .global Shutdown__Q44nw4r3snd6detail10BasicSoundFv Shutdown__Q44nw4r3snd6detail10BasicSoundFv: /* 80106610 00102450 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80106614 00102454 7C 08 02 A6 */ mflr r0 /* 80106618 00102458 90 01 00 14 */ stw r0, 0x14(r1) /* 8010661C 0010245C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80106620 00102460 93 C1 00 08 */ stw r30, 0x8(r1) /* 80106624 00102464 7C 7E 1B 78 */ mr r30, r3 /* 80106628 00102468 81 83 00 00 */ lwz r12, 0x0(r3) /* 8010662C 0010246C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80106630 00102470 7D 89 03 A6 */ mtctr r12 /* 80106634 00102474 4E 80 04 21 */ bctrl /* 80106638 00102478 81 83 00 00 */ lwz r12, 0x0(r3) /* 8010663C 0010247C 7C 7F 1B 78 */ mr r31, r3 /* 80106640 00102480 81 8C 00 18 */ lwz r12, 0x18(r12) /* 80106644 00102484 7D 89 03 A6 */ mtctr r12 /* 80106648 00102488 4E 80 04 21 */ bctrl /* 8010664C 0010248C 2C 03 00 00 */ cmpwi r3, 0x0 /* 80106650 00102490 41 82 00 2C */ beq lbl_8010667C /* 80106654 00102494 88 1E 00 87 */ lbz r0, 0x87(r30) /* 80106658 00102498 2C 00 00 00 */ cmpwi r0, 0x0 /* 8010665C 0010249C 41 82 00 0C */ beq lbl_80106668 /* 80106660 001024A0 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 80106664 001024A4 D0 1F 00 04 */ stfs f0, 0x4(r31) .global lbl_80106668 lbl_80106668: /* 80106668 001024A8 81 9F 00 00 */ lwz r12, 0x0(r31) /* 8010666C 001024AC 7F E3 FB 78 */ mr r3, r31 /* 80106670 001024B0 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80106674 001024B4 7D 89 03 A6 */ mtctr r12 /* 80106678 001024B8 4E 80 04 21 */ bctrl .global lbl_8010667C lbl_8010667C: /* 8010667C 001024BC 3B E0 FF FF */ li r31, -0x1 /* 80106680 001024C0 93 FE 00 9C */ stw r31, 0x9c(r30) /* 80106684 001024C4 7F C3 F3 78 */ mr r3, r30 /* 80106688 001024C8 81 9E 00 00 */ lwz r12, 0x0(r30) /* 8010668C 001024CC 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80106690 001024D0 7D 89 03 A6 */ mtctr r12 /* 80106694 001024D4 4E 80 04 21 */ bctrl /* 80106698 001024D8 93 E3 00 B0 */ stw r31, 0xb0(r3) /* 8010669C 001024DC 80 7E 00 08 */ lwz r3, 0x8(r30) /* 801066A0 001024E0 2C 03 00 00 */ cmpwi r3, 0x0 /* 801066A4 001024E4 41 82 00 08 */ beq lbl_801066AC /* 801066A8 001024E8 48 00 D5 59 */ bl DetachSound__Q34nw4r3snd11SoundHandleFv .global lbl_801066AC lbl_801066AC: /* 801066AC 001024EC 80 7E 00 0C */ lwz r3, 0xc(r30) /* 801066B0 001024F0 2C 03 00 00 */ cmpwi r3, 0x0 /* 801066B4 001024F4 41 82 00 08 */ beq lbl_801066BC /* 801066B8 001024F8 48 00 D5 49 */ bl DetachSound__Q34nw4r3snd11SoundHandleFv .global lbl_801066BC lbl_801066BC: /* 801066BC 001024FC 81 9E 00 00 */ lwz r12, 0x0(r30) /* 801066C0 00102500 7F C3 F3 78 */ mr r3, r30 /* 801066C4 00102504 81 8C 00 18 */ lwz r12, 0x18(r12) /* 801066C8 00102508 7D 89 03 A6 */ mtctr r12 /* 801066CC 0010250C 4E 80 04 21 */ bctrl /* 801066D0 00102510 2C 03 00 00 */ cmpwi r3, 0x0 /* 801066D4 00102514 41 82 00 18 */ beq lbl_801066EC /* 801066D8 00102518 81 9E 00 00 */ lwz r12, 0x0(r30) /* 801066DC 0010251C 7F C3 F3 78 */ mr r3, r30 /* 801066E0 00102520 81 8C 00 1C */ lwz r12, 0x1c(r12) /* 801066E4 00102524 7D 89 03 A6 */ mtctr r12 /* 801066E8 00102528 4E 80 04 21 */ bctrl .global lbl_801066EC lbl_801066EC: /* 801066EC 0010252C 80 1E 00 04 */ lwz r0, 0x4(r30) /* 801066F0 00102530 2C 00 00 00 */ cmpwi r0, 0x0 /* 801066F4 00102534 41 82 00 10 */ beq lbl_80106704 /* 801066F8 00102538 80 7E 00 10 */ lwz r3, 0x10(r30) /* 801066FC 0010253C 7F C4 F3 78 */ mr r4, r30 /* 80106700 00102540 48 00 E1 81 */ bl detail_FreePlayerHeap__Q34nw4r3snd11SoundPlayerFPQ44nw4r3snd6detail10BasicSound .global lbl_80106704 lbl_80106704: /* 80106704 00102544 80 7E 00 10 */ lwz r3, 0x10(r30) /* 80106708 00102548 2C 03 00 00 */ cmpwi r3, 0x0 /* 8010670C 0010254C 41 82 00 0C */ beq lbl_80106718 /* 80106710 00102550 7F C4 F3 78 */ mr r4, r30 /* 80106714 00102554 48 00 DE 4D */ bl detail_RemoveSound__Q34nw4r3snd11SoundPlayerFPQ44nw4r3snd6detail10BasicSound .global lbl_80106718 lbl_80106718: /* 80106718 00102558 80 7E 00 18 */ lwz r3, 0x18(r30) /* 8010671C 0010255C 2C 03 00 00 */ cmpwi r3, 0x0 /* 80106720 00102560 41 82 00 0C */ beq lbl_8010672C /* 80106724 00102564 7F C4 F3 78 */ mr r4, r30 /* 80106728 00102568 48 00 2C 39 */ bl RemoveSound__Q44nw4r3snd6detail19ExternalSoundPlayerFPQ44nw4r3snd6detail10BasicSound .global lbl_8010672C lbl_8010672C: /* 8010672C 0010256C 80 7E 00 24 */ lwz r3, 0x24(r30) /* 80106730 00102570 2C 03 00 00 */ cmpwi r3, 0x0 /* 80106734 00102574 41 82 00 24 */ beq lbl_80106758 /* 80106738 00102578 81 83 00 00 */ lwz r12, 0x0(r3) /* 8010673C 0010257C 7F C5 F3 78 */ mr r5, r30 /* 80106740 00102580 80 9E 00 28 */ lwz r4, 0x28(r30) /* 80106744 00102584 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80106748 00102588 7D 89 03 A6 */ mtctr r12 /* 8010674C 0010258C 4E 80 04 21 */ bctrl /* 80106750 00102590 38 00 00 00 */ li r0, 0x0 /* 80106754 00102594 90 1E 00 28 */ stw r0, 0x28(r30) .global lbl_80106758 lbl_80106758: /* 80106758 00102598 38 00 00 00 */ li r0, 0x0 /* 8010675C 0010259C 98 1E 00 85 */ stb r0, 0x85(r30) /* 80106760 001025A0 98 1E 00 87 */ stb r0, 0x87(r30) /* 80106764 001025A4 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80106768 001025A8 83 C1 00 08 */ lwz r30, 0x8(r1) /* 8010676C 001025AC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80106770 001025B0 7C 08 03 A6 */ mtlr r0 /* 80106774 001025B4 38 21 00 10 */ addi r1, r1, 0x10 /* 80106778 001025B8 4E 80 00 20 */ blr /* 8010677C 001025BC 00 00 00 00 */ .4byte 0x00000000 .global DetachPlayerHeap__Q44nw4r3snd6detail10BasicSoundFPQ44nw4r3snd6detail10PlayerHeap DetachPlayerHeap__Q44nw4r3snd6detail10BasicSoundFPQ44nw4r3snd6detail10PlayerHeap: /* 80106780 001025C0 38 00 00 00 */ li r0, 0x0 /* 80106784 001025C4 90 03 00 04 */ stw r0, 0x4(r3) /* 80106788 001025C8 4E 80 00 20 */ blr /* 8010678C 001025CC 00 00 00 00 */ .4byte 0x00000000 .global DetachSoundPlayer__Q44nw4r3snd6detail10BasicSoundFPQ34nw4r3snd11SoundPlayer DetachSoundPlayer__Q44nw4r3snd6detail10BasicSoundFPQ34nw4r3snd11SoundPlayer: /* 80106790 001025D0 38 00 00 00 */ li r0, 0x0 /* 80106794 001025D4 90 03 00 10 */ stw r0, 0x10(r3) /* 80106798 001025D8 4E 80 00 20 */ blr /* 8010679C 001025DC 00 00 00 00 */ .4byte 0x00000000 .global AttachSoundActor__Q44nw4r3snd6detail10BasicSoundFPQ34nw4r3snd10SoundActor AttachSoundActor__Q44nw4r3snd6detail10BasicSoundFPQ34nw4r3snd10SoundActor: /* 801067A0 001025E0 90 83 00 14 */ stw r4, 0x14(r3) /* 801067A4 001025E4 4E 80 00 20 */ blr /* 801067A8 001025E8 00 00 00 00 */ .4byte 0x00000000 /* 801067AC 001025EC 00 00 00 00 */ .4byte 0x00000000 .global DetachSoundActor__Q44nw4r3snd6detail10BasicSoundFPQ34nw4r3snd10SoundActor DetachSoundActor__Q44nw4r3snd6detail10BasicSoundFPQ34nw4r3snd10SoundActor: /* 801067B0 001025F0 38 00 00 00 */ li r0, 0x0 /* 801067B4 001025F4 90 03 00 14 */ stw r0, 0x14(r3) /* 801067B8 001025F8 4E 80 00 20 */ blr /* 801067BC 001025FC 00 00 00 00 */ .4byte 0x00000000 .global DetachExternalSoundPlayer__Q44nw4r3snd6detail10BasicSoundFPQ44nw4r3snd6detail19ExternalSoundPlayer DetachExternalSoundPlayer__Q44nw4r3snd6detail10BasicSoundFPQ44nw4r3snd6detail19ExternalSoundPlayer: /* 801067C0 00102600 38 00 00 00 */ li r0, 0x0 /* 801067C4 00102604 90 03 00 18 */ stw r0, 0x18(r3) /* 801067C8 00102608 4E 80 00 20 */ blr /* 801067CC 0010260C 00 00 00 00 */ .4byte 0x00000000 .global GetVoiceOutCount__Q44nw4r3snd6detail10BasicSoundCFv GetVoiceOutCount__Q44nw4r3snd6detail10BasicSoundCFv: /* 801067D0 00102610 88 63 00 99 */ lbz r3, 0x99(r3) /* 801067D4 00102614 4E 80 00 20 */ blr /* 801067D8 00102618 00 00 00 00 */ .4byte 0x00000000 /* 801067DC 0010261C 00 00 00 00 */ .4byte 0x00000000 .global SetPlayerPriority__Q44nw4r3snd6detail10BasicSoundFi SetPlayerPriority__Q44nw4r3snd6detail10BasicSoundFi: /* 801067E0 00102620 94 21 FF F0 */ stwu r1, -0x10(r1) /* 801067E4 00102624 7C 08 02 A6 */ mflr r0 /* 801067E8 00102628 90 01 00 14 */ stw r0, 0x14(r1) /* 801067EC 0010262C 93 E1 00 0C */ stw r31, 0xc(r1) /* 801067F0 00102630 7C 7F 1B 78 */ mr r31, r3 /* 801067F4 00102634 80 03 00 10 */ lwz r0, 0x10(r3) /* 801067F8 00102638 98 83 00 98 */ stb r4, 0x98(r3) /* 801067FC 0010263C 2C 00 00 00 */ cmpwi r0, 0x0 /* 80106800 00102640 41 82 00 10 */ beq lbl_80106810 /* 80106804 00102644 7C 03 03 78 */ mr r3, r0 /* 80106808 00102648 7F E4 FB 78 */ mr r4, r31 /* 8010680C 0010264C 48 00 D8 C5 */ bl detail_SortPriorityList__Q34nw4r3snd11SoundPlayerFPQ44nw4r3snd6detail10BasicSound .global lbl_80106810 lbl_80106810: /* 80106810 00102650 81 9F 00 00 */ lwz r12, 0x0(r31) /* 80106814 00102654 7F E3 FB 78 */ mr r3, r31 /* 80106818 00102658 81 8C 00 2C */ lwz r12, 0x2c(r12) /* 8010681C 0010265C 7D 89 03 A6 */ mtctr r12 /* 80106820 00102660 4E 80 04 21 */ bctrl /* 80106824 00102664 80 01 00 14 */ lwz r0, 0x14(r1) /* 80106828 00102668 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8010682C 0010266C 7C 08 03 A6 */ mtlr r0 /* 80106830 00102670 38 21 00 10 */ addi r1, r1, 0x10 /* 80106834 00102674 4E 80 00 20 */ blr /* 80106838 00102678 00 00 00 00 */ .4byte 0x00000000 /* 8010683C 0010267C 00 00 00 00 */ .4byte 0x00000000 .global OnUpdatePlayerPriority__Q44nw4r3snd6detail10BasicSoundFv OnUpdatePlayerPriority__Q44nw4r3snd6detail10BasicSoundFv: /* 80106840 00102680 4E 80 00 20 */ blr /* 80106844 00102684 00 00 00 00 */ .4byte 0x00000000 /* 80106848 00102688 00 00 00 00 */ .4byte 0x00000000 /* 8010684C 0010268C 00 00 00 00 */ .4byte 0x00000000 .global SetInitialVolume__Q44nw4r3snd6detail10BasicSoundFf SetInitialVolume__Q44nw4r3snd6detail10BasicSoundFf: /* 80106850 00102690 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 80106854 00102694 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 80106858 00102698 40 80 00 08 */ bge lbl_80106860 /* 8010685C 0010269C FC 20 00 90 */ fmr f1, f0 .global lbl_80106860 lbl_80106860: /* 80106860 001026A0 D0 23 00 B0 */ stfs f1, 0xb0(r3) /* 80106864 001026A4 4E 80 00 20 */ blr /* 80106868 001026A8 00 00 00 00 */ .4byte 0x00000000 /* 8010686C 001026AC 00 00 00 00 */ .4byte 0x00000000 .global SetVolume__Q44nw4r3snd6detail10BasicSoundFfi SetVolume__Q44nw4r3snd6detail10BasicSoundFfi: /* 80106870 001026B0 C0 02 93 34 */ lfs f0, "@12467"@sda21(r2) /* 80106874 001026B4 94 21 FF E0 */ stwu r1, -0x20(r1) /* 80106878 001026B8 FC 01 00 40 */ fcmpo cr0, f1, f0 /* 8010687C 001026BC 40 80 00 08 */ bge lbl_80106884 /* 80106880 001026C0 FC 20 00 90 */ fmr f1, f0 .global lbl_80106884 lbl_80106884: /* 80106884 001026C4 80 C3 00 A8 */ lwz r6, 0xa8(r3) /* 80106888 001026C8 80 03 00 AC */ lwz r0, 0xac(r3) /* 8010688C 001026CC 7C 00 30 00 */ cmpw r0, r6 /* 80106890 001026D0 41 80 00 0C */ blt lbl_8010689C /* 80106894 001026D4 C0 03 00 A4 */ lfs f0, 0xa4(r3) /* 80106898 001026D8 48 00 00 4C */ b lbl_801068E4 .global lbl_8010689C lbl_8010689C: /* 8010689C 001026DC 3C A0 43 30 */ lis r5, 0x4330 /* 801068A0 001026E0 6C 00 80 00 */ xoris r0, r0, 0x8000 /* 801068A4 001026E4 90 01 00 0C */ stw r0, 0xc(r1) /* 801068A8 001026E8 6C C0 80 00 */ xoris r0, r6, 0x8000 /* 801068AC 001026EC C8 A2 93 38 */ lfd f5, "@12524"@sda21(r2) /* 801068B0 001026F0 90 A1 00 08 */ stw r5, 0x8(r1) /* 801068B4 001026F4 C0 03 00 A4 */ lfs f0, 0xa4(r3) /* 801068B8 001026F8 C8 41 00 08 */ lfd f2, 0x8(r1) /* 801068BC 001026FC C0 63 00 A0 */ lfs f3, 0xa0(r3) /* 801068C0 00102700 EC 82 28 28 */ fsubs f4, f2, f5 /* 801068C4 00102704 90 01 00 14 */ stw r0, 0x14(r1) /* 801068C8 00102708 EC 40 18 28 */ fsubs f2, f0, f3 /* 801068CC 0010270C 90 A1 00 10 */ stw r5, 0x10(r1) /* 801068D0 00102710 C8 01 00 10 */ lfd f0, 0x10(r1) /* 801068D4 00102714 EC 44 00 B2 */ fmuls f2, f4, f2 /* 801068D8 00102718 EC 00 28 28 */ fsubs f0, f0, f5 /* 801068DC 0010271C EC 02 00 24 */ fdivs f0, f2, f0 /* 801068E0 00102720 EC 03 00 2A */ fadds f0, f3, f0 .global lbl_801068E4 lbl_801068E4: /* 801068E4 00102724 38 00 00 00 */ li r0, 0x0 /* 801068E8 00102728 D0 03 00 A0 */ stfs f0, 0xa0(r3) /* 801068EC 0010272C D0 23 00 A4 */ stfs f1, 0xa4(r3) /* 801068F0 00102730 90 83 00 A8 */ stw r4, 0xa8(r3) /* 801068F4 00102734 90 03 00 AC */ stw r0, 0xac(r3) /* 801068F8 00102738 38 21 00 20 */ addi r1, r1, 0x20 /* 801068FC 0010273C 4E 80 00 20 */ blr .global SetOutputLine__Q44nw4r3snd6detail10BasicSoundFi SetOutputLine__Q44nw4r3snd6detail10BasicSoundFi: /* 80106900 00102740 90 83 00 C8 */ stw r4, 0xc8(r3) /* 80106904 00102744 4E 80 00 20 */ blr /* 80106908 00102748 00 00 00 00 */ .4byte 0x00000000 /* 8010690C 0010274C 00 00 00 00 */ .4byte 0x00000000 .global SetRemoteFilter__Q44nw4r3snd6detail10BasicSoundFi SetRemoteFilter__Q44nw4r3snd6detail10BasicSoundFi: /* 80106910 00102750 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80106914 00102754 7C 08 02 A6 */ mflr r0 /* 80106918 00102758 90 01 00 14 */ stw r0, 0x14(r1) /* 8010691C 0010275C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80106920 00102760 7C 9F 23 78 */ mr r31, r4 /* 80106924 00102764 81 83 00 00 */ lwz r12, 0x0(r3) /* 80106928 00102768 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8010692C 0010276C 7D 89 03 A6 */ mtctr r12 /* 80106930 00102770 4E 80 04 21 */ bctrl /* 80106934 00102774 7F E4 FB 78 */ mr r4, r31 /* 80106938 00102778 4B FF EB 39 */ bl SetRemoteFilter__Q44nw4r3snd6detail11BasicPlayerFi /* 8010693C 0010277C 80 01 00 14 */ lwz r0, 0x14(r1) /* 80106940 00102780 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80106944 00102784 7C 08 03 A6 */ mtlr r0 /* 80106948 00102788 38 21 00 10 */ addi r1, r1, 0x10 /* 8010694C 0010278C 4E 80 00 20 */ blr .global SetPanMode__Q44nw4r3snd6detail10BasicSoundFQ34nw4r3snd7PanMode SetPanMode__Q44nw4r3snd6detail10BasicSoundFQ34nw4r3snd7PanMode: /* 80106950 00102790 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80106954 00102794 7C 08 02 A6 */ mflr r0 /* 80106958 00102798 90 01 00 14 */ stw r0, 0x14(r1) /* 8010695C 0010279C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80106960 001027A0 7C 9F 23 78 */ mr r31, r4 /* 80106964 001027A4 81 83 00 00 */ lwz r12, 0x0(r3) /* 80106968 001027A8 81 8C 00 24 */ lwz r12, 0x24(r12) /* 8010696C 001027AC 7D 89 03 A6 */ mtctr r12 /* 80106970 001027B0 4E 80 04 21 */ bctrl /* 80106974 001027B4 93 E3 00 2C */ stw r31, 0x2c(r3) /* 80106978 001027B8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 8010697C 001027BC 80 01 00 14 */ lwz r0, 0x14(r1) /* 80106980 001027C0 7C 08 03 A6 */ mtlr r0 /* 80106984 001027C4 38 21 00 10 */ addi r1, r1, 0x10 /* 80106988 001027C8 4E 80 00 20 */ blr /* 8010698C 001027CC 00 00 00 00 */ .4byte 0x00000000 .global SetPanCurve__Q44nw4r3snd6detail10BasicSoundFQ34nw4r3snd8PanCurve SetPanCurve__Q44nw4r3snd6detail10BasicSoundFQ34nw4r3snd8PanCurve: /* 80106990 001027D0 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80106994 001027D4 7C 08 02 A6 */ mflr r0 /* 80106998 001027D8 90 01 00 14 */ stw r0, 0x14(r1) /* 8010699C 001027DC 93 E1 00 0C */ stw r31, 0xc(r1) /* 801069A0 001027E0 7C 9F 23 78 */ mr r31, r4 /* 801069A4 001027E4 81 83 00 00 */ lwz r12, 0x0(r3) /* 801069A8 001027E8 81 8C 00 24 */ lwz r12, 0x24(r12) /* 801069AC 001027EC 7D 89 03 A6 */ mtctr r12 /* 801069B0 001027F0 4E 80 04 21 */ bctrl /* 801069B4 001027F4 93 E3 00 30 */ stw r31, 0x30(r3) /* 801069B8 001027F8 83 E1 00 0C */ lwz r31, 0xc(r1) /* 801069BC 001027FC 80 01 00 14 */ lwz r0, 0x14(r1) /* 801069C0 00102800 7C 08 03 A6 */ mtlr r0 /* 801069C4 00102804 38 21 00 10 */ addi r1, r1, 0x10 /* 801069C8 00102808 4E 80 00 20 */ blr /* 801069CC 0010280C 00 00 00 00 */ .4byte 0x00000000 .global SetAmbientInfo__Q44nw4r3snd6detail10BasicSoundFRCQ54nw4r3snd6detail10BasicSound11AmbientInfo SetAmbientInfo__Q44nw4r3snd6detail10BasicSoundFRCQ54nw4r3snd6detail10BasicSound11AmbientInfo: /* 801069D0 00102810 94 21 FF E0 */ stwu r1, -0x20(r1) /* 801069D4 00102814 7C 08 02 A6 */ mflr r0 /* 801069D8 00102818 90 01 00 24 */ stw r0, 0x24(r1) /* 801069DC 0010281C 93 E1 00 1C */ stw r31, 0x1c(r1) /* 801069E0 00102820 93 C1 00 18 */ stw r30, 0x18(r1) /* 801069E4 00102824 7C 9E 23 78 */ mr r30, r4 /* 801069E8 00102828 93 A1 00 14 */ stw r29, 0x14(r1) /* 801069EC 0010282C 7C 7D 1B 78 */ mr r29, r3 /* 801069F0 00102830 80 64 00 08 */ lwz r3, 0x8(r4) /* 801069F4 00102834 80 84 00 10 */ lwz r4, 0x10(r4) /* 801069F8 00102838 81 83 00 00 */ lwz r12, 0x0(r3) /* 801069FC 0010283C 81 8C 00 0C */ lwz r12, 0xc(r12) /* 80106A00 00102840 7D 89 03 A6 */ mtctr r12 /* 80106A04 00102844 4E 80 04 21 */ bctrl /* 80106A08 00102848 2C 03 00 00 */ cmpwi r3, 0x0 /* 80106A0C 0010284C 7C 7F 1B 78 */ mr r31, r3 /* 80106A10 00102850 41 82 00 68 */ beq lbl_80106A78 /* 80106A14 00102854 80 9E 00 0C */ lwz r4, 0xc(r30) /* 80106A18 00102858 80 BE 00 10 */ lwz r5, 0x10(r30) /* 80106A1C 0010285C 4B EF D5 E5 */ bl memcpy /* 80106A20 00102860 80 1E 00 00 */ lwz r0, 0x0(r30) /* 80106A24 00102864 80 7E 00 00 */ lwz r3, 0x0(r30) /* 80106A28 00102868 80 BE 00 04 */ lwz r5, 0x4(r30) /* 80106A2C 0010286C 2C 00 00 00 */ cmpwi r0, 0x0 /* 80106A30 00102870 80 9E 00 08 */ lwz r4, 0x8(r30) /* 80106A34 00102874 80 1E 00 10 */ lwz r0, 0x10(r30) /* 80106A38 00102878 90 7D 00 1C */ stw r3, 0x1c(r29) /* 80106A3C 0010287C 90 BD 00 20 */ stw r5, 0x20(r29) /* 80106A40 00102880 90 9D 00 24 */ stw r4, 0x24(r29) /* 80106A44 00102884 90 1D 00 2C */ stw r0, 0x2c(r29) /* 80106A48 00102888 93 FD 00 28 */ stw r31, 0x28(r29) /* 80106A4C 0010288C 41 82 00 2C */ beq lbl_80106A78 /* 80106A50 00102890 81 83 00 00 */ lwz r12, 0x0(r3) /* 80106A54 00102894 7F E4 FB 78 */ mr r4, r31 /* 80106A58 00102898 80 BD 00 9C */ lwz r5, 0x9c(r29) /* 80106A5C 0010289C 81 8C 00 14 */ lwz r12, 0x14(r12) /* 80106A60 001028A0 7D 89 03 A6 */ mtctr r12 /* 80106A64 001028A4 4E 80 04 21 */ bctrl /* 80106A68 001028A8 2C 03 00 04 */ cmpwi r3, 0x4 /* 80106A6C 001028AC 40 81 00 08 */ ble lbl_80106A74 /* 80106A70 001028B0 38 60 00 04 */ li r3, 0x4 .global lbl_80106A74 lbl_80106A74: /* 80106A74 001028B4 98 7D 00 99 */ stb r3, 0x99(r29) .global lbl_80106A78 lbl_80106A78: /* 80106A78 001028B8 80 01 00 24 */ lwz r0, 0x24(r1) /* 80106A7C 001028BC 83 E1 00 1C */ lwz r31, 0x1c(r1) /* 80106A80 001028C0 83 C1 00 18 */ lwz r30, 0x18(r1) /* 80106A84 001028C4 83 A1 00 14 */ lwz r29, 0x14(r1) /* 80106A88 001028C8 7C 08 03 A6 */ mtlr r0 /* 80106A8C 001028CC 38 21 00 20 */ addi r1, r1, 0x20 /* 80106A90 001028D0 4E 80 00 20 */ blr /* 80106A94 001028D4 00 00 00 00 */ .4byte 0x00000000 /* 80106A98 001028D8 00 00 00 00 */ .4byte 0x00000000 /* 80106A9C 001028DC 00 00 00 00 */ .4byte 0x00000000 .global GetAmbientPriority__Q44nw4r3snd6detail10BasicSoundFRCQ54nw4r3snd6detail10BasicSound11AmbientInfoUl GetAmbientPriority__Q44nw4r3snd6detail10BasicSoundFRCQ54nw4r3snd6detail10BasicSound11AmbientInfoUl: /* 80106AA0 001028E0 80 03 00 00 */ lwz r0, 0x0(r3) /* 80106AA4 001028E4 7C 66 1B 78 */ mr r6, r3 /* 80106AA8 001028E8 2C 00 00 00 */ cmpwi r0, 0x0 /* 80106AAC 001028EC 40 82 00 0C */ bne lbl_80106AB8 /* 80106AB0 001028F0 38 60 00 00 */ li r3, 0x0 /* 80106AB4 001028F4 4E 80 00 20 */ blr .global lbl_80106AB8 lbl_80106AB8: /* 80106AB8 001028F8 7C 03 03 78 */ mr r3, r0 /* 80106ABC 001028FC 7C 85 23 78 */ mr r5, r4 /* 80106AC0 00102900 81 83 00 00 */ lwz r12, 0x0(r3) /* 80106AC4 00102904 80 86 00 0C */ lwz r4, 0xc(r6) /* 80106AC8 00102908 81 8C 00 10 */ lwz r12, 0x10(r12) /* 80106ACC 0010290C 7D 89 03 A6 */ mtctr r12 /* 80106AD0 00102910 4E 80 04 20 */ bctr /* 80106AD4 00102914 4E 80 00 20 */ blr /* 80106AD8 00102918 00 00 00 00 */ .4byte 0x00000000 /* 80106ADC 0010291C 00 00 00 00 */ .4byte 0x00000000 .global IsAttachedGeneralHandle__Q44nw4r3snd6detail10BasicSoundFv IsAttachedGeneralHandle__Q44nw4r3snd6detail10BasicSoundFv: /* 80106AE0 00102920 80 63 00 08 */ lwz r3, 0x8(r3) /* 80106AE4 00102924 7C 03 00 D0 */ neg r0, r3 /* 80106AE8 00102928 7C 00 1B 78 */ or r0, r0, r3 /* 80106AEC 0010292C 54 03 0F FE */ srwi r3, r0, 31 /* 80106AF0 00102930 4E 80 00 20 */ blr /* 80106AF4 00102934 00 00 00 00 */ .4byte 0x00000000 /* 80106AF8 00102938 00 00 00 00 */ .4byte 0x00000000 /* 80106AFC 0010293C 00 00 00 00 */ .4byte 0x00000000 .global DetachGeneralHandle__Q44nw4r3snd6detail10BasicSoundFv DetachGeneralHandle__Q44nw4r3snd6detail10BasicSoundFv: /* 80106B00 00102940 80 63 00 08 */ lwz r3, 0x8(r3) /* 80106B04 00102944 48 00 D0 FC */ b DetachSound__Q34nw4r3snd11SoundHandleFv /* 80106B08 00102948 00 00 00 00 */ .4byte 0x00000000 /* 80106B0C 0010294C 00 00 00 00 */ .4byte 0x00000000 .global SetId__Q44nw4r3snd6detail10BasicSoundFUl SetId__Q44nw4r3snd6detail10BasicSoundFUl: /* 80106B10 00102950 94 21 FF F0 */ stwu r1, -0x10(r1) /* 80106B14 00102954 7C 08 02 A6 */ mflr r0 /* 80106B18 00102958 90 01 00 14 */ stw r0, 0x14(r1) /* 80106B1C 0010295C 93 E1 00 0C */ stw r31, 0xc(r1) /* 80106B20 00102960 7C 9F 23 78 */ mr r31, r4 /* 80106B24 00102964 90 83 00 9C */ stw r4, 0x9c(r3) /* 80106B28 00102968 81 83 00 00 */ lwz r12, 0x0(r3) /* 80106B2C 0010296C 81 8C 00 24 */ lwz r12, 0x24(r12) /* 80106B30 00102970 7D 89 03 A6 */ mtctr r12 /* 80106B34 00102974 4E 80 04 21 */ bctrl /* 80106B38 00102978 93 E3 00 B0 */ stw r31, 0xb0(r3) /* 80106B3C 0010297C 83 E1 00 0C */ lwz r31, 0xc(r1) /* 80106B40 00102980 80 01 00 14 */ lwz r0, 0x14(r1) /* 80106B44 00102984 7C 08 03 A6 */ mtlr r0 /* 80106B48 00102988 38 21 00 10 */ addi r1, r1, 0x10 /* 80106B4C 0010298C 4E 80 00 20 */ blr .global __dt__Q44nw4r3snd6detail10BasicSoundFv __dt__Q44nw4r3snd6detail10BasicSoundFv: /* 80106B50 00102990 4B F9 E2 60 */ b __dt__Q34nw4r2ef7EmitterFv /* 80106B54 00102994 00 00 00 00 */ .4byte 0x00000000 /* 80106B58 00102998 00 00 00 00 */ .4byte 0x00000000 /* 80106B5C 0010299C 00 00 00 00 */ .4byte 0x00000000 .global GetRuntimeTypeInfo__Q44nw4r3snd6detail10BasicSoundCFv GetRuntimeTypeInfo__Q44nw4r3snd6detail10BasicSoundCFv: /* 80106B60 001029A0 38 6D EB D8 */ addi r3, r13, typeInfo__Q44nw4r3snd6detail10BasicSound@sda21 /* 80106B64 001029A4 4E 80 00 20 */ blr /* 80106B68 001029A8 00 00 00 00 */ .4byte 0x00000000 /* 80106B6C 001029AC 00 00 00 00 */ .4byte 0x00000000 .global "__sinit_@@1snd_BasicSound_cpp" "__sinit_@@1snd_BasicSound_cpp": /* 80106B70 001029B0 38 00 00 00 */ li r0, 0x0 /* 80106B74 001029B4 90 0D EB D8 */ stw r0, typeInfo__Q44nw4r3snd6detail10BasicSound@sda21(r13) /* 80106B78 001029B8 4E 80 00 20 */ blr /* 80106B7C 001029BC 00 00 00 00 */ .4byte 0x00000000 .include "macros.inc" .section .ctors, "wa" # 0x80406260 - 0x80406540 ; 0x000002E0 .4byte "__sinit_@@1snd_BasicSound_cpp" .include "macros.inc" .section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0 .global __vt__Q44nw4r3snd6detail10BasicSound __vt__Q44nw4r3snd6detail10BasicSound: .4byte 0 .4byte 0 .4byte GetRuntimeTypeInfo__Q44nw4r3snd6detail10BasicSoundCFv .4byte __dt__Q44nw4r3snd6detail10BasicSoundFv .4byte Shutdown__Q44nw4r3snd6detail10BasicSoundFv .4byte 0 .4byte 0 .4byte 0 .4byte InitParam__Q44nw4r3snd6detail10BasicSoundFv .4byte 0 .4byte 0 .4byte OnUpdatePlayerPriority__Q44nw4r3snd6detail10BasicSoundFv .4byte UpdateMoveValue__Q44nw4r3snd6detail10BasicSoundFv .4byte UpdateParam__Q44nw4r3snd6detail10BasicSoundFv .include "macros.inc" .section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0 .global typeInfo__Q44nw4r3snd6detail10BasicSound typeInfo__Q44nw4r3snd6detail10BasicSound: .skip 0x8 .include "macros.inc" .section .sdata2, "wa" # 0x8055DF80 - 0x805643C0 ; 0x00006440 .global "@12466" "@12466": .4byte 0x3F800000 .global "@12467" "@12467": .4byte 0 .global "@12524" "@12524": .4byte 0x43300000 .4byte 0x80000000