315 lines
16 KiB
ArmAsm
315 lines
16 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global __HBMSYNSetupAdpcm__FP11HBMSYNVOICE
|
|
__HBMSYNSetupAdpcm__FP11HBMSYNVOICE:
|
|
/* 8014A900 00146740 80 C3 00 10 */ lwz r6, 0x10(r3)
|
|
/* 8014A904 00146744 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
/* 8014A908 00146748 80 A6 00 08 */ lwz r5, 0x8(r6)
|
|
/* 8014A90C 0014674C 80 06 00 0C */ lwz r0, 0xc(r6)
|
|
/* 8014A910 00146750 7C 05 02 15 */ add. r0, r5, r0
|
|
/* 8014A914 00146754 41 82 01 2C */ beq lbl_8014AA40
|
|
/* 8014A918 00146758 38 00 00 01 */ li r0, 0x1
|
|
/* 8014A91C 0014675C 90 03 00 20 */ stw r0, 0x20(r3)
|
|
/* 8014A920 00146760 3C A0 24 92 */ lis r5, 0x2492
|
|
/* 8014A924 00146764 81 43 00 08 */ lwz r10, 0x8(r3)
|
|
/* 8014A928 00146768 80 06 00 08 */ lwz r0, 0x8(r6)
|
|
/* 8014A92C 0014676C 38 A5 49 25 */ addi r5, r5, 0x4925
|
|
/* 8014A930 00146770 80 E6 00 0C */ lwz r7, 0xc(r6)
|
|
/* 8014A934 00146774 3D 00 00 01 */ lis r8, 0x1
|
|
/* 8014A938 00146778 7C C5 00 16 */ mulhwu r6, r5, r0
|
|
/* 8014A93C 0014677C 81 23 00 18 */ lwz r9, 0x18(r3)
|
|
/* 8014A940 00146780 7C E0 3A 14 */ add r7, r0, r7
|
|
/* 8014A944 00146784 81 4A 00 24 */ lwz r10, 0x24(r10)
|
|
/* 8014A948 00146788 81 29 00 04 */ lwz r9, 0x4(r9)
|
|
/* 8014A94C 0014678C 39 67 FF FF */ addi r11, r7, -0x1
|
|
/* 8014A950 00146790 7C E5 58 16 */ mulhwu r7, r5, r11
|
|
/* 8014A954 00146794 7C A6 00 50 */ subf r5, r6, r0
|
|
/* 8014A958 00146798 80 63 00 1C */ lwz r3, 0x1c(r3)
|
|
/* 8014A95C 0014679C 7D 4A 4A 14 */ add r10, r10, r9
|
|
/* 8014A960 001467A0 54 A5 F8 7E */ srwi r5, r5, 1
|
|
/* 8014A964 001467A4 91 04 00 96 */ stw r8, 0x96(r4)
|
|
/* 8014A968 001467A8 7D 05 32 14 */ add r8, r5, r6
|
|
/* 8014A96C 001467AC 7C C7 58 50 */ subf r6, r7, r11
|
|
/* 8014A970 001467B0 55 09 E8 FE */ srwi r9, r8, 3
|
|
/* 8014A974 001467B4 38 AA 00 02 */ addi r5, r10, 0x2
|
|
/* 8014A978 001467B8 54 C6 F8 7E */ srwi r6, r6, 1
|
|
/* 8014A97C 001467BC 55 08 08 36 */ extlwi r8, r8, 28, 1
|
|
/* 8014A980 001467C0 7C C6 3A 14 */ add r6, r6, r7
|
|
/* 8014A984 001467C4 54 C7 E8 FE */ srwi r7, r6, 3
|
|
/* 8014A988 001467C8 1D 29 00 0E */ mulli r9, r9, 0xe
|
|
/* 8014A98C 001467CC 54 C6 08 36 */ extlwi r6, r6, 28, 1
|
|
/* 8014A990 001467D0 7C 09 00 50 */ subf r0, r9, r0
|
|
/* 8014A994 001467D4 7C 00 52 14 */ add r0, r0, r10
|
|
/* 8014A998 001467D8 1C E7 00 0E */ mulli r7, r7, 0xe
|
|
/* 8014A99C 001467DC 7D 00 42 14 */ add r8, r0, r8
|
|
/* 8014A9A0 001467E0 7C 07 58 50 */ subf r0, r7, r11
|
|
/* 8014A9A4 001467E4 38 E8 00 02 */ addi r7, r8, 0x2
|
|
/* 8014A9A8 001467E8 90 E4 00 9A */ stw r7, 0x9a(r4)
|
|
/* 8014A9AC 001467EC 7C 00 52 14 */ add r0, r0, r10
|
|
/* 8014A9B0 001467F0 7C C0 32 14 */ add r6, r0, r6
|
|
/* 8014A9B4 001467F4 38 06 00 02 */ addi r0, r6, 0x2
|
|
/* 8014A9B8 001467F8 90 04 00 9E */ stw r0, 0x9e(r4)
|
|
/* 8014A9BC 001467FC 90 A4 00 A2 */ stw r5, 0xa2(r4)
|
|
/* 8014A9C0 00146800 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 8014A9C4 00146804 90 04 00 A6 */ stw r0, 0xa6(r4)
|
|
/* 8014A9C8 00146808 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 8014A9CC 0014680C 90 04 00 AA */ stw r0, 0xaa(r4)
|
|
/* 8014A9D0 00146810 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
/* 8014A9D4 00146814 90 04 00 AE */ stw r0, 0xae(r4)
|
|
/* 8014A9D8 00146818 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 8014A9DC 0014681C 90 04 00 B2 */ stw r0, 0xb2(r4)
|
|
/* 8014A9E0 00146820 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 8014A9E4 00146824 90 04 00 B6 */ stw r0, 0xb6(r4)
|
|
/* 8014A9E8 00146828 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 8014A9EC 0014682C 90 04 00 BA */ stw r0, 0xba(r4)
|
|
/* 8014A9F0 00146830 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 8014A9F4 00146834 90 04 00 BE */ stw r0, 0xbe(r4)
|
|
/* 8014A9F8 00146838 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8014A9FC 0014683C 90 04 00 C2 */ stw r0, 0xc2(r4)
|
|
/* 8014AA00 00146840 80 03 00 20 */ lwz r0, 0x20(r3)
|
|
/* 8014AA04 00146844 90 04 00 C6 */ stw r0, 0xc6(r4)
|
|
/* 8014AA08 00146848 80 03 00 24 */ lwz r0, 0x24(r3)
|
|
/* 8014AA0C 0014684C 90 04 00 CA */ stw r0, 0xca(r4)
|
|
/* 8014AA10 00146850 A0 03 00 28 */ lhz r0, 0x28(r3)
|
|
/* 8014AA14 00146854 B0 04 00 DC */ sth r0, 0xdc(r4)
|
|
/* 8014AA18 00146858 A0 03 00 2A */ lhz r0, 0x2a(r3)
|
|
/* 8014AA1C 0014685C B0 04 00 DE */ sth r0, 0xde(r4)
|
|
/* 8014AA20 00146860 A0 03 00 2C */ lhz r0, 0x2c(r3)
|
|
/* 8014AA24 00146864 B0 04 00 E0 */ sth r0, 0xe0(r4)
|
|
/* 8014AA28 00146868 80 04 00 1C */ lwz r0, 0x1c(r4)
|
|
/* 8014AA2C 0014686C 54 00 05 60 */ rlwinm r0, r0, 0, 21, 16
|
|
/* 8014AA30 00146870 64 00 00 04 */ oris r0, r0, 0x4
|
|
/* 8014AA34 00146874 60 00 84 00 */ ori r0, r0, 0x8400
|
|
/* 8014AA38 00146878 90 04 00 1C */ stw r0, 0x1c(r4)
|
|
/* 8014AA3C 0014687C 4E 80 00 20 */ blr
|
|
.global lbl_8014AA40
|
|
lbl_8014AA40:
|
|
/* 8014AA40 00146880 38 E0 00 00 */ li r7, 0x0
|
|
/* 8014AA44 00146884 90 E3 00 20 */ stw r7, 0x20(r3)
|
|
/* 8014AA48 00146888 3C A0 24 92 */ lis r5, 0x2492
|
|
/* 8014AA4C 0014688C 81 23 00 18 */ lwz r9, 0x18(r3)
|
|
/* 8014AA50 00146890 38 05 49 25 */ addi r0, r5, 0x4925
|
|
/* 8014AA54 00146894 80 C3 00 08 */ lwz r6, 0x8(r3)
|
|
/* 8014AA58 00146898 80 A9 00 08 */ lwz r5, 0x8(r9)
|
|
/* 8014AA5C 0014689C 80 63 00 1C */ lwz r3, 0x1c(r3)
|
|
/* 8014AA60 001468A0 39 05 FF FF */ addi r8, r5, -0x1
|
|
/* 8014AA64 001468A4 80 A6 00 24 */ lwz r5, 0x24(r6)
|
|
/* 8014AA68 001468A8 7C C0 40 16 */ mulhwu r6, r0, r8
|
|
/* 8014AA6C 001468AC 80 09 00 04 */ lwz r0, 0x4(r9)
|
|
/* 8014AA70 001468B0 7D 25 02 14 */ add r9, r5, r0
|
|
/* 8014AA74 001468B4 90 E4 00 96 */ stw r7, 0x96(r4)
|
|
/* 8014AA78 001468B8 91 24 00 9A */ stw r9, 0x9a(r4)
|
|
/* 8014AA7C 001468BC 38 09 00 02 */ addi r0, r9, 0x2
|
|
/* 8014AA80 001468C0 7C A6 40 50 */ subf r5, r6, r8
|
|
/* 8014AA84 001468C4 54 A5 F8 7E */ srwi r5, r5, 1
|
|
/* 8014AA88 001468C8 7C C5 32 14 */ add r6, r5, r6
|
|
/* 8014AA8C 001468CC 54 C5 E8 FE */ srwi r5, r6, 3
|
|
/* 8014AA90 001468D0 1C E5 00 0E */ mulli r7, r5, 0xe
|
|
/* 8014AA94 001468D4 54 C5 08 36 */ extlwi r5, r6, 28, 1
|
|
/* 8014AA98 001468D8 7C C7 40 50 */ subf r6, r7, r8
|
|
/* 8014AA9C 001468DC 7C C6 4A 14 */ add r6, r6, r9
|
|
/* 8014AAA0 001468E0 7C A6 2A 14 */ add r5, r6, r5
|
|
/* 8014AAA4 001468E4 38 A5 00 02 */ addi r5, r5, 0x2
|
|
/* 8014AAA8 001468E8 90 A4 00 9E */ stw r5, 0x9e(r4)
|
|
/* 8014AAAC 001468EC 90 04 00 A2 */ stw r0, 0xa2(r4)
|
|
/* 8014AAB0 001468F0 80 03 00 00 */ lwz r0, 0x0(r3)
|
|
/* 8014AAB4 001468F4 90 04 00 A6 */ stw r0, 0xa6(r4)
|
|
/* 8014AAB8 001468F8 80 03 00 04 */ lwz r0, 0x4(r3)
|
|
/* 8014AABC 001468FC 90 04 00 AA */ stw r0, 0xaa(r4)
|
|
/* 8014AAC0 00146900 80 03 00 08 */ lwz r0, 0x8(r3)
|
|
/* 8014AAC4 00146904 90 04 00 AE */ stw r0, 0xae(r4)
|
|
/* 8014AAC8 00146908 80 03 00 0C */ lwz r0, 0xc(r3)
|
|
/* 8014AACC 0014690C 90 04 00 B2 */ stw r0, 0xb2(r4)
|
|
/* 8014AAD0 00146910 80 03 00 10 */ lwz r0, 0x10(r3)
|
|
/* 8014AAD4 00146914 90 04 00 B6 */ stw r0, 0xb6(r4)
|
|
/* 8014AAD8 00146918 80 03 00 14 */ lwz r0, 0x14(r3)
|
|
/* 8014AADC 0014691C 90 04 00 BA */ stw r0, 0xba(r4)
|
|
/* 8014AAE0 00146920 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 8014AAE4 00146924 90 04 00 BE */ stw r0, 0xbe(r4)
|
|
/* 8014AAE8 00146928 80 03 00 1C */ lwz r0, 0x1c(r3)
|
|
/* 8014AAEC 0014692C 90 04 00 C2 */ stw r0, 0xc2(r4)
|
|
/* 8014AAF0 00146930 80 03 00 20 */ lwz r0, 0x20(r3)
|
|
/* 8014AAF4 00146934 90 04 00 C6 */ stw r0, 0xc6(r4)
|
|
/* 8014AAF8 00146938 80 03 00 24 */ lwz r0, 0x24(r3)
|
|
/* 8014AAFC 0014693C 90 04 00 CA */ stw r0, 0xca(r4)
|
|
/* 8014AB00 00146940 80 04 00 1C */ lwz r0, 0x1c(r4)
|
|
/* 8014AB04 00146944 54 00 05 60 */ rlwinm r0, r0, 0, 21, 16
|
|
/* 8014AB08 00146948 60 00 84 00 */ ori r0, r0, 0x8400
|
|
/* 8014AB0C 0014694C 90 04 00 1C */ stw r0, 0x1c(r4)
|
|
/* 8014AB10 00146950 4E 80 00 20 */ blr
|
|
/* 8014AB14 00146954 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8014AB18 00146958 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8014AB1C 0014695C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __HBMSYNSetupPcm16__FP11HBMSYNVOICE
|
|
__HBMSYNSetupPcm16__FP11HBMSYNVOICE:
|
|
/* 8014AB20 00146960 81 43 00 10 */ lwz r10, 0x10(r3)
|
|
/* 8014AB24 00146964 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
/* 8014AB28 00146968 80 AA 00 08 */ lwz r5, 0x8(r10)
|
|
/* 8014AB2C 0014696C 80 0A 00 0C */ lwz r0, 0xc(r10)
|
|
/* 8014AB30 00146970 7C 05 02 15 */ add. r0, r5, r0
|
|
/* 8014AB34 00146974 41 82 00 80 */ beq lbl_8014ABB4
|
|
/* 8014AB38 00146978 38 00 00 01 */ li r0, 0x1
|
|
/* 8014AB3C 0014697C 90 03 00 20 */ stw r0, 0x20(r3)
|
|
/* 8014AB40 00146980 80 E3 00 08 */ lwz r7, 0x8(r3)
|
|
/* 8014AB44 00146984 3C A0 00 01 */ lis r5, 0x1
|
|
/* 8014AB48 00146988 80 C3 00 18 */ lwz r6, 0x18(r3)
|
|
/* 8014AB4C 0014698C 38 A5 00 0A */ addi r5, r5, 0xa
|
|
/* 8014AB50 00146990 81 27 00 1C */ lwz r9, 0x1c(r7)
|
|
/* 8014AB54 00146994 38 60 00 00 */ li r3, 0x0
|
|
/* 8014AB58 00146998 81 06 00 04 */ lwz r8, 0x4(r6)
|
|
/* 8014AB5C 0014699C 3C 00 08 00 */ lis r0, 0x800
|
|
/* 8014AB60 001469A0 80 EA 00 08 */ lwz r7, 0x8(r10)
|
|
/* 8014AB64 001469A4 80 CA 00 0C */ lwz r6, 0xc(r10)
|
|
/* 8014AB68 001469A8 7D 09 42 14 */ add r8, r9, r8
|
|
/* 8014AB6C 001469AC 7C E8 3A 14 */ add r7, r8, r7
|
|
/* 8014AB70 001469B0 90 A4 00 96 */ stw r5, 0x96(r4)
|
|
/* 8014AB74 001469B4 7C A7 32 14 */ add r5, r7, r6
|
|
/* 8014AB78 001469B8 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 8014AB7C 001469BC 90 E4 00 9A */ stw r7, 0x9a(r4)
|
|
/* 8014AB80 001469C0 90 A4 00 9E */ stw r5, 0x9e(r4)
|
|
/* 8014AB84 001469C4 91 04 00 A2 */ stw r8, 0xa2(r4)
|
|
/* 8014AB88 001469C8 90 64 00 A6 */ stw r3, 0xa6(r4)
|
|
/* 8014AB8C 001469CC 90 64 00 AA */ stw r3, 0xaa(r4)
|
|
/* 8014AB90 001469D0 90 64 00 AE */ stw r3, 0xae(r4)
|
|
/* 8014AB94 001469D4 90 64 00 B2 */ stw r3, 0xb2(r4)
|
|
/* 8014AB98 001469D8 90 64 00 B6 */ stw r3, 0xb6(r4)
|
|
/* 8014AB9C 001469DC 90 64 00 BA */ stw r3, 0xba(r4)
|
|
/* 8014ABA0 001469E0 90 64 00 BE */ stw r3, 0xbe(r4)
|
|
/* 8014ABA4 001469E4 90 64 00 C2 */ stw r3, 0xc2(r4)
|
|
/* 8014ABA8 001469E8 90 04 00 C6 */ stw r0, 0xc6(r4)
|
|
/* 8014ABAC 001469EC 90 64 00 CA */ stw r3, 0xca(r4)
|
|
/* 8014ABB0 001469F0 48 00 00 6C */ b lbl_8014AC1C
|
|
.global lbl_8014ABB4
|
|
lbl_8014ABB4:
|
|
/* 8014ABB4 001469F4 39 00 00 00 */ li r8, 0x0
|
|
/* 8014ABB8 001469F8 91 03 00 20 */ stw r8, 0x20(r3)
|
|
/* 8014ABBC 001469FC 81 23 00 18 */ lwz r9, 0x18(r3)
|
|
/* 8014ABC0 00146A00 38 A0 00 0A */ li r5, 0xa
|
|
/* 8014ABC4 00146A04 80 63 00 08 */ lwz r3, 0x8(r3)
|
|
/* 8014ABC8 00146A08 3C 00 08 00 */ lis r0, 0x800
|
|
/* 8014ABCC 00146A0C 80 C9 00 04 */ lwz r6, 0x4(r9)
|
|
/* 8014ABD0 00146A10 80 E3 00 1C */ lwz r7, 0x1c(r3)
|
|
/* 8014ABD4 00146A14 80 69 00 08 */ lwz r3, 0x8(r9)
|
|
/* 8014ABD8 00146A18 7C C7 32 14 */ add r6, r7, r6
|
|
/* 8014ABDC 00146A1C 90 A4 00 96 */ stw r5, 0x96(r4)
|
|
/* 8014ABE0 00146A20 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8014ABE4 00146A24 38 63 FF FF */ addi r3, r3, -0x1
|
|
/* 8014ABE8 00146A28 90 C4 00 9A */ stw r6, 0x9a(r4)
|
|
/* 8014ABEC 00146A2C 90 64 00 9E */ stw r3, 0x9e(r4)
|
|
/* 8014ABF0 00146A30 90 C4 00 A2 */ stw r6, 0xa2(r4)
|
|
/* 8014ABF4 00146A34 91 04 00 A6 */ stw r8, 0xa6(r4)
|
|
/* 8014ABF8 00146A38 91 04 00 AA */ stw r8, 0xaa(r4)
|
|
/* 8014ABFC 00146A3C 91 04 00 AE */ stw r8, 0xae(r4)
|
|
/* 8014AC00 00146A40 91 04 00 B2 */ stw r8, 0xb2(r4)
|
|
/* 8014AC04 00146A44 91 04 00 B6 */ stw r8, 0xb6(r4)
|
|
/* 8014AC08 00146A48 91 04 00 BA */ stw r8, 0xba(r4)
|
|
/* 8014AC0C 00146A4C 91 04 00 BE */ stw r8, 0xbe(r4)
|
|
/* 8014AC10 00146A50 91 04 00 C2 */ stw r8, 0xc2(r4)
|
|
/* 8014AC14 00146A54 90 04 00 C6 */ stw r0, 0xc6(r4)
|
|
/* 8014AC18 00146A58 91 04 00 CA */ stw r8, 0xca(r4)
|
|
.global lbl_8014AC1C
|
|
lbl_8014AC1C:
|
|
/* 8014AC1C 00146A5C 80 04 00 1C */ lwz r0, 0x1c(r4)
|
|
/* 8014AC20 00146A60 54 00 05 60 */ rlwinm r0, r0, 0, 21, 16
|
|
/* 8014AC24 00146A64 60 00 84 00 */ ori r0, r0, 0x8400
|
|
/* 8014AC28 00146A68 90 04 00 1C */ stw r0, 0x1c(r4)
|
|
/* 8014AC2C 00146A6C 4E 80 00 20 */ blr
|
|
.global __HBMSYNSetupPcm8__FP11HBMSYNVOICE
|
|
__HBMSYNSetupPcm8__FP11HBMSYNVOICE:
|
|
/* 8014AC30 00146A70 81 43 00 10 */ lwz r10, 0x10(r3)
|
|
/* 8014AC34 00146A74 80 83 00 04 */ lwz r4, 0x4(r3)
|
|
/* 8014AC38 00146A78 80 AA 00 08 */ lwz r5, 0x8(r10)
|
|
/* 8014AC3C 00146A7C 80 0A 00 0C */ lwz r0, 0xc(r10)
|
|
/* 8014AC40 00146A80 7C 05 02 15 */ add. r0, r5, r0
|
|
/* 8014AC44 00146A84 41 82 00 80 */ beq lbl_8014ACC4
|
|
/* 8014AC48 00146A88 38 00 00 01 */ li r0, 0x1
|
|
/* 8014AC4C 00146A8C 90 03 00 20 */ stw r0, 0x20(r3)
|
|
/* 8014AC50 00146A90 80 E3 00 08 */ lwz r7, 0x8(r3)
|
|
/* 8014AC54 00146A94 3C A0 00 01 */ lis r5, 0x1
|
|
/* 8014AC58 00146A98 80 C3 00 18 */ lwz r6, 0x18(r3)
|
|
/* 8014AC5C 00146A9C 38 A5 00 19 */ addi r5, r5, 0x19
|
|
/* 8014AC60 00146AA0 81 27 00 20 */ lwz r9, 0x20(r7)
|
|
/* 8014AC64 00146AA4 38 60 00 00 */ li r3, 0x0
|
|
/* 8014AC68 00146AA8 81 06 00 04 */ lwz r8, 0x4(r6)
|
|
/* 8014AC6C 00146AAC 3C 00 01 00 */ lis r0, 0x100
|
|
/* 8014AC70 00146AB0 80 EA 00 08 */ lwz r7, 0x8(r10)
|
|
/* 8014AC74 00146AB4 80 CA 00 0C */ lwz r6, 0xc(r10)
|
|
/* 8014AC78 00146AB8 7D 09 42 14 */ add r8, r9, r8
|
|
/* 8014AC7C 00146ABC 7C E8 3A 14 */ add r7, r8, r7
|
|
/* 8014AC80 00146AC0 90 A4 00 96 */ stw r5, 0x96(r4)
|
|
/* 8014AC84 00146AC4 7C A7 32 14 */ add r5, r7, r6
|
|
/* 8014AC88 00146AC8 38 A5 FF FF */ addi r5, r5, -0x1
|
|
/* 8014AC8C 00146ACC 90 E4 00 9A */ stw r7, 0x9a(r4)
|
|
/* 8014AC90 00146AD0 90 A4 00 9E */ stw r5, 0x9e(r4)
|
|
/* 8014AC94 00146AD4 91 04 00 A2 */ stw r8, 0xa2(r4)
|
|
/* 8014AC98 00146AD8 90 64 00 A6 */ stw r3, 0xa6(r4)
|
|
/* 8014AC9C 00146ADC 90 64 00 AA */ stw r3, 0xaa(r4)
|
|
/* 8014ACA0 00146AE0 90 64 00 AE */ stw r3, 0xae(r4)
|
|
/* 8014ACA4 00146AE4 90 64 00 B2 */ stw r3, 0xb2(r4)
|
|
/* 8014ACA8 00146AE8 90 64 00 B6 */ stw r3, 0xb6(r4)
|
|
/* 8014ACAC 00146AEC 90 64 00 BA */ stw r3, 0xba(r4)
|
|
/* 8014ACB0 00146AF0 90 64 00 BE */ stw r3, 0xbe(r4)
|
|
/* 8014ACB4 00146AF4 90 64 00 C2 */ stw r3, 0xc2(r4)
|
|
/* 8014ACB8 00146AF8 90 04 00 C6 */ stw r0, 0xc6(r4)
|
|
/* 8014ACBC 00146AFC 90 64 00 CA */ stw r3, 0xca(r4)
|
|
/* 8014ACC0 00146B00 48 00 00 6C */ b lbl_8014AD2C
|
|
.global lbl_8014ACC4
|
|
lbl_8014ACC4:
|
|
/* 8014ACC4 00146B04 39 00 00 00 */ li r8, 0x0
|
|
/* 8014ACC8 00146B08 91 03 00 20 */ stw r8, 0x20(r3)
|
|
/* 8014ACCC 00146B0C 81 23 00 18 */ lwz r9, 0x18(r3)
|
|
/* 8014ACD0 00146B10 38 A0 00 19 */ li r5, 0x19
|
|
/* 8014ACD4 00146B14 80 63 00 08 */ lwz r3, 0x8(r3)
|
|
/* 8014ACD8 00146B18 3C 00 01 00 */ lis r0, 0x100
|
|
/* 8014ACDC 00146B1C 80 C9 00 04 */ lwz r6, 0x4(r9)
|
|
/* 8014ACE0 00146B20 80 E3 00 20 */ lwz r7, 0x20(r3)
|
|
/* 8014ACE4 00146B24 80 69 00 08 */ lwz r3, 0x8(r9)
|
|
/* 8014ACE8 00146B28 7C C7 32 14 */ add r6, r7, r6
|
|
/* 8014ACEC 00146B2C 90 A4 00 96 */ stw r5, 0x96(r4)
|
|
/* 8014ACF0 00146B30 7C 66 1A 14 */ add r3, r6, r3
|
|
/* 8014ACF4 00146B34 38 63 FF FF */ addi r3, r3, -0x1
|
|
/* 8014ACF8 00146B38 90 C4 00 9A */ stw r6, 0x9a(r4)
|
|
/* 8014ACFC 00146B3C 90 64 00 9E */ stw r3, 0x9e(r4)
|
|
/* 8014AD00 00146B40 90 C4 00 A2 */ stw r6, 0xa2(r4)
|
|
/* 8014AD04 00146B44 91 04 00 A6 */ stw r8, 0xa6(r4)
|
|
/* 8014AD08 00146B48 91 04 00 AA */ stw r8, 0xaa(r4)
|
|
/* 8014AD0C 00146B4C 91 04 00 AE */ stw r8, 0xae(r4)
|
|
/* 8014AD10 00146B50 91 04 00 B2 */ stw r8, 0xb2(r4)
|
|
/* 8014AD14 00146B54 91 04 00 B6 */ stw r8, 0xb6(r4)
|
|
/* 8014AD18 00146B58 91 04 00 BA */ stw r8, 0xba(r4)
|
|
/* 8014AD1C 00146B5C 91 04 00 BE */ stw r8, 0xbe(r4)
|
|
/* 8014AD20 00146B60 91 04 00 C2 */ stw r8, 0xc2(r4)
|
|
/* 8014AD24 00146B64 90 04 00 C6 */ stw r0, 0xc6(r4)
|
|
/* 8014AD28 00146B68 91 04 00 CA */ stw r8, 0xca(r4)
|
|
.global lbl_8014AD2C
|
|
lbl_8014AD2C:
|
|
/* 8014AD2C 00146B6C 80 04 00 1C */ lwz r0, 0x1c(r4)
|
|
/* 8014AD30 00146B70 54 00 05 60 */ rlwinm r0, r0, 0, 21, 16
|
|
/* 8014AD34 00146B74 60 00 84 00 */ ori r0, r0, 0x8400
|
|
/* 8014AD38 00146B78 90 04 00 1C */ stw r0, 0x1c(r4)
|
|
/* 8014AD3C 00146B7C 4E 80 00 20 */ blr
|
|
.global __HBMSYNSetupSample
|
|
__HBMSYNSetupSample:
|
|
/* 8014AD40 00146B80 80 83 00 18 */ lwz r4, 0x18(r3)
|
|
/* 8014AD44 00146B84 A0 04 00 00 */ lhz r0, 0x0(r4)
|
|
/* 8014AD48 00146B88 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8014AD4C 00146B8C 41 82 00 18 */ beq lbl_8014AD64
|
|
/* 8014AD50 00146B90 2C 00 00 01 */ cmpwi r0, 0x1
|
|
/* 8014AD54 00146B94 41 82 00 14 */ beq lbl_8014AD68
|
|
/* 8014AD58 00146B98 2C 00 00 02 */ cmpwi r0, 0x2
|
|
/* 8014AD5C 00146B9C 41 82 00 10 */ beq lbl_8014AD6C
|
|
/* 8014AD60 00146BA0 4E 80 00 20 */ blr
|
|
.global lbl_8014AD64
|
|
lbl_8014AD64:
|
|
/* 8014AD64 00146BA4 4B FF FB 9C */ b __HBMSYNSetupAdpcm__FP11HBMSYNVOICE
|
|
.global lbl_8014AD68
|
|
lbl_8014AD68:
|
|
/* 8014AD68 00146BA8 4B FF FD B8 */ b __HBMSYNSetupPcm16__FP11HBMSYNVOICE
|
|
.global lbl_8014AD6C
|
|
lbl_8014AD6C:
|
|
/* 8014AD6C 00146BAC 4B FF FE C4 */ b __HBMSYNSetupPcm8__FP11HBMSYNVOICE
|
|
/* 8014AD70 00146BB0 4E 80 00 20 */ blr
|
|
/* 8014AD74 00146BB4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8014AD78 00146BB8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8014AD7C 00146BBC 00 00 00 00 */ .4byte 0x00000000
|