donut-decomp/asm/homebuttonLib/mix.s

2802 lines
108 KiB
ArmAsm
Raw Permalink Normal View History

2022-10-16 16:05:58 +00:00
.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
2022-10-16 16:31:36 +00:00
.global __HBMMIXSetPan__FP13HBMMIXChannel
__HBMMIXSetPan__FP13HBMMIXChannel:
/* 80147EB0 00143CF0 3C 80 80 54 */ lis r4, __HBMMIXSoundMode@ha
/* 80147EB4 00143CF4 3C C0 80 44 */ lis r6, __HBMMIXVolumeTable@ha
/* 80147EB8 00143CF8 80 04 38 50 */ lwz r0, __HBMMIXSoundMode@l(r4)
/* 80147EBC 00143CFC 38 C6 56 C8 */ addi r6, r6, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80147EC0 00143D00 80 A3 00 10 */ lwz r5, 0x10(r3)
/* 80147EC4 00143D04 28 00 00 02 */ cmplwi r0, 0x2
/* 80147EC8 00143D08 20 85 00 7F */ subfic r4, r5, 0x7f
/* 80147ECC 00143D0C 40 82 00 48 */ bne lbl_80147F14
/* 80147ED0 00143D10 54 A8 08 3C */ slwi r8, r5, 1
/* 80147ED4 00143D14 38 A6 09 90 */ addi r5, r6, 0x990
/* 80147ED8 00143D18 7C 05 42 AE */ lhax r0, r5, r8
/* 80147EDC 00143D1C 54 87 08 3C */ slwi r7, r4, 1
/* 80147EE0 00143D20 90 03 00 18 */ stw r0, 0x18(r3)
/* 80147EE4 00143D24 38 86 0A 90 */ addi r4, r6, 0xa90
/* 80147EE8 00143D28 7C 05 3A AE */ lhax r0, r5, r7
/* 80147EEC 00143D2C 90 03 00 1C */ stw r0, 0x1c(r3)
/* 80147EF0 00143D30 A8 06 09 90 */ lha r0, 0x990(r6)
/* 80147EF4 00143D34 90 03 00 20 */ stw r0, 0x20(r3)
/* 80147EF8 00143D38 A8 05 00 FE */ lha r0, 0xfe(r5)
/* 80147EFC 00143D3C 90 03 00 24 */ stw r0, 0x24(r3)
/* 80147F00 00143D40 7C 04 3A AE */ lhax r0, r4, r7
/* 80147F04 00143D44 90 03 00 28 */ stw r0, 0x28(r3)
/* 80147F08 00143D48 7C 04 42 AE */ lhax r0, r4, r8
/* 80147F0C 00143D4C 90 03 00 2C */ stw r0, 0x2c(r3)
/* 80147F10 00143D50 4E 80 00 20 */ blr
.global lbl_80147F14
lbl_80147F14:
/* 80147F14 00143D54 54 A0 10 3A */ slwi r0, r5, 2
/* 80147F18 00143D58 38 A6 07 90 */ addi r5, r6, 0x790
/* 80147F1C 00143D5C 7C 05 00 2E */ lwzx r0, r5, r0
/* 80147F20 00143D60 54 84 10 3A */ slwi r4, r4, 2
/* 80147F24 00143D64 90 03 00 18 */ stw r0, 0x18(r3)
/* 80147F28 00143D68 38 00 00 00 */ li r0, 0x0
/* 80147F2C 00143D6C 7C 85 20 2E */ lwzx r4, r5, r4
/* 80147F30 00143D70 90 83 00 1C */ stw r4, 0x1c(r3)
/* 80147F34 00143D74 80 86 07 90 */ lwz r4, 0x790(r6)
/* 80147F38 00143D78 90 83 00 20 */ stw r4, 0x20(r3)
/* 80147F3C 00143D7C 80 85 01 FC */ lwz r4, 0x1fc(r5)
/* 80147F40 00143D80 90 83 00 24 */ stw r4, 0x24(r3)
/* 80147F44 00143D84 90 03 00 28 */ stw r0, 0x28(r3)
/* 80147F48 00143D88 90 03 00 2C */ stw r0, 0x2c(r3)
/* 80147F4C 00143D8C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global HBMMIXInit
HBMMIXInit:
2022-10-16 16:05:58 +00:00
/* 80147F50 00143D90 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 80147F54 00143D94 7C 08 02 A6 */ mflr r0
/* 80147F58 00143D98 90 01 00 34 */ stw r0, 0x34(r1)
/* 80147F5C 00143D9C 39 61 00 30 */ addi r11, r1, 0x30
/* 80147F60 00143DA0 4B EB F3 D5 */ bl lbl_80007334
2022-10-16 16:31:36 +00:00
/* 80147F64 00143DA4 3F 60 80 54 */ lis r27, sIndex2IdTable@ha
/* 80147F68 00143DA8 3B 7B 37 E0 */ addi r27, r27, sIndex2IdTable@l
/* 80147F6C 00143DAC 4B EF AF 05 */ bl AXIsInit
2022-10-16 16:05:58 +00:00
/* 80147F70 00143DB0 2C 03 00 00 */ cmpwi r3, 0x0
/* 80147F74 00143DB4 41 82 01 C4 */ beq lbl_80148138
/* 80147F78 00143DB8 80 1B 06 B8 */ lwz r0, 0x6b8(r27)
/* 80147F7C 00143DBC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80147F80 00143DC0 40 82 01 B8 */ bne lbl_80148138
/* 80147F84 00143DC4 38 BB 00 00 */ addi r5, r27, 0x0
/* 80147F88 00143DC8 38 60 FF FF */ li r3, -0x1
/* 80147F8C 00143DCC 98 65 00 00 */ stb r3, 0x0(r5)
/* 80147F90 00143DD0 38 00 00 02 */ li r0, 0x2
/* 80147F94 00143DD4 38 9B 00 10 */ addi r4, r27, 0x10
/* 80147F98 00143DD8 98 65 00 01 */ stb r3, 0x1(r5)
/* 80147F9C 00143DDC 98 65 00 02 */ stb r3, 0x2(r5)
/* 80147FA0 00143DE0 98 65 00 03 */ stb r3, 0x3(r5)
/* 80147FA4 00143DE4 98 65 00 04 */ stb r3, 0x4(r5)
/* 80147FA8 00143DE8 98 65 00 05 */ stb r3, 0x5(r5)
/* 80147FAC 00143DEC 98 65 00 06 */ stb r3, 0x6(r5)
/* 80147FB0 00143DF0 98 65 00 07 */ stb r3, 0x7(r5)
/* 80147FB4 00143DF4 98 65 00 08 */ stb r3, 0x8(r5)
/* 80147FB8 00143DF8 98 65 00 09 */ stb r3, 0x9(r5)
/* 80147FBC 00143DFC 98 65 00 0A */ stb r3, 0xa(r5)
/* 80147FC0 00143E00 98 65 00 0B */ stb r3, 0xb(r5)
/* 80147FC4 00143E04 98 65 00 0C */ stb r3, 0xc(r5)
/* 80147FC8 00143E08 98 65 00 0D */ stb r3, 0xd(r5)
/* 80147FCC 00143E0C 98 65 00 0E */ stb r3, 0xe(r5)
/* 80147FD0 00143E10 98 65 00 0F */ stb r3, 0xf(r5)
/* 80147FD4 00143E14 7C 09 03 A6 */ mtctr r0
.global lbl_80147FD8
lbl_80147FD8:
/* 80147FD8 00143E18 98 64 00 00 */ stb r3, 0x0(r4)
/* 80147FDC 00143E1C 98 64 00 01 */ stb r3, 0x1(r4)
/* 80147FE0 00143E20 98 64 00 02 */ stb r3, 0x2(r4)
/* 80147FE4 00143E24 98 64 00 03 */ stb r3, 0x3(r4)
/* 80147FE8 00143E28 98 64 00 04 */ stb r3, 0x4(r4)
/* 80147FEC 00143E2C 98 64 00 05 */ stb r3, 0x5(r4)
/* 80147FF0 00143E30 98 64 00 06 */ stb r3, 0x6(r4)
/* 80147FF4 00143E34 98 64 00 07 */ stb r3, 0x7(r4)
/* 80147FF8 00143E38 98 64 00 08 */ stb r3, 0x8(r4)
/* 80147FFC 00143E3C 98 64 00 09 */ stb r3, 0x9(r4)
/* 80148000 00143E40 98 64 00 0A */ stb r3, 0xa(r4)
/* 80148004 00143E44 98 64 00 0B */ stb r3, 0xb(r4)
/* 80148008 00143E48 98 64 00 0C */ stb r3, 0xc(r4)
/* 8014800C 00143E4C 98 64 00 0D */ stb r3, 0xd(r4)
/* 80148010 00143E50 98 64 00 0E */ stb r3, 0xe(r4)
/* 80148014 00143E54 98 64 00 0F */ stb r3, 0xf(r4)
/* 80148018 00143E58 98 64 00 10 */ stb r3, 0x10(r4)
/* 8014801C 00143E5C 98 64 00 11 */ stb r3, 0x11(r4)
/* 80148020 00143E60 98 64 00 12 */ stb r3, 0x12(r4)
/* 80148024 00143E64 98 64 00 13 */ stb r3, 0x13(r4)
/* 80148028 00143E68 98 64 00 14 */ stb r3, 0x14(r4)
/* 8014802C 00143E6C 98 64 00 15 */ stb r3, 0x15(r4)
/* 80148030 00143E70 98 64 00 16 */ stb r3, 0x16(r4)
/* 80148034 00143E74 98 64 00 17 */ stb r3, 0x17(r4)
/* 80148038 00143E78 98 64 00 18 */ stb r3, 0x18(r4)
/* 8014803C 00143E7C 98 64 00 19 */ stb r3, 0x19(r4)
/* 80148040 00143E80 98 64 00 1A */ stb r3, 0x1a(r4)
/* 80148044 00143E84 98 64 00 1B */ stb r3, 0x1b(r4)
/* 80148048 00143E88 98 64 00 1C */ stb r3, 0x1c(r4)
/* 8014804C 00143E8C 98 64 00 1D */ stb r3, 0x1d(r4)
/* 80148050 00143E90 98 64 00 1E */ stb r3, 0x1e(r4)
/* 80148054 00143E94 98 64 00 1F */ stb r3, 0x1f(r4)
/* 80148058 00143E98 98 64 00 20 */ stb r3, 0x20(r4)
/* 8014805C 00143E9C 98 64 00 21 */ stb r3, 0x21(r4)
/* 80148060 00143EA0 98 64 00 22 */ stb r3, 0x22(r4)
/* 80148064 00143EA4 98 64 00 23 */ stb r3, 0x23(r4)
/* 80148068 00143EA8 98 64 00 24 */ stb r3, 0x24(r4)
/* 8014806C 00143EAC 98 64 00 25 */ stb r3, 0x25(r4)
/* 80148070 00143EB0 98 64 00 26 */ stb r3, 0x26(r4)
/* 80148074 00143EB4 98 64 00 27 */ stb r3, 0x27(r4)
/* 80148078 00143EB8 98 64 00 28 */ stb r3, 0x28(r4)
/* 8014807C 00143EBC 98 64 00 29 */ stb r3, 0x29(r4)
/* 80148080 00143EC0 98 64 00 2A */ stb r3, 0x2a(r4)
/* 80148084 00143EC4 98 64 00 2B */ stb r3, 0x2b(r4)
/* 80148088 00143EC8 98 64 00 2C */ stb r3, 0x2c(r4)
/* 8014808C 00143ECC 98 64 00 2D */ stb r3, 0x2d(r4)
/* 80148090 00143ED0 98 64 00 2E */ stb r3, 0x2e(r4)
/* 80148094 00143ED4 98 64 00 2F */ stb r3, 0x2f(r4)
/* 80148098 00143ED8 38 84 00 30 */ addi r4, r4, 0x30
/* 8014809C 00143EDC 42 00 FF 3C */ bdnz lbl_80147FD8
/* 801480A0 00143EE0 38 1B 00 78 */ addi r0, r27, 0x78
/* 801480A4 00143EE4 90 1B 00 74 */ stw r0, 0x74(r27)
/* 801480A8 00143EE8 3B 20 00 00 */ li r25, 0x0
/* 801480AC 00143EEC 3B 40 00 00 */ li r26, 0x0
/* 801480B0 00143EF0 3B 80 00 00 */ li r28, 0x0
/* 801480B4 00143EF4 3F A0 50 00 */ lis r29, 0x5000
/* 801480B8 00143EF8 3B C0 FC 40 */ li r30, -0x3c0
/* 801480BC 00143EFC 3B E0 00 40 */ li r31, 0x40
.global lbl_801480C0
lbl_801480C0:
/* 801480C0 00143F00 80 7B 00 74 */ lwz r3, 0x74(r27)
/* 801480C4 00143F04 7F 83 D1 2E */ stwx r28, r3, r26
/* 801480C8 00143F08 80 1B 00 74 */ lwz r0, 0x74(r27)
/* 801480CC 00143F0C 7C 60 D2 14 */ add r3, r0, r26
/* 801480D0 00143F10 93 A3 00 04 */ stw r29, 0x4(r3)
/* 801480D4 00143F14 93 83 00 08 */ stw r28, 0x8(r3)
/* 801480D8 00143F18 93 C3 00 0C */ stw r30, 0xc(r3)
/* 801480DC 00143F1C 93 83 00 14 */ stw r28, 0x14(r3)
/* 801480E0 00143F20 93 E3 00 10 */ stw r31, 0x10(r3)
/* 801480E4 00143F24 B3 83 00 60 */ sth r28, 0x60(r3)
/* 801480E8 00143F28 B3 83 00 5C */ sth r28, 0x5c(r3)
/* 801480EC 00143F2C B3 83 00 58 */ sth r28, 0x58(r3)
/* 801480F0 00143F30 B3 83 00 54 */ sth r28, 0x54(r3)
/* 801480F4 00143F34 B3 83 00 50 */ sth r28, 0x50(r3)
/* 801480F8 00143F38 B3 83 00 4C */ sth r28, 0x4c(r3)
/* 801480FC 00143F3C B3 83 00 48 */ sth r28, 0x48(r3)
/* 80148100 00143F40 B3 83 00 44 */ sth r28, 0x44(r3)
/* 80148104 00143F44 B3 83 00 40 */ sth r28, 0x40(r3)
/* 80148108 00143F48 B3 83 00 3C */ sth r28, 0x3c(r3)
/* 8014810C 00143F4C B3 83 00 38 */ sth r28, 0x38(r3)
/* 80148110 00143F50 B3 83 00 34 */ sth r28, 0x34(r3)
/* 80148114 00143F54 B3 83 00 30 */ sth r28, 0x30(r3)
2022-10-16 16:31:36 +00:00
/* 80148118 00143F58 4B FF FD 99 */ bl __HBMMIXSetPan__FP13HBMMIXChannel
2022-10-16 16:05:58 +00:00
/* 8014811C 00143F5C 3B 39 00 01 */ addi r25, r25, 0x1
/* 80148120 00143F60 3B 5A 00 64 */ addi r26, r26, 0x64
/* 80148124 00143F64 2C 19 00 10 */ cmpwi r25, 0x10
/* 80148128 00143F68 41 80 FF 98 */ blt lbl_801480C0
/* 8014812C 00143F6C 38 00 00 01 */ li r0, 0x1
/* 80148130 00143F70 90 1B 00 70 */ stw r0, 0x70(r27)
/* 80148134 00143F74 90 1B 06 B8 */ stw r0, 0x6b8(r27)
.global lbl_80148138
lbl_80148138:
/* 80148138 00143F78 39 61 00 30 */ addi r11, r1, 0x30
/* 8014813C 00143F7C 4B EB F2 45 */ bl lbl_80007380
/* 80148140 00143F80 80 01 00 34 */ lwz r0, 0x34(r1)
/* 80148144 00143F84 7C 08 03 A6 */ mtlr r0
/* 80148148 00143F88 38 21 00 30 */ addi r1, r1, 0x30
/* 8014814C 00143F8C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global HBMMIXQuit
HBMMIXQuit:
/* 80148150 00143F90 3C 80 80 54 */ lis r4, __HBMMIXChannel@ha
/* 80148154 00143F94 3C 60 80 54 */ lis r3, __init_80543E98@ha
2022-10-16 16:05:58 +00:00
/* 80148158 00143F98 38 00 00 00 */ li r0, 0x0
2022-10-16 16:31:36 +00:00
/* 8014815C 00143F9C 90 04 38 54 */ stw r0, __HBMMIXChannel@l(r4)
/* 80148160 00143FA0 90 03 3E 98 */ stw r0, __init_80543E98@l(r3)
2022-10-16 16:05:58 +00:00
/* 80148164 00143FA4 4E 80 00 20 */ blr
/* 80148168 00143FA8 00 00 00 00 */ .4byte 0x00000000
/* 8014816C 00143FAC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXSetSoundMode
HBMMIXSetSoundMode:
/* 80148170 00143FB0 3C 80 80 54 */ lis r4, __HBMMIXSoundMode@ha
/* 80148174 00143FB4 90 64 38 50 */ stw r3, __HBMMIXSoundMode@l(r4)
2022-10-16 16:05:58 +00:00
/* 80148178 00143FB8 4E 80 00 20 */ blr
/* 8014817C 00143FBC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXInitChannel
HBMMIXInitChannel:
2022-10-16 16:05:58 +00:00
/* 80148180 00143FC0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80148184 00143FC4 7C 08 02 A6 */ mflr r0
/* 80148188 00143FC8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8014818C 00143FCC 38 00 00 00 */ li r0, 0x0
/* 80148190 00143FD0 93 E1 00 1C */ stw r31, 0x1c(r1)
2022-10-16 16:31:36 +00:00
/* 80148194 00143FD4 3F E0 80 54 */ lis r31, sIndex2IdTable@ha
/* 80148198 00143FD8 3B FF 37 E0 */ addi r31, r31, sIndex2IdTable@l
2022-10-16 16:05:58 +00:00
/* 8014819C 00143FDC 93 C1 00 18 */ stw r30, 0x18(r1)
/* 801481A0 00143FE0 39 1F 00 10 */ addi r8, r31, 0x10
/* 801481A4 00143FE4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 801481A8 00143FE8 7C 9D 23 78 */ mr r29, r4
/* 801481AC 00143FEC 93 81 00 10 */ stw r28, 0x10(r1)
/* 801481B0 00143FF0 7C 7C 1B 78 */ mr r28, r3
/* 801481B4 00143FF4 81 23 00 18 */ lwz r9, 0x18(r3)
/* 801481B8 00143FF8 81 5F 00 74 */ lwz r10, 0x74(r31)
/* 801481BC 00143FFC 7D 08 48 AE */ lbzx r8, r8, r9
/* 801481C0 00144000 7D 08 07 74 */ extsb r8, r8
/* 801481C4 00144004 1D 08 00 64 */ mulli r8, r8, 0x64
/* 801481C8 00144008 7C 6A 41 2E */ stwx r3, r10, r8
/* 801481CC 0014400C 7F CA 42 14 */ add r30, r10, r8
/* 801481D0 00144010 7F C3 F3 78 */ mr r3, r30
/* 801481D4 00144014 90 1E 00 04 */ stw r0, 0x4(r30)
/* 801481D8 00144018 90 9E 00 08 */ stw r4, 0x8(r30)
/* 801481DC 0014401C 90 BE 00 0C */ stw r5, 0xc(r30)
/* 801481E0 00144020 90 DE 00 10 */ stw r6, 0x10(r30)
/* 801481E4 00144024 90 FE 00 14 */ stw r7, 0x14(r30)
2022-10-16 16:31:36 +00:00
/* 801481E8 00144028 4B FF FC C9 */ bl __HBMMIXSetPan__FP13HBMMIXChannel
2022-10-16 16:05:58 +00:00
/* 801481EC 0014402C 2C 1D FC 78 */ cmpwi r29, -0x388
/* 801481F0 00144030 41 81 00 0C */ bgt lbl_801481FC
/* 801481F4 00144034 38 00 00 00 */ li r0, 0x0
/* 801481F8 00144038 48 00 00 2C */ b lbl_80148224
.global lbl_801481FC
lbl_801481FC:
/* 801481FC 0014403C 2C 1D 00 3C */ cmpwi r29, 0x3c
/* 80148200 00144040 41 80 00 10 */ blt lbl_80148210
/* 80148204 00144044 3C 60 00 01 */ lis r3, 0x1
/* 80148208 00144048 38 03 FF 64 */ addi r0, r3, -0x9c
/* 8014820C 0014404C 48 00 00 18 */ b lbl_80148224
.global lbl_80148210
lbl_80148210:
/* 80148210 00144050 38 1D 03 88 */ addi r0, r29, 0x388
2022-10-16 16:31:36 +00:00
/* 80148214 00144054 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148218 00144058 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8014821C 0014405C 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148220 00144060 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148224
lbl_80148224:
/* 80148224 00144064 B0 1E 00 30 */ sth r0, 0x30(r30)
/* 80148228 00144068 3B A0 00 00 */ li r29, 0x0
/* 8014822C 0014406C 80 1F 00 70 */ lwz r0, 0x70(r31)
/* 80148230 00144070 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148234 00144074 41 82 00 18 */ beq lbl_8014824C
/* 80148238 00144078 28 00 00 01 */ cmplwi r0, 0x1
/* 8014823C 0014407C 41 82 02 00 */ beq lbl_8014843C
/* 80148240 00144080 28 00 00 02 */ cmplwi r0, 0x2
/* 80148244 00144084 41 82 04 08 */ beq lbl_8014864C
/* 80148248 00144088 48 00 06 BC */ b lbl_80148904
.global lbl_8014824C
lbl_8014824C:
/* 8014824C 0014408C 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 80148250 00144090 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 80148254 00144094 7C 63 02 14 */ add r3, r3, r0
/* 80148258 00144098 2C 03 FC 78 */ cmpwi r3, -0x388
/* 8014825C 0014409C 41 81 00 0C */ bgt lbl_80148268
/* 80148260 001440A0 38 00 00 00 */ li r0, 0x0
/* 80148264 001440A4 48 00 00 2C */ b lbl_80148290
.global lbl_80148268
lbl_80148268:
/* 80148268 001440A8 2C 03 00 3C */ cmpwi r3, 0x3c
/* 8014826C 001440AC 41 80 00 10 */ blt lbl_8014827C
/* 80148270 001440B0 3C 60 00 01 */ lis r3, 0x1
/* 80148274 001440B4 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148278 001440B8 48 00 00 18 */ b lbl_80148290
.global lbl_8014827C
lbl_8014827C:
/* 8014827C 001440BC 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148280 001440C0 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148284 001440C4 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148288 001440C8 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 8014828C 001440CC 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148290
lbl_80148290:
/* 80148290 001440D0 B0 1E 00 34 */ sth r0, 0x34(r30)
/* 80148294 001440D4 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 80148298 001440D8 80 1E 00 20 */ lwz r0, 0x20(r30)
/* 8014829C 001440DC 7C 63 02 14 */ add r3, r3, r0
/* 801482A0 001440E0 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801482A4 001440E4 41 81 00 0C */ bgt lbl_801482B0
/* 801482A8 001440E8 38 00 00 00 */ li r0, 0x0
/* 801482AC 001440EC 48 00 00 2C */ b lbl_801482D8
.global lbl_801482B0
lbl_801482B0:
/* 801482B0 001440F0 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801482B4 001440F4 41 80 00 10 */ blt lbl_801482C4
/* 801482B8 001440F8 3C 60 00 01 */ lis r3, 0x1
/* 801482BC 001440FC 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801482C0 00144100 48 00 00 18 */ b lbl_801482D8
.global lbl_801482C4
lbl_801482C4:
/* 801482C4 00144104 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801482C8 00144108 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801482CC 0014410C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801482D0 00144110 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801482D4 00144114 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801482D8
lbl_801482D8:
/* 801482D8 00144118 B0 1E 00 38 */ sth r0, 0x38(r30)
/* 801482DC 0014411C 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 801482E0 00144120 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 801482E4 00144124 7C 63 02 14 */ add r3, r3, r0
/* 801482E8 00144128 38 63 FF E2 */ addi r3, r3, -0x1e
/* 801482EC 0014412C 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801482F0 00144130 41 81 00 0C */ bgt lbl_801482FC
/* 801482F4 00144134 38 00 00 00 */ li r0, 0x0
/* 801482F8 00144138 48 00 00 2C */ b lbl_80148324
.global lbl_801482FC
lbl_801482FC:
/* 801482FC 0014413C 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148300 00144140 41 80 00 10 */ blt lbl_80148310
/* 80148304 00144144 3C 60 00 01 */ lis r3, 0x1
/* 80148308 00144148 38 03 FF 64 */ addi r0, r3, -0x9c
/* 8014830C 0014414C 48 00 00 18 */ b lbl_80148324
.global lbl_80148310
lbl_80148310:
/* 80148310 00144150 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148314 00144154 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148318 00144158 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8014831C 0014415C 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148320 00144160 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148324
lbl_80148324:
/* 80148324 00144164 B0 1E 00 3C */ sth r0, 0x3c(r30)
/* 80148328 00144168 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 8014832C 0014416C 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80148330 00144170 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80148334 00144174 7C 04 02 14 */ add r0, r4, r0
/* 80148338 00144178 7C 63 02 14 */ add r3, r3, r0
/* 8014833C 0014417C 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148340 00144180 41 81 00 0C */ bgt lbl_8014834C
/* 80148344 00144184 38 00 00 00 */ li r0, 0x0
/* 80148348 00144188 48 00 00 2C */ b lbl_80148374
.global lbl_8014834C
lbl_8014834C:
/* 8014834C 0014418C 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148350 00144190 41 80 00 10 */ blt lbl_80148360
/* 80148354 00144194 3C 60 00 01 */ lis r3, 0x1
/* 80148358 00144198 38 03 FF 64 */ addi r0, r3, -0x9c
/* 8014835C 0014419C 48 00 00 18 */ b lbl_80148374
.global lbl_80148360
lbl_80148360:
/* 80148360 001441A0 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148364 001441A4 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148368 001441A8 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8014836C 001441AC 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148370 001441B0 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148374
lbl_80148374:
/* 80148374 001441B4 B0 1E 00 40 */ sth r0, 0x40(r30)
/* 80148378 001441B8 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 8014837C 001441BC 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80148380 001441C0 80 7E 00 0C */ lwz r3, 0xc(r30)
/* 80148384 001441C4 7C 04 02 14 */ add r0, r4, r0
/* 80148388 001441C8 7C 63 02 14 */ add r3, r3, r0
/* 8014838C 001441CC 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148390 001441D0 41 81 00 0C */ bgt lbl_8014839C
/* 80148394 001441D4 38 00 00 00 */ li r0, 0x0
/* 80148398 001441D8 48 00 00 2C */ b lbl_801483C4
.global lbl_8014839C
lbl_8014839C:
/* 8014839C 001441DC 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801483A0 001441E0 41 80 00 10 */ blt lbl_801483B0
/* 801483A4 001441E4 3C 60 00 01 */ lis r3, 0x1
/* 801483A8 001441E8 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801483AC 001441EC 48 00 00 18 */ b lbl_801483C4
.global lbl_801483B0
lbl_801483B0:
/* 801483B0 001441F0 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801483B4 001441F4 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801483B8 001441F8 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801483BC 001441FC 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801483C0 00144200 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801483C4
lbl_801483C4:
/* 801483C4 00144204 B0 1E 00 44 */ sth r0, 0x44(r30)
/* 801483C8 00144208 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 801483CC 0014420C 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 801483D0 00144210 80 7E 00 24 */ lwz r3, 0x24(r30)
/* 801483D4 00144214 7C 04 02 14 */ add r0, r4, r0
/* 801483D8 00144218 7C 60 1A 14 */ add r3, r0, r3
/* 801483DC 0014421C 38 63 FF E2 */ addi r3, r3, -0x1e
/* 801483E0 00144220 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801483E4 00144224 41 81 00 0C */ bgt lbl_801483F0
/* 801483E8 00144228 38 00 00 00 */ li r0, 0x0
/* 801483EC 0014422C 48 00 00 2C */ b lbl_80148418
.global lbl_801483F0
lbl_801483F0:
/* 801483F0 00144230 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801483F4 00144234 41 80 00 10 */ blt lbl_80148404
/* 801483F8 00144238 3C 60 00 01 */ lis r3, 0x1
/* 801483FC 0014423C 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148400 00144240 48 00 00 18 */ b lbl_80148418
.global lbl_80148404
lbl_80148404:
/* 80148404 00144244 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148408 00144248 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014840C 0014424C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148410 00144250 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148414 00144254 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148418
lbl_80148418:
/* 80148418 00144258 B0 1E 00 48 */ sth r0, 0x48(r30)
/* 8014841C 0014425C 38 00 00 00 */ li r0, 0x0
/* 80148420 00144260 B0 1E 00 4C */ sth r0, 0x4c(r30)
/* 80148424 00144264 B0 1E 00 50 */ sth r0, 0x50(r30)
/* 80148428 00144268 B0 1E 00 54 */ sth r0, 0x54(r30)
/* 8014842C 0014426C B0 1E 00 58 */ sth r0, 0x58(r30)
/* 80148430 00144270 B0 1E 00 5C */ sth r0, 0x5c(r30)
/* 80148434 00144274 B0 1E 00 60 */ sth r0, 0x60(r30)
/* 80148438 00144278 48 00 04 CC */ b lbl_80148904
.global lbl_8014843C
lbl_8014843C:
/* 8014843C 0014427C 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 80148440 00144280 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80148444 00144284 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 80148448 00144288 7C 04 02 14 */ add r0, r4, r0
/* 8014844C 0014428C 7C 63 02 14 */ add r3, r3, r0
/* 80148450 00144290 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148454 00144294 41 81 00 0C */ bgt lbl_80148460
/* 80148458 00144298 38 00 00 00 */ li r0, 0x0
/* 8014845C 0014429C 48 00 00 2C */ b lbl_80148488
.global lbl_80148460
lbl_80148460:
/* 80148460 001442A0 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148464 001442A4 41 80 00 10 */ blt lbl_80148474
/* 80148468 001442A8 3C 60 00 01 */ lis r3, 0x1
/* 8014846C 001442AC 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148470 001442B0 48 00 00 18 */ b lbl_80148488
.global lbl_80148474
lbl_80148474:
/* 80148474 001442B4 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148478 001442B8 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014847C 001442BC 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148480 001442C0 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148484 001442C4 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148488
lbl_80148488:
/* 80148488 001442C8 B0 1E 00 34 */ sth r0, 0x34(r30)
/* 8014848C 001442CC 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 80148490 001442D0 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80148494 001442D4 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 80148498 001442D8 7C 04 02 14 */ add r0, r4, r0
/* 8014849C 001442DC 7C 63 02 14 */ add r3, r3, r0
/* 801484A0 001442E0 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801484A4 001442E4 41 81 00 0C */ bgt lbl_801484B0
/* 801484A8 001442E8 38 00 00 00 */ li r0, 0x0
/* 801484AC 001442EC 48 00 00 2C */ b lbl_801484D8
.global lbl_801484B0
lbl_801484B0:
/* 801484B0 001442F0 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801484B4 001442F4 41 80 00 10 */ blt lbl_801484C4
/* 801484B8 001442F8 3C 60 00 01 */ lis r3, 0x1
/* 801484BC 001442FC 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801484C0 00144300 48 00 00 18 */ b lbl_801484D8
.global lbl_801484C4
lbl_801484C4:
/* 801484C4 00144304 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801484C8 00144308 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801484CC 0014430C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801484D0 00144310 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801484D4 00144314 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801484D8
lbl_801484D8:
/* 801484D8 00144318 B0 1E 00 38 */ sth r0, 0x38(r30)
/* 801484DC 0014431C 80 7E 00 14 */ lwz r3, 0x14(r30)
/* 801484E0 00144320 80 1E 00 24 */ lwz r0, 0x24(r30)
/* 801484E4 00144324 7C 63 02 14 */ add r3, r3, r0
/* 801484E8 00144328 38 63 FF E2 */ addi r3, r3, -0x1e
/* 801484EC 0014432C 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801484F0 00144330 41 81 00 0C */ bgt lbl_801484FC
/* 801484F4 00144334 38 00 00 00 */ li r0, 0x0
/* 801484F8 00144338 48 00 00 2C */ b lbl_80148524
.global lbl_801484FC
lbl_801484FC:
/* 801484FC 0014433C 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148500 00144340 41 80 00 10 */ blt lbl_80148510
/* 80148504 00144344 3C 60 00 01 */ lis r3, 0x1
/* 80148508 00144348 38 03 FF 64 */ addi r0, r3, -0x9c
/* 8014850C 0014434C 48 00 00 18 */ b lbl_80148524
.global lbl_80148510
lbl_80148510:
/* 80148510 00144350 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148514 00144354 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148518 00144358 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 8014851C 0014435C 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148520 00144360 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148524
lbl_80148524:
/* 80148524 00144364 B0 1E 00 3C */ sth r0, 0x3c(r30)
/* 80148528 00144368 80 BE 00 20 */ lwz r5, 0x20(r30)
/* 8014852C 0014436C 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 80148530 00144370 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 80148534 00144374 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80148538 00144378 7C 65 1A 14 */ add r3, r5, r3
/* 8014853C 0014437C 7C 04 02 14 */ add r0, r4, r0
/* 80148540 00144380 7C 63 02 14 */ add r3, r3, r0
/* 80148544 00144384 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148548 00144388 41 81 00 0C */ bgt lbl_80148554
/* 8014854C 0014438C 38 00 00 00 */ li r0, 0x0
/* 80148550 00144390 48 00 00 2C */ b lbl_8014857C
.global lbl_80148554
lbl_80148554:
/* 80148554 00144394 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148558 00144398 41 80 00 10 */ blt lbl_80148568
/* 8014855C 0014439C 3C 60 00 01 */ lis r3, 0x1
/* 80148560 001443A0 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148564 001443A4 48 00 00 18 */ b lbl_8014857C
.global lbl_80148568
lbl_80148568:
/* 80148568 001443A8 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 8014856C 001443AC 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148570 001443B0 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148574 001443B4 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148578 001443B8 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_8014857C
lbl_8014857C:
/* 8014857C 001443BC B0 1E 00 40 */ sth r0, 0x40(r30)
/* 80148580 001443C0 80 BE 00 20 */ lwz r5, 0x20(r30)
/* 80148584 001443C4 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 80148588 001443C8 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 8014858C 001443CC 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 80148590 001443D0 7C 65 1A 14 */ add r3, r5, r3
/* 80148594 001443D4 7C 04 02 14 */ add r0, r4, r0
/* 80148598 001443D8 7C 63 02 14 */ add r3, r3, r0
/* 8014859C 001443DC 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801485A0 001443E0 41 81 00 0C */ bgt lbl_801485AC
/* 801485A4 001443E4 38 00 00 00 */ li r0, 0x0
/* 801485A8 001443E8 48 00 00 2C */ b lbl_801485D4
.global lbl_801485AC
lbl_801485AC:
/* 801485AC 001443EC 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801485B0 001443F0 41 80 00 10 */ blt lbl_801485C0
/* 801485B4 001443F4 3C 60 00 01 */ lis r3, 0x1
/* 801485B8 001443F8 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801485BC 001443FC 48 00 00 18 */ b lbl_801485D4
.global lbl_801485C0
lbl_801485C0:
/* 801485C0 00144400 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801485C4 00144404 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801485C8 00144408 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801485CC 0014440C 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801485D0 00144410 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801485D4
lbl_801485D4:
/* 801485D4 00144414 B0 1E 00 44 */ sth r0, 0x44(r30)
/* 801485D8 00144418 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 801485DC 0014441C 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 801485E0 00144420 80 7E 00 24 */ lwz r3, 0x24(r30)
/* 801485E4 00144424 7C 04 02 14 */ add r0, r4, r0
/* 801485E8 00144428 7C 60 1A 14 */ add r3, r0, r3
/* 801485EC 0014442C 38 63 FF E2 */ addi r3, r3, -0x1e
/* 801485F0 00144430 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801485F4 00144434 41 81 00 0C */ bgt lbl_80148600
/* 801485F8 00144438 38 00 00 00 */ li r0, 0x0
/* 801485FC 0014443C 48 00 00 2C */ b lbl_80148628
.global lbl_80148600
lbl_80148600:
/* 80148600 00144440 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148604 00144444 41 80 00 10 */ blt lbl_80148614
/* 80148608 00144448 3C 60 00 01 */ lis r3, 0x1
/* 8014860C 0014444C 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148610 00144450 48 00 00 18 */ b lbl_80148628
.global lbl_80148614
lbl_80148614:
/* 80148614 00144454 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148618 00144458 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014861C 0014445C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148620 00144460 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148624 00144464 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148628
lbl_80148628:
/* 80148628 00144468 B0 1E 00 48 */ sth r0, 0x48(r30)
/* 8014862C 0014446C 38 00 00 00 */ li r0, 0x0
/* 80148630 00144470 B0 1E 00 4C */ sth r0, 0x4c(r30)
/* 80148634 00144474 B0 1E 00 50 */ sth r0, 0x50(r30)
/* 80148638 00144478 B0 1E 00 54 */ sth r0, 0x54(r30)
/* 8014863C 0014447C B0 1E 00 58 */ sth r0, 0x58(r30)
/* 80148640 00144480 B0 1E 00 5C */ sth r0, 0x5c(r30)
/* 80148644 00144484 B0 1E 00 60 */ sth r0, 0x60(r30)
/* 80148648 00144488 48 00 02 BC */ b lbl_80148904
.global lbl_8014864C
lbl_8014864C:
/* 8014864C 0014448C 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 80148650 00144490 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80148654 00144494 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 80148658 00144498 7C 04 02 14 */ add r0, r4, r0
/* 8014865C 0014449C 7C 63 02 14 */ add r3, r3, r0
/* 80148660 001444A0 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148664 001444A4 41 81 00 0C */ bgt lbl_80148670
/* 80148668 001444A8 38 00 00 00 */ li r0, 0x0
/* 8014866C 001444AC 48 00 00 2C */ b lbl_80148698
.global lbl_80148670
lbl_80148670:
/* 80148670 001444B0 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148674 001444B4 41 80 00 10 */ blt lbl_80148684
/* 80148678 001444B8 3C 60 00 01 */ lis r3, 0x1
/* 8014867C 001444BC 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148680 001444C0 48 00 00 18 */ b lbl_80148698
.global lbl_80148684
lbl_80148684:
/* 80148684 001444C4 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148688 001444C8 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014868C 001444CC 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148690 001444D0 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148694 001444D4 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148698
lbl_80148698:
/* 80148698 001444D8 B0 1E 00 34 */ sth r0, 0x34(r30)
/* 8014869C 001444DC 80 9E 00 20 */ lwz r4, 0x20(r30)
/* 801486A0 001444E0 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 801486A4 001444E4 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 801486A8 001444E8 7C 04 02 14 */ add r0, r4, r0
/* 801486AC 001444EC 7C 63 02 14 */ add r3, r3, r0
/* 801486B0 001444F0 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801486B4 001444F4 41 81 00 0C */ bgt lbl_801486C0
/* 801486B8 001444F8 38 00 00 00 */ li r0, 0x0
/* 801486BC 001444FC 48 00 00 2C */ b lbl_801486E8
.global lbl_801486C0
lbl_801486C0:
/* 801486C0 00144500 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801486C4 00144504 41 80 00 10 */ blt lbl_801486D4
/* 801486C8 00144508 3C 60 00 01 */ lis r3, 0x1
/* 801486CC 0014450C 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801486D0 00144510 48 00 00 18 */ b lbl_801486E8
.global lbl_801486D4
lbl_801486D4:
/* 801486D4 00144514 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801486D8 00144518 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801486DC 0014451C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801486E0 00144520 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801486E4 00144524 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801486E8
lbl_801486E8:
/* 801486E8 00144528 B0 1E 00 38 */ sth r0, 0x38(r30)
/* 801486EC 0014452C 80 9E 00 24 */ lwz r4, 0x24(r30)
/* 801486F0 00144530 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 801486F4 00144534 80 7E 00 28 */ lwz r3, 0x28(r30)
/* 801486F8 00144538 7C 04 02 14 */ add r0, r4, r0
/* 801486FC 0014453C 7C 63 02 14 */ add r3, r3, r0
/* 80148700 00144540 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148704 00144544 41 81 00 0C */ bgt lbl_80148710
/* 80148708 00144548 38 00 00 00 */ li r0, 0x0
/* 8014870C 0014454C 48 00 00 2C */ b lbl_80148738
.global lbl_80148710
lbl_80148710:
/* 80148710 00144550 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148714 00144554 41 80 00 10 */ blt lbl_80148724
/* 80148718 00144558 3C 60 00 01 */ lis r3, 0x1
/* 8014871C 0014455C 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148720 00144560 48 00 00 18 */ b lbl_80148738
.global lbl_80148724
lbl_80148724:
/* 80148724 00144564 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148728 00144568 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014872C 0014456C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148730 00144570 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148734 00144574 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148738
lbl_80148738:
/* 80148738 00144578 B0 1E 00 3C */ sth r0, 0x3c(r30)
/* 8014873C 0014457C 80 9E 00 24 */ lwz r4, 0x24(r30)
/* 80148740 00144580 80 1E 00 14 */ lwz r0, 0x14(r30)
/* 80148744 00144584 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 80148748 00144588 7C 04 02 14 */ add r0, r4, r0
/* 8014874C 0014458C 7C 63 02 14 */ add r3, r3, r0
/* 80148750 00144590 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148754 00144594 41 81 00 0C */ bgt lbl_80148760
/* 80148758 00144598 38 00 00 00 */ li r0, 0x0
/* 8014875C 0014459C 48 00 00 2C */ b lbl_80148788
.global lbl_80148760
lbl_80148760:
/* 80148760 001445A0 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148764 001445A4 41 80 00 10 */ blt lbl_80148774
/* 80148768 001445A8 3C 60 00 01 */ lis r3, 0x1
/* 8014876C 001445AC 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148770 001445B0 48 00 00 18 */ b lbl_80148788
.global lbl_80148774
lbl_80148774:
/* 80148774 001445B4 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148778 001445B8 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014877C 001445BC 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148780 001445C0 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148784 001445C4 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148788
lbl_80148788:
/* 80148788 001445C8 B0 1E 00 58 */ sth r0, 0x58(r30)
/* 8014878C 001445CC 80 BE 00 20 */ lwz r5, 0x20(r30)
/* 80148790 001445D0 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 80148794 001445D4 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 80148798 001445D8 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8014879C 001445DC 7C 65 1A 14 */ add r3, r5, r3
/* 801487A0 001445E0 7C 04 02 14 */ add r0, r4, r0
/* 801487A4 001445E4 7C 63 02 14 */ add r3, r3, r0
/* 801487A8 001445E8 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801487AC 001445EC 41 81 00 0C */ bgt lbl_801487B8
/* 801487B0 001445F0 38 00 00 00 */ li r0, 0x0
/* 801487B4 001445F4 48 00 00 2C */ b lbl_801487E0
.global lbl_801487B8
lbl_801487B8:
/* 801487B8 001445F8 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801487BC 001445FC 41 80 00 10 */ blt lbl_801487CC
/* 801487C0 00144600 3C 60 00 01 */ lis r3, 0x1
/* 801487C4 00144604 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801487C8 00144608 48 00 00 18 */ b lbl_801487E0
.global lbl_801487CC
lbl_801487CC:
/* 801487CC 0014460C 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801487D0 00144610 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801487D4 00144614 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801487D8 00144618 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801487DC 0014461C 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801487E0
lbl_801487E0:
/* 801487E0 00144620 B0 1E 00 40 */ sth r0, 0x40(r30)
/* 801487E4 00144624 80 BE 00 20 */ lwz r5, 0x20(r30)
/* 801487E8 00144628 80 7E 00 1C */ lwz r3, 0x1c(r30)
/* 801487EC 0014462C 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 801487F0 00144630 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 801487F4 00144634 7C 65 1A 14 */ add r3, r5, r3
/* 801487F8 00144638 7C 04 02 14 */ add r0, r4, r0
/* 801487FC 0014463C 7C 63 02 14 */ add r3, r3, r0
/* 80148800 00144640 2C 03 FC 78 */ cmpwi r3, -0x388
/* 80148804 00144644 41 81 00 0C */ bgt lbl_80148810
/* 80148808 00144648 38 00 00 00 */ li r0, 0x0
/* 8014880C 0014464C 48 00 00 2C */ b lbl_80148838
.global lbl_80148810
lbl_80148810:
/* 80148810 00144650 2C 03 00 3C */ cmpwi r3, 0x3c
/* 80148814 00144654 41 80 00 10 */ blt lbl_80148824
/* 80148818 00144658 3C 60 00 01 */ lis r3, 0x1
/* 8014881C 0014465C 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148820 00144660 48 00 00 18 */ b lbl_80148838
.global lbl_80148824
lbl_80148824:
/* 80148824 00144664 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148828 00144668 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 8014882C 0014466C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148830 00144670 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148834 00144674 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148838
lbl_80148838:
/* 80148838 00144678 B0 1E 00 44 */ sth r0, 0x44(r30)
/* 8014883C 0014467C 80 BE 00 24 */ lwz r5, 0x24(r30)
/* 80148840 00144680 80 7E 00 28 */ lwz r3, 0x28(r30)
/* 80148844 00144684 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 80148848 00144688 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 8014884C 0014468C 7C 65 1A 14 */ add r3, r5, r3
/* 80148850 00144690 7C 04 02 14 */ add r0, r4, r0
/* 80148854 00144694 7C 63 02 14 */ add r3, r3, r0
/* 80148858 00144698 2C 03 FC 78 */ cmpwi r3, -0x388
/* 8014885C 0014469C 41 81 00 0C */ bgt lbl_80148868
/* 80148860 001446A0 38 00 00 00 */ li r0, 0x0
/* 80148864 001446A4 48 00 00 2C */ b lbl_80148890
.global lbl_80148868
lbl_80148868:
/* 80148868 001446A8 2C 03 00 3C */ cmpwi r3, 0x3c
/* 8014886C 001446AC 41 80 00 10 */ blt lbl_8014887C
/* 80148870 001446B0 3C 60 00 01 */ lis r3, 0x1
/* 80148874 001446B4 38 03 FF 64 */ addi r0, r3, -0x9c
/* 80148878 001446B8 48 00 00 18 */ b lbl_80148890
.global lbl_8014887C
lbl_8014887C:
/* 8014887C 001446BC 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 80148880 001446C0 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148884 001446C4 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 80148888 001446C8 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 8014888C 001446CC 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_80148890
lbl_80148890:
/* 80148890 001446D0 B0 1E 00 48 */ sth r0, 0x48(r30)
/* 80148894 001446D4 80 BE 00 24 */ lwz r5, 0x24(r30)
/* 80148898 001446D8 80 7E 00 2C */ lwz r3, 0x2c(r30)
/* 8014889C 001446DC 80 9E 00 14 */ lwz r4, 0x14(r30)
/* 801488A0 001446E0 80 1E 00 0C */ lwz r0, 0xc(r30)
/* 801488A4 001446E4 7C 65 1A 14 */ add r3, r5, r3
/* 801488A8 001446E8 7C 04 02 14 */ add r0, r4, r0
/* 801488AC 001446EC 7C 63 02 14 */ add r3, r3, r0
/* 801488B0 001446F0 2C 03 FC 78 */ cmpwi r3, -0x388
/* 801488B4 001446F4 41 81 00 0C */ bgt lbl_801488C0
/* 801488B8 001446F8 38 00 00 00 */ li r0, 0x0
/* 801488BC 001446FC 48 00 00 2C */ b lbl_801488E8
.global lbl_801488C0
lbl_801488C0:
/* 801488C0 00144700 2C 03 00 3C */ cmpwi r3, 0x3c
/* 801488C4 00144704 41 80 00 10 */ blt lbl_801488D4
/* 801488C8 00144708 3C 60 00 01 */ lis r3, 0x1
/* 801488CC 0014470C 38 03 FF 64 */ addi r0, r3, -0x9c
/* 801488D0 00144710 48 00 00 18 */ b lbl_801488E8
.global lbl_801488D4
lbl_801488D4:
/* 801488D4 00144714 38 03 03 88 */ addi r0, r3, 0x388
2022-10-16 16:31:36 +00:00
/* 801488D8 00144718 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 801488DC 0014471C 54 00 08 3C */ slwi r0, r0, 1
2022-10-16 16:31:36 +00:00
/* 801488E0 00144720 38 63 56 C8 */ addi r3, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 801488E4 00144724 7C 03 02 2E */ lhzx r0, r3, r0
.global lbl_801488E8
lbl_801488E8:
/* 801488E8 00144728 B0 1E 00 5C */ sth r0, 0x5c(r30)
/* 801488EC 0014472C 38 00 00 00 */ li r0, 0x0
/* 801488F0 00144730 67 BD 80 00 */ oris r29, r29, 0x8000
/* 801488F4 00144734 B0 1E 00 4C */ sth r0, 0x4c(r30)
/* 801488F8 00144738 B0 1E 00 50 */ sth r0, 0x50(r30)
/* 801488FC 0014473C B0 1E 00 54 */ sth r0, 0x54(r30)
/* 80148900 00144740 B0 1E 00 60 */ sth r0, 0x60(r30)
.global lbl_80148904
lbl_80148904:
2022-10-16 16:31:36 +00:00
/* 80148904 00144744 4B ED 8F 1D */ bl OSDisableInterrupts
2022-10-16 16:05:58 +00:00
/* 80148908 00144748 A0 9E 00 30 */ lhz r4, 0x30(r30)
/* 8014890C 0014474C 38 00 00 00 */ li r0, 0x0
/* 80148910 00144750 7C 7F 1B 78 */ mr r31, r3
/* 80148914 00144754 B0 9C 00 92 */ sth r4, 0x92(r28)
/* 80148918 00144758 38 7C 00 3E */ addi r3, r28, 0x3e
/* 8014891C 0014475C B0 1C 00 94 */ sth r0, 0x94(r28)
/* 80148920 00144760 A0 1E 00 34 */ lhz r0, 0x34(r30)
/* 80148924 00144764 B0 1C 00 3C */ sth r0, 0x3c(r28)
/* 80148928 00144768 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014892C 0014476C 41 82 00 08 */ beq lbl_80148934
/* 80148930 00144770 63 BD 00 01 */ ori r29, r29, 0x1
.global lbl_80148934
lbl_80148934:
/* 80148934 00144774 38 00 00 00 */ li r0, 0x0
/* 80148938 00144778 B0 03 00 00 */ sth r0, 0x0(r3)
/* 8014893C 0014477C A0 1E 00 38 */ lhz r0, 0x38(r30)
/* 80148940 00144780 B0 03 00 02 */ sth r0, 0x2(r3)
/* 80148944 00144784 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148948 00144788 41 82 00 08 */ beq lbl_80148950
/* 8014894C 0014478C 63 BD 00 02 */ ori r29, r29, 0x2
.global lbl_80148950
lbl_80148950:
/* 80148950 00144790 38 00 00 00 */ li r0, 0x0
/* 80148954 00144794 B0 03 00 04 */ sth r0, 0x4(r3)
/* 80148958 00144798 A0 1E 00 40 */ lhz r0, 0x40(r30)
/* 8014895C 0014479C B0 03 00 06 */ sth r0, 0x6(r3)
/* 80148960 001447A0 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148964 001447A4 41 82 00 08 */ beq lbl_8014896C
/* 80148968 001447A8 67 BD 00 01 */ oris r29, r29, 0x1
.global lbl_8014896C
lbl_8014896C:
/* 8014896C 001447AC 38 00 00 00 */ li r0, 0x0
/* 80148970 001447B0 B0 03 00 08 */ sth r0, 0x8(r3)
/* 80148974 001447B4 A0 1E 00 44 */ lhz r0, 0x44(r30)
/* 80148978 001447B8 B0 03 00 0A */ sth r0, 0xa(r3)
/* 8014897C 001447BC 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148980 001447C0 41 82 00 08 */ beq lbl_80148988
/* 80148984 001447C4 67 BD 00 02 */ oris r29, r29, 0x2
.global lbl_80148988
lbl_80148988:
/* 80148988 001447C8 38 00 00 00 */ li r0, 0x0
/* 8014898C 001447CC B0 03 00 0C */ sth r0, 0xc(r3)
/* 80148990 001447D0 A0 1E 00 4C */ lhz r0, 0x4c(r30)
/* 80148994 001447D4 B0 03 00 0E */ sth r0, 0xe(r3)
/* 80148998 001447D8 2C 00 00 00 */ cmpwi r0, 0x0
/* 8014899C 001447DC 41 82 00 08 */ beq lbl_801489A4
/* 801489A0 001447E0 67 BD 00 20 */ oris r29, r29, 0x20
.global lbl_801489A4
lbl_801489A4:
/* 801489A4 001447E4 38 00 00 00 */ li r0, 0x0
/* 801489A8 001447E8 B0 03 00 10 */ sth r0, 0x10(r3)
/* 801489AC 001447EC A0 1E 00 50 */ lhz r0, 0x50(r30)
/* 801489B0 001447F0 B0 03 00 12 */ sth r0, 0x12(r3)
/* 801489B4 001447F4 2C 00 00 00 */ cmpwi r0, 0x0
/* 801489B8 001447F8 41 82 00 08 */ beq lbl_801489C0
/* 801489BC 001447FC 67 BD 00 40 */ oris r29, r29, 0x40
.global lbl_801489C0
lbl_801489C0:
/* 801489C0 00144800 38 00 00 00 */ li r0, 0x0
/* 801489C4 00144804 B0 03 00 14 */ sth r0, 0x14(r3)
/* 801489C8 00144808 A0 1E 00 58 */ lhz r0, 0x58(r30)
/* 801489CC 0014480C B0 03 00 16 */ sth r0, 0x16(r3)
/* 801489D0 00144810 2C 00 00 00 */ cmpwi r0, 0x0
/* 801489D4 00144814 41 82 00 08 */ beq lbl_801489DC
/* 801489D8 00144818 67 BD 04 00 */ oris r29, r29, 0x400
.global lbl_801489DC
lbl_801489DC:
/* 801489DC 0014481C 38 00 00 00 */ li r0, 0x0
/* 801489E0 00144820 B0 03 00 18 */ sth r0, 0x18(r3)
/* 801489E4 00144824 A0 1E 00 5C */ lhz r0, 0x5c(r30)
/* 801489E8 00144828 B0 03 00 1A */ sth r0, 0x1a(r3)
/* 801489EC 0014482C 2C 00 00 00 */ cmpwi r0, 0x0
/* 801489F0 00144830 41 82 00 08 */ beq lbl_801489F8
/* 801489F4 00144834 67 BD 08 00 */ oris r29, r29, 0x800
.global lbl_801489F8
lbl_801489F8:
/* 801489F8 00144838 38 00 00 00 */ li r0, 0x0
/* 801489FC 0014483C B0 03 00 1C */ sth r0, 0x1c(r3)
/* 80148A00 00144840 A0 1E 00 3C */ lhz r0, 0x3c(r30)
/* 80148A04 00144844 B0 03 00 1E */ sth r0, 0x1e(r3)
/* 80148A08 00144848 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148A0C 0014484C 41 82 00 08 */ beq lbl_80148A14
/* 80148A10 00144850 63 BD 00 08 */ ori r29, r29, 0x8
.global lbl_80148A14
lbl_80148A14:
/* 80148A14 00144854 38 00 00 00 */ li r0, 0x0
/* 80148A18 00144858 B0 03 00 20 */ sth r0, 0x20(r3)
/* 80148A1C 0014485C A0 1E 00 48 */ lhz r0, 0x48(r30)
/* 80148A20 00144860 B0 03 00 22 */ sth r0, 0x22(r3)
/* 80148A24 00144864 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148A28 00144868 41 82 00 08 */ beq lbl_80148A30
/* 80148A2C 0014486C 67 BD 00 08 */ oris r29, r29, 0x8
.global lbl_80148A30
lbl_80148A30:
/* 80148A30 00144870 38 00 00 00 */ li r0, 0x0
/* 80148A34 00144874 B0 03 00 24 */ sth r0, 0x24(r3)
/* 80148A38 00144878 A0 1E 00 54 */ lhz r0, 0x54(r30)
/* 80148A3C 0014487C B0 03 00 26 */ sth r0, 0x26(r3)
/* 80148A40 00144880 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148A44 00144884 41 82 00 08 */ beq lbl_80148A4C
/* 80148A48 00144888 67 BD 01 00 */ oris r29, r29, 0x100
.global lbl_80148A4C
lbl_80148A4C:
/* 80148A4C 0014488C 38 00 00 00 */ li r0, 0x0
/* 80148A50 00144890 B0 03 00 28 */ sth r0, 0x28(r3)
/* 80148A54 00144894 A0 1E 00 60 */ lhz r0, 0x60(r30)
/* 80148A58 00144898 B0 03 00 2A */ sth r0, 0x2a(r3)
/* 80148A5C 0014489C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148A60 001448A0 41 82 00 08 */ beq lbl_80148A68
/* 80148A64 001448A4 67 BD 20 00 */ oris r29, r29, 0x2000
.global lbl_80148A68
lbl_80148A68:
/* 80148A68 001448A8 80 1C 00 1C */ lwz r0, 0x1c(r28)
/* 80148A6C 001448AC 3B C0 00 00 */ li r30, 0x0
/* 80148A70 001448B0 B3 C3 00 2C */ sth r30, 0x2c(r3)
/* 80148A74 001448B4 38 7C 01 02 */ addi r3, r28, 0x102
/* 80148A78 001448B8 60 00 01 12 */ ori r0, r0, 0x112
/* 80148A7C 001448BC 38 80 00 00 */ li r4, 0x0
/* 80148A80 001448C0 93 BC 00 34 */ stw r29, 0x34(r28)
/* 80148A84 001448C4 38 A0 00 20 */ li r5, 0x20
/* 80148A88 001448C8 90 1C 00 1C */ stw r0, 0x1c(r28)
2022-10-16 16:31:36 +00:00
/* 80148A8C 001448CC 4B EB B8 C5 */ bl memset
2022-10-16 16:05:58 +00:00
/* 80148A90 001448D0 80 1C 00 1C */ lwz r0, 0x1c(r28)
/* 80148A94 001448D4 7F E3 FB 78 */ mr r3, r31
/* 80148A98 001448D8 B3 DC 01 00 */ sth r30, 0x100(r28)
/* 80148A9C 001448DC 64 00 03 00 */ oris r0, r0, 0x300
/* 80148AA0 001448E0 90 1C 00 1C */ stw r0, 0x1c(r28)
2022-10-16 16:31:36 +00:00
/* 80148AA4 001448E4 4B ED 8D BD */ bl OSRestoreInterrupts
2022-10-16 16:05:58 +00:00
/* 80148AA8 001448E8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80148AAC 001448EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80148AB0 001448F0 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80148AB4 001448F4 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80148AB8 001448F8 83 81 00 10 */ lwz r28, 0x10(r1)
/* 80148ABC 001448FC 7C 08 03 A6 */ mtlr r0
/* 80148AC0 00144900 38 21 00 20 */ addi r1, r1, 0x20
/* 80148AC4 00144904 4E 80 00 20 */ blr
/* 80148AC8 00144908 00 00 00 00 */ .4byte 0x00000000
/* 80148ACC 0014490C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXReleaseChannel
HBMMIXReleaseChannel:
/* 80148AD0 00144910 3C 80 80 54 */ lis r4, sId2IndexTable@ha
2022-10-16 16:05:58 +00:00
/* 80148AD4 00144914 80 03 00 18 */ lwz r0, 0x18(r3)
2022-10-16 16:31:36 +00:00
/* 80148AD8 00144918 38 84 37 F0 */ addi r4, r4, sId2IndexTable@l
/* 80148ADC 0014491C 3C 60 80 54 */ lis r3, __HBMMIXChannel@ha
2022-10-16 16:05:58 +00:00
/* 80148AE0 00144920 7C 04 00 AE */ lbzx r0, r4, r0
/* 80148AE4 00144924 38 80 00 00 */ li r4, 0x0
2022-10-16 16:31:36 +00:00
/* 80148AE8 00144928 80 63 38 54 */ lwz r3, __HBMMIXChannel@l(r3)
2022-10-16 16:05:58 +00:00
/* 80148AEC 0014492C 7C 00 07 74 */ extsb r0, r0
/* 80148AF0 00144930 1C 00 00 64 */ mulli r0, r0, 0x64
/* 80148AF4 00144934 7C 83 01 2E */ stwx r4, r3, r0
/* 80148AF8 00144938 4E 80 00 20 */ blr
/* 80148AFC 0014493C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXSetInput
HBMMIXSetInput:
/* 80148B00 00144940 3C A0 80 54 */ lis r5, sId2IndexTable@ha
2022-10-16 16:05:58 +00:00
/* 80148B04 00144944 80 03 00 18 */ lwz r0, 0x18(r3)
2022-10-16 16:31:36 +00:00
/* 80148B08 00144948 38 A5 37 F0 */ addi r5, r5, sId2IndexTable@l
/* 80148B0C 0014494C 3C 60 80 54 */ lis r3, __HBMMIXChannel@ha
2022-10-16 16:05:58 +00:00
/* 80148B10 00144950 7C 05 00 AE */ lbzx r0, r5, r0
2022-10-16 16:31:36 +00:00
/* 80148B14 00144954 80 63 38 54 */ lwz r3, __HBMMIXChannel@l(r3)
2022-10-16 16:05:58 +00:00
/* 80148B18 00144958 7C 00 07 74 */ extsb r0, r0
/* 80148B1C 0014495C 1C 00 00 64 */ mulli r0, r0, 0x64
/* 80148B20 00144960 7C 63 02 14 */ add r3, r3, r0
/* 80148B24 00144964 90 83 00 08 */ stw r4, 0x8(r3)
/* 80148B28 00144968 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80148B2C 0014496C 64 00 10 00 */ oris r0, r0, 0x1000
/* 80148B30 00144970 90 03 00 04 */ stw r0, 0x4(r3)
/* 80148B34 00144974 4E 80 00 20 */ blr
/* 80148B38 00144978 00 00 00 00 */ .4byte 0x00000000
/* 80148B3C 0014497C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXSetAuxA
HBMMIXSetAuxA:
/* 80148B40 00144980 3C A0 80 54 */ lis r5, sId2IndexTable@ha
2022-10-16 16:05:58 +00:00
/* 80148B44 00144984 80 03 00 18 */ lwz r0, 0x18(r3)
2022-10-16 16:31:36 +00:00
/* 80148B48 00144988 38 A5 37 F0 */ addi r5, r5, sId2IndexTable@l
/* 80148B4C 0014498C 3C 60 80 54 */ lis r3, __HBMMIXChannel@ha
2022-10-16 16:05:58 +00:00
/* 80148B50 00144990 7C 05 00 AE */ lbzx r0, r5, r0
2022-10-16 16:31:36 +00:00
/* 80148B54 00144994 80 63 38 54 */ lwz r3, __HBMMIXChannel@l(r3)
2022-10-16 16:05:58 +00:00
/* 80148B58 00144998 7C 00 07 74 */ extsb r0, r0
/* 80148B5C 0014499C 1C 00 00 64 */ mulli r0, r0, 0x64
/* 80148B60 001449A0 7C 63 02 14 */ add r3, r3, r0
/* 80148B64 001449A4 90 83 00 0C */ stw r4, 0xc(r3)
/* 80148B68 001449A8 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80148B6C 001449AC 64 00 40 00 */ oris r0, r0, 0x4000
/* 80148B70 001449B0 90 03 00 04 */ stw r0, 0x4(r3)
/* 80148B74 001449B4 4E 80 00 20 */ blr
/* 80148B78 001449B8 00 00 00 00 */ .4byte 0x00000000
/* 80148B7C 001449BC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXSetPan
HBMMIXSetPan:
2022-10-16 16:05:58 +00:00
/* 80148B80 001449C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80148B84 001449C4 7C 08 02 A6 */ mflr r0
2022-10-16 16:31:36 +00:00
/* 80148B88 001449C8 3C A0 80 54 */ lis r5, sId2IndexTable@ha
2022-10-16 16:05:58 +00:00
/* 80148B8C 001449CC 2C 04 00 00 */ cmpwi r4, 0x0
/* 80148B90 001449D0 90 01 00 14 */ stw r0, 0x14(r1)
2022-10-16 16:31:36 +00:00
/* 80148B94 001449D4 38 A5 37 F0 */ addi r5, r5, sId2IndexTable@l
2022-10-16 16:05:58 +00:00
/* 80148B98 001449D8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80148B9C 001449DC 80 03 00 18 */ lwz r0, 0x18(r3)
2022-10-16 16:31:36 +00:00
/* 80148BA0 001449E0 3C 60 80 54 */ lis r3, __HBMMIXChannel@ha
/* 80148BA4 001449E4 80 63 38 54 */ lwz r3, __HBMMIXChannel@l(r3)
2022-10-16 16:05:58 +00:00
/* 80148BA8 001449E8 7C 05 00 AE */ lbzx r0, r5, r0
/* 80148BAC 001449EC 7C 00 07 74 */ extsb r0, r0
/* 80148BB0 001449F0 1C 00 00 64 */ mulli r0, r0, 0x64
/* 80148BB4 001449F4 7F E3 02 14 */ add r31, r3, r0
/* 80148BB8 001449F8 40 80 00 0C */ bge lbl_80148BC4
/* 80148BBC 001449FC 38 00 00 00 */ li r0, 0x0
/* 80148BC0 00144A00 48 00 00 14 */ b lbl_80148BD4
.global lbl_80148BC4
lbl_80148BC4:
/* 80148BC4 00144A04 2C 04 00 7F */ cmpwi r4, 0x7f
/* 80148BC8 00144A08 38 00 00 7F */ li r0, 0x7f
/* 80148BCC 00144A0C 41 81 00 08 */ bgt lbl_80148BD4
/* 80148BD0 00144A10 7C 80 23 78 */ mr r0, r4
.global lbl_80148BD4
lbl_80148BD4:
/* 80148BD4 00144A14 90 1F 00 10 */ stw r0, 0x10(r31)
/* 80148BD8 00144A18 7F E3 FB 78 */ mr r3, r31
2022-10-16 16:31:36 +00:00
/* 80148BDC 00144A1C 4B FF F2 D5 */ bl __HBMMIXSetPan__FP13HBMMIXChannel
2022-10-16 16:05:58 +00:00
/* 80148BE0 00144A20 80 1F 00 04 */ lwz r0, 0x4(r31)
/* 80148BE4 00144A24 64 00 40 00 */ oris r0, r0, 0x4000
/* 80148BE8 00144A28 90 1F 00 04 */ stw r0, 0x4(r31)
/* 80148BEC 00144A2C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80148BF0 00144A30 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80148BF4 00144A34 7C 08 03 A6 */ mtlr r0
/* 80148BF8 00144A38 38 21 00 10 */ addi r1, r1, 0x10
/* 80148BFC 00144A3C 4E 80 00 20 */ blr
2022-10-16 16:31:36 +00:00
.global HBMMIXSetFader
HBMMIXSetFader:
/* 80148C00 00144A40 3C A0 80 54 */ lis r5, sId2IndexTable@ha
2022-10-16 16:05:58 +00:00
/* 80148C04 00144A44 80 03 00 18 */ lwz r0, 0x18(r3)
2022-10-16 16:31:36 +00:00
/* 80148C08 00144A48 38 A5 37 F0 */ addi r5, r5, sId2IndexTable@l
/* 80148C0C 00144A4C 3C 60 80 54 */ lis r3, __HBMMIXChannel@ha
2022-10-16 16:05:58 +00:00
/* 80148C10 00144A50 7C 05 00 AE */ lbzx r0, r5, r0
2022-10-16 16:31:36 +00:00
/* 80148C14 00144A54 80 63 38 54 */ lwz r3, __HBMMIXChannel@l(r3)
2022-10-16 16:05:58 +00:00
/* 80148C18 00144A58 7C 00 07 74 */ extsb r0, r0
/* 80148C1C 00144A5C 1C 00 00 64 */ mulli r0, r0, 0x64
/* 80148C20 00144A60 7C 63 02 14 */ add r3, r3, r0
/* 80148C24 00144A64 90 83 00 14 */ stw r4, 0x14(r3)
/* 80148C28 00144A68 80 03 00 04 */ lwz r0, 0x4(r3)
/* 80148C2C 00144A6C 64 00 40 00 */ oris r0, r0, 0x4000
/* 80148C30 00144A70 90 03 00 04 */ stw r0, 0x4(r3)
/* 80148C34 00144A74 4E 80 00 20 */ blr
/* 80148C38 00144A78 00 00 00 00 */ .4byte 0x00000000
/* 80148C3C 00144A7C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMMIXUpdateSettings
HBMMIXUpdateSettings:
2022-10-16 16:05:58 +00:00
/* 80148C40 00144A80 94 21 FF E0 */ stwu r1, -0x20(r1)
2022-10-16 16:31:36 +00:00
/* 80148C44 00144A84 3C C0 80 54 */ lis r6, sIndex2IdTable@ha
/* 80148C48 00144A88 38 C6 37 E0 */ addi r6, r6, sIndex2IdTable@l
2022-10-16 16:05:58 +00:00
/* 80148C4C 00144A8C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80148C50 00144A90 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80148C54 00144A94 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80148C58 00144A98 80 06 06 B8 */ lwz r0, 0x6b8(r6)
/* 80148C5C 00144A9C 2C 00 00 00 */ cmpwi r0, 0x0
/* 80148C60 00144AA0 41 82 0A C4 */ beq lbl_80149724
2022-10-16 16:31:36 +00:00
/* 80148C64 00144AA4 3C 60 80 44 */ lis r3, __HBMMIXVolumeTable@ha
2022-10-16 16:05:58 +00:00
/* 80148C68 00144AA8 39 00 00 10 */ li r8, 0x10
2022-10-16 16:31:36 +00:00
/* 80148C6C 00144AAC 38 83 56 C8 */ addi r4, r3, __HBMMIXVolumeTable@l
2022-10-16 16:05:58 +00:00
/* 80148C70 00144AB0 38 E0 00 00 */ li r7, 0x0
/* 80148C74 00144AB4 3C A0 00 01 */ lis r5, 0x1
/* 80148C78 00144AB8 38 00 00 00 */ li r0, 0x0
/* 80148C7C 00144ABC 3C 60 2A AB */ lis r3, 0x2aab
/* 80148C80 00144AC0 7D 09 03 A6 */ mtctr r8
/* 80148C84 00144AC4 60 00 00 00 */ nop
.global lbl_80148C88
lbl_80148C88:
/* 80148C88 00144AC8 81 46 00 74 */ lwz r10, 0x74(r6)
/* 80148C8C 00144ACC 39 20 00 00 */ li r9, 0x0
/* 80148C90 00144AD0 7D 6A 38 6E */ lwzux r11, r10, r7
/* 80148C94 00144AD4 39 00 00 00 */ li r8, 0x0
/* 80148C98 00144AD8 2C 0B 00 00 */ cmpwi r11, 0x0
/* 80148C9C 00144ADC 41 82 0A 80 */ beq lbl_8014971C
/* 80148CA0 00144AE0 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148CA4 00144AE4 39 80 00 00 */ li r12, 0x0
/* 80148CA8 00144AE8 57 BD 00 85 */ rlwinm. r29, r29, 0, 2, 2
/* 80148CAC 00144AEC 41 82 00 1C */ beq lbl_80148CC8
/* 80148CB0 00144AF0 A3 AA 00 32 */ lhz r29, 0x32(r10)
/* 80148CB4 00144AF4 39 20 00 01 */ li r9, 0x1
/* 80148CB8 00144AF8 B3 AA 00 30 */ sth r29, 0x30(r10)
/* 80148CBC 00144AFC 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148CC0 00144B00 57 BD 00 C2 */ rlwinm r29, r29, 0, 3, 1
/* 80148CC4 00144B04 93 AA 00 04 */ stw r29, 0x4(r10)
.global lbl_80148CC8
lbl_80148CC8:
/* 80148CC8 00144B08 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148CCC 00144B0C 57 BD 00 C7 */ rlwinm. r29, r29, 0, 3, 3
/* 80148CD0 00144B10 41 82 00 4C */ beq lbl_80148D1C
/* 80148CD4 00144B14 81 2A 00 08 */ lwz r9, 0x8(r10)
/* 80148CD8 00144B18 2C 09 FC 78 */ cmpwi r9, -0x388
/* 80148CDC 00144B1C 41 81 00 0C */ bgt lbl_80148CE8
/* 80148CE0 00144B20 39 20 00 00 */ li r9, 0x0
/* 80148CE4 00144B24 48 00 00 20 */ b lbl_80148D04
.global lbl_80148CE8
lbl_80148CE8:
/* 80148CE8 00144B28 2C 09 00 3C */ cmpwi r9, 0x3c
/* 80148CEC 00144B2C 41 80 00 0C */ blt lbl_80148CF8
/* 80148CF0 00144B30 39 25 FF 64 */ addi r9, r5, -0x9c
/* 80148CF4 00144B34 48 00 00 10 */ b lbl_80148D04
.global lbl_80148CF8
lbl_80148CF8:
/* 80148CF8 00144B38 55 29 08 3C */ slwi r9, r9, 1
/* 80148CFC 00144B3C 7D 24 4A 14 */ add r9, r4, r9
/* 80148D00 00144B40 A1 29 07 10 */ lhz r9, 0x710(r9)
.global lbl_80148D04
lbl_80148D04:
/* 80148D04 00144B44 B1 2A 00 32 */ sth r9, 0x32(r10)
/* 80148D08 00144B48 39 20 00 01 */ li r9, 0x1
/* 80148D0C 00144B4C 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148D10 00144B50 57 BD 01 04 */ rlwinm r29, r29, 0, 4, 2
/* 80148D14 00144B54 67 BD 20 00 */ oris r29, r29, 0x2000
/* 80148D18 00144B58 93 AA 00 04 */ stw r29, 0x4(r10)
.global lbl_80148D1C
lbl_80148D1C:
/* 80148D1C 00144B5C 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148D20 00144B60 57 BD 00 01 */ clrrwi. r29, r29, 31
/* 80148D24 00144B64 41 82 00 74 */ beq lbl_80148D98
/* 80148D28 00144B68 A3 AA 00 36 */ lhz r29, 0x36(r10)
/* 80148D2C 00144B6C 39 00 00 01 */ li r8, 0x1
/* 80148D30 00144B70 B3 AA 00 34 */ sth r29, 0x34(r10)
/* 80148D34 00144B74 A3 AA 00 3A */ lhz r29, 0x3a(r10)
/* 80148D38 00144B78 B3 AA 00 38 */ sth r29, 0x38(r10)
/* 80148D3C 00144B7C A3 AA 00 3E */ lhz r29, 0x3e(r10)
/* 80148D40 00144B80 B3 AA 00 3C */ sth r29, 0x3c(r10)
/* 80148D44 00144B84 A3 AA 00 42 */ lhz r29, 0x42(r10)
/* 80148D48 00144B88 B3 AA 00 40 */ sth r29, 0x40(r10)
/* 80148D4C 00144B8C A3 AA 00 46 */ lhz r29, 0x46(r10)
/* 80148D50 00144B90 B3 AA 00 44 */ sth r29, 0x44(r10)
/* 80148D54 00144B94 A3 AA 00 4A */ lhz r29, 0x4a(r10)
/* 80148D58 00144B98 B3 AA 00 48 */ sth r29, 0x48(r10)
/* 80148D5C 00144B9C A3 AA 00 4E */ lhz r29, 0x4e(r10)
/* 80148D60 00144BA0 B3 AA 00 4C */ sth r29, 0x4c(r10)
/* 80148D64 00144BA4 A3 AA 00 52 */ lhz r29, 0x52(r10)
/* 80148D68 00144BA8 B3 AA 00 50 */ sth r29, 0x50(r10)
/* 80148D6C 00144BAC A3 AA 00 56 */ lhz r29, 0x56(r10)
/* 80148D70 00144BB0 B3 AA 00 54 */ sth r29, 0x54(r10)
/* 80148D74 00144BB4 A3 AA 00 5A */ lhz r29, 0x5a(r10)
/* 80148D78 00144BB8 B3 AA 00 58 */ sth r29, 0x58(r10)
/* 80148D7C 00144BBC A3 AA 00 5E */ lhz r29, 0x5e(r10)
/* 80148D80 00144BC0 B3 AA 00 5C */ sth r29, 0x5c(r10)
/* 80148D84 00144BC4 A3 AA 00 62 */ lhz r29, 0x62(r10)
/* 80148D88 00144BC8 B3 AA 00 60 */ sth r29, 0x60(r10)
/* 80148D8C 00144BCC 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148D90 00144BD0 57 BD 00 7E */ clrlwi r29, r29, 1
/* 80148D94 00144BD4 93 AA 00 04 */ stw r29, 0x4(r10)
.global lbl_80148D98
lbl_80148D98:
/* 80148D98 00144BD8 83 AA 00 04 */ lwz r29, 0x4(r10)
/* 80148D9C 00144BDC 57 BD 00 43 */ rlwinm. r29, r29, 0, 1, 1
/* 80148DA0 00144BE0 41 82 05 F4 */ beq lbl_80149394
/* 80148DA4 00144BE4 81 06 00 70 */ lwz r8, 0x70(r6)
/* 80148DA8 00144BE8 2C 08 00 00 */ cmpwi r8, 0x0
/* 80148DAC 00144BEC 41 82 00 18 */ beq lbl_80148DC4
/* 80148DB0 00144BF0 28 08 00 01 */ cmplwi r8, 0x1
/* 80148DB4 00144BF4 41 82 01 B4 */ beq lbl_80148F68
/* 80148DB8 00144BF8 28 08 00 02 */ cmplwi r8, 0x2
/* 80148DBC 00144BFC 41 82 03 70 */ beq lbl_8014912C
/* 80148DC0 00144C00 48 00 05 C0 */ b lbl_80149380
.global lbl_80148DC4
lbl_80148DC4:
/* 80148DC4 00144C04 83 AA 00 14 */ lwz r29, 0x14(r10)
/* 80148DC8 00144C08 81 0A 00 20 */ lwz r8, 0x20(r10)
/* 80148DCC 00144C0C 7D 1D 42 14 */ add r8, r29, r8
/* 80148DD0 00144C10 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148DD4 00144C14 41 81 00 0C */ bgt lbl_80148DE0
/* 80148DD8 00144C18 39 00 00 00 */ li r8, 0x0
/* 80148DDC 00144C1C 48 00 00 20 */ b lbl_80148DFC
.global lbl_80148DE0
lbl_80148DE0:
/* 80148DE0 00144C20 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148DE4 00144C24 41 80 00 0C */ blt lbl_80148DF0
/* 80148DE8 00144C28 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148DEC 00144C2C 48 00 00 10 */ b lbl_80148DFC
.global lbl_80148DF0
lbl_80148DF0:
/* 80148DF0 00144C30 55 08 08 3C */ slwi r8, r8, 1
/* 80148DF4 00144C34 7D 04 42 14 */ add r8, r4, r8
/* 80148DF8 00144C38 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148DFC
lbl_80148DFC:
/* 80148DFC 00144C3C B1 0A 00 36 */ sth r8, 0x36(r10)
/* 80148E00 00144C40 83 AA 00 14 */ lwz r29, 0x14(r10)
/* 80148E04 00144C44 81 0A 00 20 */ lwz r8, 0x20(r10)
/* 80148E08 00144C48 7D 1D 42 14 */ add r8, r29, r8
/* 80148E0C 00144C4C 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148E10 00144C50 41 81 00 0C */ bgt lbl_80148E1C
/* 80148E14 00144C54 39 00 00 00 */ li r8, 0x0
/* 80148E18 00144C58 48 00 00 20 */ b lbl_80148E38
.global lbl_80148E1C
lbl_80148E1C:
/* 80148E1C 00144C5C 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148E20 00144C60 41 80 00 0C */ blt lbl_80148E2C
/* 80148E24 00144C64 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148E28 00144C68 48 00 00 10 */ b lbl_80148E38
.global lbl_80148E2C
lbl_80148E2C:
/* 80148E2C 00144C6C 55 08 08 3C */ slwi r8, r8, 1
/* 80148E30 00144C70 7D 04 42 14 */ add r8, r4, r8
/* 80148E34 00144C74 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148E38
lbl_80148E38:
/* 80148E38 00144C78 B1 0A 00 3A */ sth r8, 0x3a(r10)
/* 80148E3C 00144C7C 83 AA 00 14 */ lwz r29, 0x14(r10)
/* 80148E40 00144C80 81 0A 00 24 */ lwz r8, 0x24(r10)
/* 80148E44 00144C84 7D 1D 42 14 */ add r8, r29, r8
/* 80148E48 00144C88 39 08 FF E2 */ addi r8, r8, -0x1e
/* 80148E4C 00144C8C 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148E50 00144C90 41 81 00 0C */ bgt lbl_80148E5C
/* 80148E54 00144C94 39 00 00 00 */ li r8, 0x0
/* 80148E58 00144C98 48 00 00 20 */ b lbl_80148E78
.global lbl_80148E5C
lbl_80148E5C:
/* 80148E5C 00144C9C 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148E60 00144CA0 41 80 00 0C */ blt lbl_80148E6C
/* 80148E64 00144CA4 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148E68 00144CA8 48 00 00 10 */ b lbl_80148E78
.global lbl_80148E6C
lbl_80148E6C:
/* 80148E6C 00144CAC 55 08 08 3C */ slwi r8, r8, 1
/* 80148E70 00144CB0 7D 04 42 14 */ add r8, r4, r8
/* 80148E74 00144CB4 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148E78
lbl_80148E78:
/* 80148E78 00144CB8 B1 0A 00 3E */ sth r8, 0x3e(r10)
/* 80148E7C 00144CBC 83 CA 00 20 */ lwz r30, 0x20(r10)
/* 80148E80 00144CC0 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80148E84 00144CC4 83 AA 00 0C */ lwz r29, 0xc(r10)
/* 80148E88 00144CC8 7D 1E 42 14 */ add r8, r30, r8
/* 80148E8C 00144CCC 7D 1D 42 14 */ add r8, r29, r8
/* 80148E90 00144CD0 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148E94 00144CD4 41 81 00 0C */ bgt lbl_80148EA0
/* 80148E98 00144CD8 39 00 00 00 */ li r8, 0x0
/* 80148E9C 00144CDC 48 00 00 20 */ b lbl_80148EBC
.global lbl_80148EA0
lbl_80148EA0:
/* 80148EA0 00144CE0 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148EA4 00144CE4 41 80 00 0C */ blt lbl_80148EB0
/* 80148EA8 00144CE8 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148EAC 00144CEC 48 00 00 10 */ b lbl_80148EBC
.global lbl_80148EB0
lbl_80148EB0:
/* 80148EB0 00144CF0 55 08 08 3C */ slwi r8, r8, 1
/* 80148EB4 00144CF4 7D 04 42 14 */ add r8, r4, r8
/* 80148EB8 00144CF8 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148EBC
lbl_80148EBC:
/* 80148EBC 00144CFC B1 0A 00 42 */ sth r8, 0x42(r10)
/* 80148EC0 00144D00 83 CA 00 20 */ lwz r30, 0x20(r10)
/* 80148EC4 00144D04 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80148EC8 00144D08 83 AA 00 0C */ lwz r29, 0xc(r10)
/* 80148ECC 00144D0C 7D 1E 42 14 */ add r8, r30, r8
/* 80148ED0 00144D10 7D 1D 42 14 */ add r8, r29, r8
/* 80148ED4 00144D14 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148ED8 00144D18 41 81 00 0C */ bgt lbl_80148EE4
/* 80148EDC 00144D1C 39 00 00 00 */ li r8, 0x0
/* 80148EE0 00144D20 48 00 00 20 */ b lbl_80148F00
.global lbl_80148EE4
lbl_80148EE4:
/* 80148EE4 00144D24 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148EE8 00144D28 41 80 00 0C */ blt lbl_80148EF4
/* 80148EEC 00144D2C 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148EF0 00144D30 48 00 00 10 */ b lbl_80148F00
.global lbl_80148EF4
lbl_80148EF4:
/* 80148EF4 00144D34 55 08 08 3C */ slwi r8, r8, 1
/* 80148EF8 00144D38 7D 04 42 14 */ add r8, r4, r8
/* 80148EFC 00144D3C A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148F00
lbl_80148F00:
/* 80148F00 00144D40 B1 0A 00 46 */ sth r8, 0x46(r10)
/* 80148F04 00144D44 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 80148F08 00144D48 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 80148F0C 00144D4C 83 AA 00 24 */ lwz r29, 0x24(r10)
/* 80148F10 00144D50 7D 1E 42 14 */ add r8, r30, r8
/* 80148F14 00144D54 7D 08 EA 14 */ add r8, r8, r29
/* 80148F18 00144D58 39 08 FF E2 */ addi r8, r8, -0x1e
/* 80148F1C 00144D5C 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148F20 00144D60 41 81 00 0C */ bgt lbl_80148F2C
/* 80148F24 00144D64 39 00 00 00 */ li r8, 0x0
/* 80148F28 00144D68 48 00 00 20 */ b lbl_80148F48
.global lbl_80148F2C
lbl_80148F2C:
/* 80148F2C 00144D6C 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148F30 00144D70 41 80 00 0C */ blt lbl_80148F3C
/* 80148F34 00144D74 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148F38 00144D78 48 00 00 10 */ b lbl_80148F48
.global lbl_80148F3C
lbl_80148F3C:
/* 80148F3C 00144D7C 55 08 08 3C */ slwi r8, r8, 1
/* 80148F40 00144D80 7D 04 42 14 */ add r8, r4, r8
/* 80148F44 00144D84 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148F48
lbl_80148F48:
/* 80148F48 00144D88 B1 0A 00 4A */ sth r8, 0x4a(r10)
/* 80148F4C 00144D8C B0 0A 00 4E */ sth r0, 0x4e(r10)
/* 80148F50 00144D90 B0 0A 00 52 */ sth r0, 0x52(r10)
/* 80148F54 00144D94 B0 0A 00 56 */ sth r0, 0x56(r10)
/* 80148F58 00144D98 B0 0A 00 5A */ sth r0, 0x5a(r10)
/* 80148F5C 00144D9C B0 0A 00 5E */ sth r0, 0x5e(r10)
/* 80148F60 00144DA0 B0 0A 00 62 */ sth r0, 0x62(r10)
/* 80148F64 00144DA4 48 00 04 1C */ b lbl_80149380
.global lbl_80148F68
lbl_80148F68:
/* 80148F68 00144DA8 83 CA 00 20 */ lwz r30, 0x20(r10)
/* 80148F6C 00144DAC 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80148F70 00144DB0 83 AA 00 18 */ lwz r29, 0x18(r10)
/* 80148F74 00144DB4 7D 1E 42 14 */ add r8, r30, r8
/* 80148F78 00144DB8 7D 1D 42 14 */ add r8, r29, r8
/* 80148F7C 00144DBC 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148F80 00144DC0 41 81 00 0C */ bgt lbl_80148F8C
/* 80148F84 00144DC4 39 00 00 00 */ li r8, 0x0
/* 80148F88 00144DC8 48 00 00 20 */ b lbl_80148FA8
.global lbl_80148F8C
lbl_80148F8C:
/* 80148F8C 00144DCC 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148F90 00144DD0 41 80 00 0C */ blt lbl_80148F9C
/* 80148F94 00144DD4 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148F98 00144DD8 48 00 00 10 */ b lbl_80148FA8
.global lbl_80148F9C
lbl_80148F9C:
/* 80148F9C 00144DDC 55 08 08 3C */ slwi r8, r8, 1
/* 80148FA0 00144DE0 7D 04 42 14 */ add r8, r4, r8
/* 80148FA4 00144DE4 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148FA8
lbl_80148FA8:
/* 80148FA8 00144DE8 B1 0A 00 36 */ sth r8, 0x36(r10)
/* 80148FAC 00144DEC 83 CA 00 20 */ lwz r30, 0x20(r10)
/* 80148FB0 00144DF0 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80148FB4 00144DF4 83 AA 00 1C */ lwz r29, 0x1c(r10)
/* 80148FB8 00144DF8 7D 1E 42 14 */ add r8, r30, r8
/* 80148FBC 00144DFC 7D 1D 42 14 */ add r8, r29, r8
/* 80148FC0 00144E00 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80148FC4 00144E04 41 81 00 0C */ bgt lbl_80148FD0
/* 80148FC8 00144E08 39 00 00 00 */ li r8, 0x0
/* 80148FCC 00144E0C 48 00 00 20 */ b lbl_80148FEC
.global lbl_80148FD0
lbl_80148FD0:
/* 80148FD0 00144E10 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80148FD4 00144E14 41 80 00 0C */ blt lbl_80148FE0
/* 80148FD8 00144E18 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80148FDC 00144E1C 48 00 00 10 */ b lbl_80148FEC
.global lbl_80148FE0
lbl_80148FE0:
/* 80148FE0 00144E20 55 08 08 3C */ slwi r8, r8, 1
/* 80148FE4 00144E24 7D 04 42 14 */ add r8, r4, r8
/* 80148FE8 00144E28 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80148FEC
lbl_80148FEC:
/* 80148FEC 00144E2C B1 0A 00 3A */ sth r8, 0x3a(r10)
/* 80148FF0 00144E30 83 AA 00 14 */ lwz r29, 0x14(r10)
/* 80148FF4 00144E34 81 0A 00 24 */ lwz r8, 0x24(r10)
/* 80148FF8 00144E38 7D 1D 42 14 */ add r8, r29, r8
/* 80148FFC 00144E3C 39 08 FF E2 */ addi r8, r8, -0x1e
/* 80149000 00144E40 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80149004 00144E44 41 81 00 0C */ bgt lbl_80149010
/* 80149008 00144E48 39 00 00 00 */ li r8, 0x0
/* 8014900C 00144E4C 48 00 00 20 */ b lbl_8014902C
.global lbl_80149010
lbl_80149010:
/* 80149010 00144E50 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149014 00144E54 41 80 00 0C */ blt lbl_80149020
/* 80149018 00144E58 39 05 FF 64 */ addi r8, r5, -0x9c
/* 8014901C 00144E5C 48 00 00 10 */ b lbl_8014902C
.global lbl_80149020
lbl_80149020:
/* 80149020 00144E60 55 08 08 3C */ slwi r8, r8, 1
/* 80149024 00144E64 7D 04 42 14 */ add r8, r4, r8
/* 80149028 00144E68 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_8014902C
lbl_8014902C:
/* 8014902C 00144E6C B1 0A 00 3E */ sth r8, 0x3e(r10)
/* 80149030 00144E70 83 EA 00 20 */ lwz r31, 0x20(r10)
/* 80149034 00144E74 83 AA 00 18 */ lwz r29, 0x18(r10)
/* 80149038 00144E78 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 8014903C 00144E7C 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 80149040 00144E80 7F BF EA 14 */ add r29, r31, r29
/* 80149044 00144E84 7D 1E 42 14 */ add r8, r30, r8
/* 80149048 00144E88 7D 1D 42 14 */ add r8, r29, r8
/* 8014904C 00144E8C 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80149050 00144E90 41 81 00 0C */ bgt lbl_8014905C
/* 80149054 00144E94 39 00 00 00 */ li r8, 0x0
/* 80149058 00144E98 48 00 00 20 */ b lbl_80149078
.global lbl_8014905C
lbl_8014905C:
/* 8014905C 00144E9C 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149060 00144EA0 41 80 00 0C */ blt lbl_8014906C
/* 80149064 00144EA4 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80149068 00144EA8 48 00 00 10 */ b lbl_80149078
.global lbl_8014906C
lbl_8014906C:
/* 8014906C 00144EAC 55 08 08 3C */ slwi r8, r8, 1
/* 80149070 00144EB0 7D 04 42 14 */ add r8, r4, r8
/* 80149074 00144EB4 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80149078
lbl_80149078:
/* 80149078 00144EB8 B1 0A 00 42 */ sth r8, 0x42(r10)
/* 8014907C 00144EBC 83 EA 00 20 */ lwz r31, 0x20(r10)
/* 80149080 00144EC0 83 AA 00 1C */ lwz r29, 0x1c(r10)
/* 80149084 00144EC4 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 80149088 00144EC8 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 8014908C 00144ECC 7F BF EA 14 */ add r29, r31, r29
/* 80149090 00144ED0 7D 1E 42 14 */ add r8, r30, r8
/* 80149094 00144ED4 7D 1D 42 14 */ add r8, r29, r8
/* 80149098 00144ED8 2C 08 FC 78 */ cmpwi r8, -0x388
/* 8014909C 00144EDC 41 81 00 0C */ bgt lbl_801490A8
/* 801490A0 00144EE0 39 00 00 00 */ li r8, 0x0
/* 801490A4 00144EE4 48 00 00 20 */ b lbl_801490C4
.global lbl_801490A8
lbl_801490A8:
/* 801490A8 00144EE8 2C 08 00 3C */ cmpwi r8, 0x3c
/* 801490AC 00144EEC 41 80 00 0C */ blt lbl_801490B8
/* 801490B0 00144EF0 39 05 FF 64 */ addi r8, r5, -0x9c
/* 801490B4 00144EF4 48 00 00 10 */ b lbl_801490C4
.global lbl_801490B8
lbl_801490B8:
/* 801490B8 00144EF8 55 08 08 3C */ slwi r8, r8, 1
/* 801490BC 00144EFC 7D 04 42 14 */ add r8, r4, r8
/* 801490C0 00144F00 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_801490C4
lbl_801490C4:
/* 801490C4 00144F04 B1 0A 00 46 */ sth r8, 0x46(r10)
/* 801490C8 00144F08 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 801490CC 00144F0C 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 801490D0 00144F10 83 AA 00 24 */ lwz r29, 0x24(r10)
/* 801490D4 00144F14 7D 1E 42 14 */ add r8, r30, r8
/* 801490D8 00144F18 7D 08 EA 14 */ add r8, r8, r29
/* 801490DC 00144F1C 39 08 FF E2 */ addi r8, r8, -0x1e
/* 801490E0 00144F20 2C 08 FC 78 */ cmpwi r8, -0x388
/* 801490E4 00144F24 41 81 00 0C */ bgt lbl_801490F0
/* 801490E8 00144F28 39 00 00 00 */ li r8, 0x0
/* 801490EC 00144F2C 48 00 00 20 */ b lbl_8014910C
.global lbl_801490F0
lbl_801490F0:
/* 801490F0 00144F30 2C 08 00 3C */ cmpwi r8, 0x3c
/* 801490F4 00144F34 41 80 00 0C */ blt lbl_80149100
/* 801490F8 00144F38 39 05 FF 64 */ addi r8, r5, -0x9c
/* 801490FC 00144F3C 48 00 00 10 */ b lbl_8014910C
.global lbl_80149100
lbl_80149100:
/* 80149100 00144F40 55 08 08 3C */ slwi r8, r8, 1
/* 80149104 00144F44 7D 04 42 14 */ add r8, r4, r8
/* 80149108 00144F48 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_8014910C
lbl_8014910C:
/* 8014910C 00144F4C B1 0A 00 4A */ sth r8, 0x4a(r10)
/* 80149110 00144F50 B0 0A 00 4E */ sth r0, 0x4e(r10)
/* 80149114 00144F54 B0 0A 00 52 */ sth r0, 0x52(r10)
/* 80149118 00144F58 B0 0A 00 56 */ sth r0, 0x56(r10)
/* 8014911C 00144F5C B0 0A 00 5A */ sth r0, 0x5a(r10)
/* 80149120 00144F60 B0 0A 00 5E */ sth r0, 0x5e(r10)
/* 80149124 00144F64 B0 0A 00 62 */ sth r0, 0x62(r10)
/* 80149128 00144F68 48 00 02 58 */ b lbl_80149380
.global lbl_8014912C
lbl_8014912C:
/* 8014912C 00144F6C 83 CA 00 20 */ lwz r30, 0x20(r10)
/* 80149130 00144F70 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80149134 00144F74 83 AA 00 18 */ lwz r29, 0x18(r10)
/* 80149138 00144F78 7D 1E 42 14 */ add r8, r30, r8
/* 8014913C 00144F7C 7D 1D 42 14 */ add r8, r29, r8
/* 80149140 00144F80 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80149144 00144F84 41 81 00 0C */ bgt lbl_80149150
/* 80149148 00144F88 39 00 00 00 */ li r8, 0x0
/* 8014914C 00144F8C 48 00 00 20 */ b lbl_8014916C
.global lbl_80149150
lbl_80149150:
/* 80149150 00144F90 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149154 00144F94 41 80 00 0C */ blt lbl_80149160
/* 80149158 00144F98 39 05 FF 64 */ addi r8, r5, -0x9c
/* 8014915C 00144F9C 48 00 00 10 */ b lbl_8014916C
.global lbl_80149160
lbl_80149160:
/* 80149160 00144FA0 55 08 08 3C */ slwi r8, r8, 1
/* 80149164 00144FA4 7D 04 42 14 */ add r8, r4, r8
/* 80149168 00144FA8 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_8014916C
lbl_8014916C:
/* 8014916C 00144FAC B1 0A 00 36 */ sth r8, 0x36(r10)
/* 80149170 00144FB0 83 CA 00 20 */ lwz r30, 0x20(r10)
/* 80149174 00144FB4 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80149178 00144FB8 83 AA 00 1C */ lwz r29, 0x1c(r10)
/* 8014917C 00144FBC 7D 1E 42 14 */ add r8, r30, r8
/* 80149180 00144FC0 7D 1D 42 14 */ add r8, r29, r8
/* 80149184 00144FC4 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80149188 00144FC8 41 81 00 0C */ bgt lbl_80149194
/* 8014918C 00144FCC 39 00 00 00 */ li r8, 0x0
/* 80149190 00144FD0 48 00 00 20 */ b lbl_801491B0
.global lbl_80149194
lbl_80149194:
/* 80149194 00144FD4 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149198 00144FD8 41 80 00 0C */ blt lbl_801491A4
/* 8014919C 00144FDC 39 05 FF 64 */ addi r8, r5, -0x9c
/* 801491A0 00144FE0 48 00 00 10 */ b lbl_801491B0
.global lbl_801491A4
lbl_801491A4:
/* 801491A4 00144FE4 55 08 08 3C */ slwi r8, r8, 1
/* 801491A8 00144FE8 7D 04 42 14 */ add r8, r4, r8
/* 801491AC 00144FEC A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_801491B0
lbl_801491B0:
/* 801491B0 00144FF0 B1 0A 00 3A */ sth r8, 0x3a(r10)
/* 801491B4 00144FF4 83 CA 00 24 */ lwz r30, 0x24(r10)
/* 801491B8 00144FF8 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 801491BC 00144FFC 83 AA 00 28 */ lwz r29, 0x28(r10)
/* 801491C0 00145000 7D 1E 42 14 */ add r8, r30, r8
/* 801491C4 00145004 7D 1D 42 14 */ add r8, r29, r8
/* 801491C8 00145008 2C 08 FC 78 */ cmpwi r8, -0x388
/* 801491CC 0014500C 41 81 00 0C */ bgt lbl_801491D8
/* 801491D0 00145010 39 00 00 00 */ li r8, 0x0
/* 801491D4 00145014 48 00 00 20 */ b lbl_801491F4
.global lbl_801491D8
lbl_801491D8:
/* 801491D8 00145018 2C 08 00 3C */ cmpwi r8, 0x3c
/* 801491DC 0014501C 41 80 00 0C */ blt lbl_801491E8
/* 801491E0 00145020 39 05 FF 64 */ addi r8, r5, -0x9c
/* 801491E4 00145024 48 00 00 10 */ b lbl_801491F4
.global lbl_801491E8
lbl_801491E8:
/* 801491E8 00145028 55 08 08 3C */ slwi r8, r8, 1
/* 801491EC 0014502C 7D 04 42 14 */ add r8, r4, r8
/* 801491F0 00145030 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_801491F4
lbl_801491F4:
/* 801491F4 00145034 B1 0A 00 3E */ sth r8, 0x3e(r10)
/* 801491F8 00145038 83 CA 00 24 */ lwz r30, 0x24(r10)
/* 801491FC 0014503C 81 0A 00 14 */ lwz r8, 0x14(r10)
/* 80149200 00145040 83 AA 00 2C */ lwz r29, 0x2c(r10)
/* 80149204 00145044 7D 1E 42 14 */ add r8, r30, r8
/* 80149208 00145048 7D 1D 42 14 */ add r8, r29, r8
/* 8014920C 0014504C 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80149210 00145050 41 81 00 0C */ bgt lbl_8014921C
/* 80149214 00145054 39 00 00 00 */ li r8, 0x0
/* 80149218 00145058 48 00 00 20 */ b lbl_80149238
.global lbl_8014921C
lbl_8014921C:
/* 8014921C 0014505C 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149220 00145060 41 80 00 0C */ blt lbl_8014922C
/* 80149224 00145064 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80149228 00145068 48 00 00 10 */ b lbl_80149238
.global lbl_8014922C
lbl_8014922C:
/* 8014922C 0014506C 55 08 08 3C */ slwi r8, r8, 1
/* 80149230 00145070 7D 04 42 14 */ add r8, r4, r8
/* 80149234 00145074 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80149238
lbl_80149238:
/* 80149238 00145078 B1 0A 00 5A */ sth r8, 0x5a(r10)
/* 8014923C 0014507C 83 EA 00 20 */ lwz r31, 0x20(r10)
/* 80149240 00145080 83 AA 00 18 */ lwz r29, 0x18(r10)
/* 80149244 00145084 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 80149248 00145088 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 8014924C 0014508C 7F BF EA 14 */ add r29, r31, r29
/* 80149250 00145090 7D 1E 42 14 */ add r8, r30, r8
/* 80149254 00145094 7D 1D 42 14 */ add r8, r29, r8
/* 80149258 00145098 2C 08 FC 78 */ cmpwi r8, -0x388
/* 8014925C 0014509C 41 81 00 0C */ bgt lbl_80149268
/* 80149260 001450A0 39 00 00 00 */ li r8, 0x0
/* 80149264 001450A4 48 00 00 20 */ b lbl_80149284
.global lbl_80149268
lbl_80149268:
/* 80149268 001450A8 2C 08 00 3C */ cmpwi r8, 0x3c
/* 8014926C 001450AC 41 80 00 0C */ blt lbl_80149278
/* 80149270 001450B0 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80149274 001450B4 48 00 00 10 */ b lbl_80149284
.global lbl_80149278
lbl_80149278:
/* 80149278 001450B8 55 08 08 3C */ slwi r8, r8, 1
/* 8014927C 001450BC 7D 04 42 14 */ add r8, r4, r8
/* 80149280 001450C0 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80149284
lbl_80149284:
/* 80149284 001450C4 B1 0A 00 42 */ sth r8, 0x42(r10)
/* 80149288 001450C8 83 EA 00 20 */ lwz r31, 0x20(r10)
/* 8014928C 001450CC 83 AA 00 1C */ lwz r29, 0x1c(r10)
/* 80149290 001450D0 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 80149294 001450D4 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 80149298 001450D8 7F BF EA 14 */ add r29, r31, r29
/* 8014929C 001450DC 7D 1E 42 14 */ add r8, r30, r8
/* 801492A0 001450E0 7D 1D 42 14 */ add r8, r29, r8
/* 801492A4 001450E4 2C 08 FC 78 */ cmpwi r8, -0x388
/* 801492A8 001450E8 41 81 00 0C */ bgt lbl_801492B4
/* 801492AC 001450EC 39 00 00 00 */ li r8, 0x0
/* 801492B0 001450F0 48 00 00 20 */ b lbl_801492D0
.global lbl_801492B4
lbl_801492B4:
/* 801492B4 001450F4 2C 08 00 3C */ cmpwi r8, 0x3c
/* 801492B8 001450F8 41 80 00 0C */ blt lbl_801492C4
/* 801492BC 001450FC 39 05 FF 64 */ addi r8, r5, -0x9c
/* 801492C0 00145100 48 00 00 10 */ b lbl_801492D0
.global lbl_801492C4
lbl_801492C4:
/* 801492C4 00145104 55 08 08 3C */ slwi r8, r8, 1
/* 801492C8 00145108 7D 04 42 14 */ add r8, r4, r8
/* 801492CC 0014510C A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_801492D0
lbl_801492D0:
/* 801492D0 00145110 B1 0A 00 46 */ sth r8, 0x46(r10)
/* 801492D4 00145114 83 EA 00 24 */ lwz r31, 0x24(r10)
/* 801492D8 00145118 83 AA 00 28 */ lwz r29, 0x28(r10)
/* 801492DC 0014511C 83 CA 00 14 */ lwz r30, 0x14(r10)
/* 801492E0 00145120 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 801492E4 00145124 7F BF EA 14 */ add r29, r31, r29
/* 801492E8 00145128 7D 1E 42 14 */ add r8, r30, r8
/* 801492EC 0014512C 7D 1D 42 14 */ add r8, r29, r8
/* 801492F0 00145130 2C 08 FC 78 */ cmpwi r8, -0x388
/* 801492F4 00145134 41 81 00 0C */ bgt lbl_80149300
/* 801492F8 00145138 39 00 00 00 */ li r8, 0x0
/* 801492FC 0014513C 48 00 00 20 */ b lbl_8014931C
.global lbl_80149300
lbl_80149300:
/* 80149300 00145140 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149304 00145144 41 80 00 0C */ blt lbl_80149310
/* 80149308 00145148 39 05 FF 64 */ addi r8, r5, -0x9c
/* 8014930C 0014514C 48 00 00 10 */ b lbl_8014931C
.global lbl_80149310
lbl_80149310:
/* 80149310 00145150 55 08 08 3C */ slwi r8, r8, 1
/* 80149314 00145154 7D 04 42 14 */ add r8, r4, r8
/* 80149318 00145158 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_8014931C
lbl_8014931C:
/* 8014931C 0014515C B1 0A 00 4A */ sth r8, 0x4a(r10)
/* 80149320 00145160 83 AA 00 24 */ lwz r29, 0x24(r10)
/* 80149324 00145164 83 CA 00 2C */ lwz r30, 0x2c(r10)
/* 80149328 00145168 83 EA 00 14 */ lwz r31, 0x14(r10)
/* 8014932C 0014516C 81 0A 00 0C */ lwz r8, 0xc(r10)
/* 80149330 00145170 7F DD F2 14 */ add r30, r29, r30
/* 80149334 00145174 7D 1F 42 14 */ add r8, r31, r8
/* 80149338 00145178 7D 1E 42 14 */ add r8, r30, r8
/* 8014933C 0014517C 2C 08 FC 78 */ cmpwi r8, -0x388
/* 80149340 00145180 41 81 00 0C */ bgt lbl_8014934C
/* 80149344 00145184 39 00 00 00 */ li r8, 0x0
/* 80149348 00145188 48 00 00 20 */ b lbl_80149368
.global lbl_8014934C
lbl_8014934C:
/* 8014934C 0014518C 2C 08 00 3C */ cmpwi r8, 0x3c
/* 80149350 00145190 41 80 00 0C */ blt lbl_8014935C
/* 80149354 00145194 39 05 FF 64 */ addi r8, r5, -0x9c
/* 80149358 00145198 48 00 00 10 */ b lbl_80149368
.global lbl_8014935C
lbl_8014935C:
/* 8014935C 0014519C 55 08 08 3C */ slwi r8, r8, 1
/* 80149360 001451A0 7D 04 42 14 */ add r8, r4, r8
/* 80149364 001451A4 A1 08 07 10 */ lhz r8, 0x710(r8)
.global lbl_80149368
lbl_80149368:
/* 80149368 001451A8 B1 0A 00 5E */ sth r8, 0x5e(r10)
/* 8014936C 001451AC 65 8C 80 00 */ oris r12, r12, 0x8000
/* 80149370 001451B0 B0 0A 00 4E */ sth r0, 0x4e(r10)
/* 80149374 001451B4 B0 0A 00 52 */ sth r0, 0x52(r10)
/* 80149378 001451B8 B0 0A 00 56 */ sth r0, 0x56(r10)
/* 8014937C 001451BC B0 0A 00 62 */ sth r0, 0x62(r10)
.global lbl_80149380
lbl_80149380:
/* 80149380 001451C0 83 CA 00 04 */ lwz r30, 0x4(r10)
/* 80149384 001451C4 39 00 00 01 */ li r8, 0x1
/* 80149388 001451C8 57 DE 00 80 */ rlwinm r30, r30, 0, 2, 0
/* 8014938C 001451CC 67 DE 80 00 */ oris r30, r30, 0x8000
/* 80149390 001451D0 93 CA 00 04 */ stw r30, 0x4(r10)
.global lbl_80149394
lbl_80149394:
/* 80149394 001451D4 2C 09 00 00 */ cmpwi r9, 0x0
/* 80149398 001451D8 41 82 00 3C */ beq lbl_801493D4
/* 8014939C 001451DC A1 2A 00 30 */ lhz r9, 0x30(r10)
/* 801493A0 001451E0 3B C3 AA AB */ addi r30, r3, -0x5555
/* 801493A4 001451E4 B1 2B 00 92 */ sth r9, 0x92(r11)
/* 801493A8 001451E8 A3 EA 00 30 */ lhz r31, 0x30(r10)
/* 801493AC 001451EC A1 2A 00 32 */ lhz r9, 0x32(r10)
/* 801493B0 001451F0 7D 3F 48 50 */ subf r9, r31, r9
/* 801493B4 001451F4 7D 3E 48 96 */ mulhw r9, r30, r9
/* 801493B8 001451F8 7D 29 26 70 */ srawi r9, r9, 4
/* 801493BC 001451FC 55 3F 0F FE */ srwi r31, r9, 31
/* 801493C0 00145200 7D 29 FA 14 */ add r9, r9, r31
/* 801493C4 00145204 B1 2B 00 94 */ sth r9, 0x94(r11)
/* 801493C8 00145208 81 2B 00 1C */ lwz r9, 0x1c(r11)
/* 801493CC 0014520C 61 29 01 00 */ ori r9, r9, 0x100
/* 801493D0 00145210 91 2B 00 1C */ stw r9, 0x1c(r11)
.global lbl_801493D4
lbl_801493D4:
/* 801493D4 00145214 2C 08 00 00 */ cmpwi r8, 0x0
/* 801493D8 00145218 41 82 03 44 */ beq lbl_8014971C
/* 801493DC 0014521C A1 0A 00 34 */ lhz r8, 0x34(r10)
/* 801493E0 00145220 B1 0B 00 3C */ sth r8, 0x3c(r11)
/* 801493E4 00145224 2C 08 00 00 */ cmpwi r8, 0x0
/* 801493E8 00145228 41 82 00 08 */ beq lbl_801493F0
/* 801493EC 0014522C 61 8C 00 01 */ ori r12, r12, 0x1
.global lbl_801493F0
lbl_801493F0:
/* 801493F0 00145230 A1 2A 00 34 */ lhz r9, 0x34(r10)
/* 801493F4 00145234 3B E3 AA AB */ addi r31, r3, -0x5555
/* 801493F8 00145238 A1 0A 00 36 */ lhz r8, 0x36(r10)
/* 801493FC 0014523C 7D 09 40 50 */ subf r8, r9, r8
/* 80149400 00145240 7D 1F 40 96 */ mulhw r8, r31, r8
/* 80149404 00145244 7D 08 26 70 */ srawi r8, r8, 4
/* 80149408 00145248 55 09 0F FE */ srwi r9, r8, 31
/* 8014940C 0014524C 7D 08 4A 14 */ add r8, r8, r9
/* 80149410 00145250 B1 0B 00 3E */ sth r8, 0x3e(r11)
/* 80149414 00145254 55 08 04 3F */ clrlwi. r8, r8, 16
/* 80149418 00145258 41 82 00 08 */ beq lbl_80149420
/* 8014941C 0014525C 61 8C 00 04 */ ori r12, r12, 0x4
.global lbl_80149420
lbl_80149420:
/* 80149420 00145260 A1 0A 00 38 */ lhz r8, 0x38(r10)
/* 80149424 00145264 B1 0B 00 40 */ sth r8, 0x40(r11)
/* 80149428 00145268 2C 08 00 00 */ cmpwi r8, 0x0
/* 8014942C 0014526C 41 82 00 08 */ beq lbl_80149434
/* 80149430 00145270 61 8C 00 02 */ ori r12, r12, 0x2
.global lbl_80149434
lbl_80149434:
/* 80149434 00145274 A1 2A 00 38 */ lhz r9, 0x38(r10)
/* 80149438 00145278 3B E3 AA AB */ addi r31, r3, -0x5555
/* 8014943C 0014527C A1 0A 00 3A */ lhz r8, 0x3a(r10)
/* 80149440 00145280 7D 09 40 50 */ subf r8, r9, r8
/* 80149444 00145284 7D 1F 40 96 */ mulhw r8, r31, r8
/* 80149448 00145288 7D 08 26 70 */ srawi r8, r8, 4
/* 8014944C 0014528C 55 09 0F FE */ srwi r9, r8, 31
/* 80149450 00145290 7D 08 4A 14 */ add r8, r8, r9
/* 80149454 00145294 B1 0B 00 42 */ sth r8, 0x42(r11)
/* 80149458 00145298 55 08 04 3F */ clrlwi. r8, r8, 16
/* 8014945C 0014529C 41 82 00 08 */ beq lbl_80149464
/* 80149460 001452A0 61 8C 00 04 */ ori r12, r12, 0x4
.global lbl_80149464
lbl_80149464:
/* 80149464 001452A4 A1 0A 00 40 */ lhz r8, 0x40(r10)
/* 80149468 001452A8 B1 0B 00 44 */ sth r8, 0x44(r11)
/* 8014946C 001452AC 2C 08 00 00 */ cmpwi r8, 0x0
/* 80149470 001452B0 41 82 00 08 */ beq lbl_80149478
/* 80149474 001452B4 65 8C 00 01 */ oris r12, r12, 0x1
.global lbl_80149478
lbl_80149478:
/* 80149478 001452B8 A1 2A 00 40 */ lhz r9, 0x40(r10)
/* 8014947C 001452BC 3B E3 AA AB */ addi r31, r3, -0x5555
/* 80149480 001452C0 A1 0A 00 42 */ lhz r8, 0x42(r10)
/* 80149484 001452C4 7D 09 40 50 */ subf r8, r9, r8
/* 80149488 001452C8 7D 1F 40 96 */ mulhw r8, r31, r8
/* 8014948C 001452CC 7D 08 26 70 */ srawi r8, r8, 4
/* 80149490 001452D0 55 09 0F FE */ srwi r9, r8, 31
/* 80149494 001452D4 7D 08 4A 14 */ add r8, r8, r9
/* 80149498 001452D8 B1 0B 00 46 */ sth r8, 0x46(r11)
/* 8014949C 001452DC 55 08 04 3F */ clrlwi. r8, r8, 16
/* 801494A0 001452E0 41 82 00 08 */ beq lbl_801494A8
/* 801494A4 001452E4 65 8C 00 04 */ oris r12, r12, 0x4
.global lbl_801494A8
lbl_801494A8:
/* 801494A8 001452E8 A1 0A 00 44 */ lhz r8, 0x44(r10)
/* 801494AC 001452EC B1 0B 00 48 */ sth r8, 0x48(r11)
/* 801494B0 001452F0 2C 08 00 00 */ cmpwi r8, 0x0
/* 801494B4 001452F4 41 82 00 08 */ beq lbl_801494BC
/* 801494B8 001452F8 65 8C 00 02 */ oris r12, r12, 0x2
.global lbl_801494BC
lbl_801494BC:
/* 801494BC 001452FC A1 2A 00 44 */ lhz r9, 0x44(r10)
/* 801494C0 00145300 3B E3 AA AB */ addi r31, r3, -0x5555
/* 801494C4 00145304 A1 0A 00 46 */ lhz r8, 0x46(r10)
/* 801494C8 00145308 7D 09 40 50 */ subf r8, r9, r8
/* 801494CC 0014530C 7D 1F 40 96 */ mulhw r8, r31, r8
/* 801494D0 00145310 7D 08 26 70 */ srawi r8, r8, 4
/* 801494D4 00145314 55 09 0F FE */ srwi r9, r8, 31
/* 801494D8 00145318 7D 08 4A 14 */ add r8, r8, r9
/* 801494DC 0014531C B1 0B 00 4A */ sth r8, 0x4a(r11)
/* 801494E0 00145320 55 08 04 3F */ clrlwi. r8, r8, 16
/* 801494E4 00145324 41 82 00 08 */ beq lbl_801494EC
/* 801494E8 00145328 65 8C 00 04 */ oris r12, r12, 0x4
.global lbl_801494EC
lbl_801494EC:
/* 801494EC 0014532C A1 0A 00 4C */ lhz r8, 0x4c(r10)
/* 801494F0 00145330 B1 0B 00 4C */ sth r8, 0x4c(r11)
/* 801494F4 00145334 2C 08 00 00 */ cmpwi r8, 0x0
/* 801494F8 00145338 41 82 00 08 */ beq lbl_80149500
/* 801494FC 0014533C 65 8C 00 20 */ oris r12, r12, 0x20
.global lbl_80149500
lbl_80149500:
/* 80149500 00145340 A1 2A 00 4C */ lhz r9, 0x4c(r10)
/* 80149504 00145344 3B E3 AA AB */ addi r31, r3, -0x5555
/* 80149508 00145348 A1 0A 00 4E */ lhz r8, 0x4e(r10)
/* 8014950C 0014534C 7D 09 40 50 */ subf r8, r9, r8
/* 80149510 00145350 7D 1F 40 96 */ mulhw r8, r31, r8
/* 80149514 00145354 7D 08 26 70 */ srawi r8, r8, 4
/* 80149518 00145358 55 09 0F FE */ srwi r9, r8, 31
/* 8014951C 0014535C 7D 08 4A 14 */ add r8, r8, r9
/* 80149520 00145360 B1 0B 00 4E */ sth r8, 0x4e(r11)
/* 80149524 00145364 55 08 04 3F */ clrlwi. r8, r8, 16
/* 80149528 00145368 41 82 00 08 */ beq lbl_80149530
/* 8014952C 0014536C 65 8C 00 80 */ oris r12, r12, 0x80
.global lbl_80149530
lbl_80149530:
/* 80149530 00145370 A1 0A 00 50 */ lhz r8, 0x50(r10)
/* 80149534 00145374 B1 0B 00 50 */ sth r8, 0x50(r11)
/* 80149538 00145378 2C 08 00 00 */ cmpwi r8, 0x0
/* 8014953C 0014537C 41 82 00 08 */ beq lbl_80149544
/* 80149540 00145380 65 8C 00 40 */ oris r12, r12, 0x40
.global lbl_80149544
lbl_80149544:
/* 80149544 00145384 A1 2A 00 50 */ lhz r9, 0x50(r10)
/* 80149548 00145388 3B E3 AA AB */ addi r31, r3, -0x5555
/* 8014954C 0014538C A1 0A 00 52 */ lhz r8, 0x52(r10)
/* 80149550 00145390 7D 09 40 50 */ subf r8, r9, r8
/* 80149554 00145394 7D 1F 40 96 */ mulhw r8, r31, r8
/* 80149558 00145398 7D 08 26 70 */ srawi r8, r8, 4
/* 8014955C 0014539C 55 09 0F FE */ srwi r9, r8, 31
/* 80149560 001453A0 7D 08 4A 14 */ add r8, r8, r9
/* 80149564 001453A4 B1 0B 00 52 */ sth r8, 0x52(r11)
/* 80149568 001453A8 55 08 04 3F */ clrlwi. r8, r8, 16
/* 8014956C 001453AC 41 82 00 08 */ beq lbl_80149574
/* 80149570 001453B0 65 8C 00 80 */ oris r12, r12, 0x80
.global lbl_80149574
lbl_80149574:
/* 80149574 001453B4 A1 0A 00 58 */ lhz r8, 0x58(r10)
/* 80149578 001453B8 B1 0B 00 54 */ sth r8, 0x54(r11)
/* 8014957C 001453BC 2C 08 00 00 */ cmpwi r8, 0x0
/* 80149580 001453C0 41 82 00 08 */ beq lbl_80149588
/* 80149584 001453C4 65 8C 04 00 */ oris r12, r12, 0x400
.global lbl_80149588
lbl_80149588:
/* 80149588 001453C8 A1 2A 00 58 */ lhz r9, 0x58(r10)
/* 8014958C 001453CC 3B E3 AA AB */ addi r31, r3, -0x5555
/* 80149590 001453D0 A1 0A 00 5A */ lhz r8, 0x5a(r10)
/* 80149594 001453D4 7D 09 40 50 */ subf r8, r9, r8
/* 80149598 001453D8 7D 1F 40 96 */ mulhw r8, r31, r8
/* 8014959C 001453DC 7D 08 26 70 */ srawi r8, r8, 4
/* 801495A0 001453E0 55 09 0F FE */ srwi r9, r8, 31
/* 801495A4 001453E4 7D 08 4A 14 */ add r8, r8, r9
/* 801495A8 001453E8 B1 0B 00 56 */ sth r8, 0x56(r11)
/* 801495AC 001453EC 55 08 04 3F */ clrlwi. r8, r8, 16
/* 801495B0 001453F0 41 82 00 08 */ beq lbl_801495B8
/* 801495B4 001453F4 65 8C 10 00 */ oris r12, r12, 0x1000
.global lbl_801495B8
lbl_801495B8:
/* 801495B8 001453F8 A1 0A 00 5C */ lhz r8, 0x5c(r10)
/* 801495BC 001453FC B1 0B 00 58 */ sth r8, 0x58(r11)
/* 801495C0 00145400 2C 08 00 00 */ cmpwi r8, 0x0
/* 801495C4 00145404 41 82 00 08 */ beq lbl_801495CC
/* 801495C8 00145408 65 8C 08 00 */ oris r12, r12, 0x800
.global lbl_801495CC
lbl_801495CC:
/* 801495CC 0014540C A1 2A 00 5C */ lhz r9, 0x5c(r10)
/* 801495D0 00145410 3B E3 AA AB */ addi r31, r3, -0x5555
/* 801495D4 00145414 A1 0A 00 5E */ lhz r8, 0x5e(r10)
/* 801495D8 00145418 7D 09 40 50 */ subf r8, r9, r8
/* 801495DC 0014541C 7D 1F 40 96 */ mulhw r8, r31, r8
/* 801495E0 00145420 7D 08 26 70 */ srawi r8, r8, 4
/* 801495E4 00145424 55 09 0F FE */ srwi r9, r8, 31
/* 801495E8 00145428 7D 08 4A 14 */ add r8, r8, r9
/* 801495EC 0014542C B1 0B 00 5A */ sth r8, 0x5a(r11)
/* 801495F0 00145430 55 08 04 3F */ clrlwi. r8, r8, 16
/* 801495F4 00145434 41 82 00 08 */ beq lbl_801495FC
/* 801495F8 00145438 65 8C 10 00 */ oris r12, r12, 0x1000
.global lbl_801495FC
lbl_801495FC:
/* 801495FC 0014543C A1 0A 00 3C */ lhz r8, 0x3c(r10)
/* 80149600 00145440 B1 0B 00 5C */ sth r8, 0x5c(r11)
/* 80149604 00145444 2C 08 00 00 */ cmpwi r8, 0x0
/* 80149608 00145448 41 82 00 08 */ beq lbl_80149610
/* 8014960C 0014544C 61 8C 00 08 */ ori r12, r12, 0x8
.global lbl_80149610
lbl_80149610:
/* 80149610 00145450 A1 2A 00 3C */ lhz r9, 0x3c(r10)
/* 80149614 00145454 3B E3 AA AB */ addi r31, r3, -0x5555
/* 80149618 00145458 A1 0A 00 3E */ lhz r8, 0x3e(r10)
/* 8014961C 0014545C 7D 09 40 50 */ subf r8, r9, r8
/* 80149620 00145460 7D 1F 40 96 */ mulhw r8, r31, r8
/* 80149624 00145464 7D 08 26 70 */ srawi r8, r8, 4
/* 80149628 00145468 55 09 0F FE */ srwi r9, r8, 31
/* 8014962C 0014546C 7D 08 4A 14 */ add r8, r8, r9
/* 80149630 00145470 B1 0B 00 5E */ sth r8, 0x5e(r11)
/* 80149634 00145474 55 08 04 3F */ clrlwi. r8, r8, 16
/* 80149638 00145478 41 82 00 08 */ beq lbl_80149640
/* 8014963C 0014547C 61 8C 00 10 */ ori r12, r12, 0x10
.global lbl_80149640
lbl_80149640:
/* 80149640 00145480 A1 0A 00 48 */ lhz r8, 0x48(r10)
/* 80149644 00145484 B1 0B 00 60 */ sth r8, 0x60(r11)
/* 80149648 00145488 2C 08 00 00 */ cmpwi r8, 0x0
/* 8014964C 0014548C 41 82 00 08 */ beq lbl_80149654
/* 80149650 00145490 65 8C 00 08 */ oris r12, r12, 0x8
.global lbl_80149654
lbl_80149654:
/* 80149654 00145494 A1 2A 00 48 */ lhz r9, 0x48(r10)
/* 80149658 00145498 3B E3 AA AB */ addi r31, r3, -0x5555
/* 8014965C 0014549C A1 0A 00 4A */ lhz r8, 0x4a(r10)
/* 80149660 001454A0 7D 09 40 50 */ subf r8, r9, r8
/* 80149664 001454A4 7D 1F 40 96 */ mulhw r8, r31, r8
/* 80149668 001454A8 7D 08 26 70 */ srawi r8, r8, 4
/* 8014966C 001454AC 55 09 0F FE */ srwi r9, r8, 31
/* 80149670 001454B0 7D 08 4A 14 */ add r8, r8, r9
/* 80149674 001454B4 B1 0B 00 62 */ sth r8, 0x62(r11)
/* 80149678 001454B8 55 08 04 3F */ clrlwi. r8, r8, 16
/* 8014967C 001454BC 41 82 00 08 */ beq lbl_80149684
/* 80149680 001454C0 65 8C 00 10 */ oris r12, r12, 0x10
.global lbl_80149684
lbl_80149684:
/* 80149684 001454C4 A1 0A 00 54 */ lhz r8, 0x54(r10)
/* 80149688 001454C8 B1 0B 00 64 */ sth r8, 0x64(r11)
/* 8014968C 001454CC 2C 08 00 00 */ cmpwi r8, 0x0
/* 80149690 001454D0 41 82 00 08 */ beq lbl_80149698
/* 80149694 001454D4 65 8C 01 00 */ oris r12, r12, 0x100
.global lbl_80149698
lbl_80149698:
/* 80149698 001454D8 A1 2A 00 54 */ lhz r9, 0x54(r10)
/* 8014969C 001454DC 3B E3 AA AB */ addi r31, r3, -0x5555
/* 801496A0 001454E0 A1 0A 00 56 */ lhz r8, 0x56(r10)
/* 801496A4 001454E4 7D 09 40 50 */ subf r8, r9, r8
/* 801496A8 001454E8 7D 1F 40 96 */ mulhw r8, r31, r8
/* 801496AC 001454EC 7D 08 26 70 */ srawi r8, r8, 4
/* 801496B0 001454F0 55 09 0F FE */ srwi r9, r8, 31
/* 801496B4 001454F4 7D 08 4A 14 */ add r8, r8, r9
/* 801496B8 001454F8 B1 0B 00 66 */ sth r8, 0x66(r11)
/* 801496BC 001454FC 55 08 04 3F */ clrlwi. r8, r8, 16
/* 801496C0 00145500 41 82 00 08 */ beq lbl_801496C8
/* 801496C4 00145504 65 8C 02 00 */ oris r12, r12, 0x200
.global lbl_801496C8
lbl_801496C8:
/* 801496C8 00145508 A1 0A 00 60 */ lhz r8, 0x60(r10)
/* 801496CC 0014550C B1 0B 00 68 */ sth r8, 0x68(r11)
/* 801496D0 00145510 2C 08 00 00 */ cmpwi r8, 0x0
/* 801496D4 00145514 41 82 00 08 */ beq lbl_801496DC
/* 801496D8 00145518 65 8C 20 00 */ oris r12, r12, 0x2000
.global lbl_801496DC
lbl_801496DC:
/* 801496DC 0014551C A1 2A 00 60 */ lhz r9, 0x60(r10)
/* 801496E0 00145520 3B E3 AA AB */ addi r31, r3, -0x5555
/* 801496E4 00145524 A1 0A 00 62 */ lhz r8, 0x62(r10)
/* 801496E8 00145528 7D 09 40 50 */ subf r8, r9, r8
/* 801496EC 0014552C 7D 1F 40 96 */ mulhw r8, r31, r8
/* 801496F0 00145530 7D 08 26 70 */ srawi r8, r8, 4
/* 801496F4 00145534 55 09 0F FE */ srwi r9, r8, 31
/* 801496F8 00145538 7D 08 4A 14 */ add r8, r8, r9
/* 801496FC 0014553C B1 0B 00 6A */ sth r8, 0x6a(r11)
/* 80149700 00145540 55 08 04 3F */ clrlwi. r8, r8, 16
/* 80149704 00145544 41 82 00 08 */ beq lbl_8014970C
/* 80149708 00145548 65 8C 40 00 */ oris r12, r12, 0x4000
.global lbl_8014970C
lbl_8014970C:
/* 8014970C 0014554C 91 8B 00 34 */ stw r12, 0x34(r11)
/* 80149710 00145550 81 0B 00 1C */ lwz r8, 0x1c(r11)
/* 80149714 00145554 61 08 00 12 */ ori r8, r8, 0x12
/* 80149718 00145558 91 0B 00 1C */ stw r8, 0x1c(r11)
.global lbl_8014971C
lbl_8014971C:
/* 8014971C 0014555C 38 E7 00 64 */ addi r7, r7, 0x64
/* 80149720 00145560 42 00 F5 68 */ bdnz lbl_80148C88
.global lbl_80149724
lbl_80149724:
/* 80149724 00145564 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80149728 00145568 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8014972C 0014556C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80149730 00145570 38 21 00 20 */ addi r1, r1, 0x20
/* 80149734 00145574 4E 80 00 20 */ blr
/* 80149738 00145578 00 00 00 00 */ .4byte 0x00000000
/* 8014973C 0014557C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMAllocIndex
HBMAllocIndex:
/* 80149740 00145580 3C 80 80 54 */ lis r4, sIndex2IdTable@ha
2022-10-16 16:05:58 +00:00
/* 80149744 00145584 38 00 00 10 */ li r0, 0x10
2022-10-16 16:31:36 +00:00
/* 80149748 00145588 38 84 37 E0 */ addi r4, r4, sIndex2IdTable@l
2022-10-16 16:05:58 +00:00
/* 8014974C 0014558C 38 C0 00 00 */ li r6, 0x0
/* 80149750 00145590 7C 09 03 A6 */ mtctr r0
/* 80149754 00145594 60 00 00 00 */ nop
.global lbl_80149758
lbl_80149758:
/* 80149758 00145598 88 04 00 00 */ lbz r0, 0x0(r4)
/* 8014975C 0014559C 7C 00 07 75 */ extsb. r0, r0
/* 80149760 001455A0 40 80 00 24 */ bge lbl_80149784
2022-10-16 16:31:36 +00:00
/* 80149764 001455A4 3C A0 80 54 */ lis r5, sIndex2IdTable@ha
/* 80149768 001455A8 3C 80 80 54 */ lis r4, sId2IndexTable@ha
/* 8014976C 001455AC 38 A5 37 E0 */ addi r5, r5, sIndex2IdTable@l
/* 80149770 001455B0 38 84 37 F0 */ addi r4, r4, sId2IndexTable@l
2022-10-16 16:05:58 +00:00
/* 80149774 001455B4 7C 65 31 AE */ stbx r3, r5, r6
/* 80149778 001455B8 7C C4 19 AE */ stbx r6, r4, r3
/* 8014977C 001455BC 7C C3 33 78 */ mr r3, r6
/* 80149780 001455C0 4E 80 00 20 */ blr
.global lbl_80149784
lbl_80149784:
/* 80149784 001455C4 38 84 00 01 */ addi r4, r4, 0x1
/* 80149788 001455C8 38 C6 00 01 */ addi r6, r6, 0x1
/* 8014978C 001455CC 42 00 FF CC */ bdnz lbl_80149758
/* 80149790 001455D0 38 60 FF FF */ li r3, -0x1
/* 80149794 001455D4 4E 80 00 20 */ blr
/* 80149798 001455D8 00 00 00 00 */ .4byte 0x00000000
/* 8014979C 001455DC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMGetIndex
HBMGetIndex:
/* 801497A0 001455E0 3C 80 80 54 */ lis r4, sId2IndexTable@ha
/* 801497A4 001455E4 38 84 37 F0 */ addi r4, r4, sId2IndexTable@l
2022-10-16 16:05:58 +00:00
/* 801497A8 001455E8 7C 64 18 AE */ lbzx r3, r4, r3
/* 801497AC 001455EC 7C 63 07 74 */ extsb r3, r3
/* 801497B0 001455F0 4E 80 00 20 */ blr
/* 801497B4 001455F4 00 00 00 00 */ .4byte 0x00000000
/* 801497B8 001455F8 00 00 00 00 */ .4byte 0x00000000
/* 801497BC 001455FC 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMFreeIndex
HBMFreeIndex:
/* 801497C0 00145600 3C A0 80 54 */ lis r5, sIndex2IdTable@ha
/* 801497C4 00145604 3C 80 80 54 */ lis r4, sId2IndexTable@ha
/* 801497C8 00145608 38 A5 37 E0 */ addi r5, r5, sIndex2IdTable@l
2022-10-16 16:05:58 +00:00
/* 801497CC 0014560C 38 00 FF FF */ li r0, -0x1
/* 801497D0 00145610 7C C5 18 AE */ lbzx r6, r5, r3
2022-10-16 16:31:36 +00:00
/* 801497D4 00145614 38 84 37 F0 */ addi r4, r4, sId2IndexTable@l
2022-10-16 16:05:58 +00:00
/* 801497D8 00145618 7C C6 07 74 */ extsb r6, r6
/* 801497DC 0014561C 7C 05 19 AE */ stbx r0, r5, r3
/* 801497E0 00145620 7C 04 31 AE */ stbx r0, r4, r6
/* 801497E4 00145624 4E 80 00 20 */ blr
/* 801497E8 00145628 00 00 00 00 */ .4byte 0x00000000
/* 801497EC 0014562C 00 00 00 00 */ .4byte 0x00000000
2022-10-16 16:31:36 +00:00
.global HBMFreeIndexByKey
HBMFreeIndexByKey:
/* 801497F0 00145630 3C A0 80 54 */ lis r5, sId2IndexTable@ha
/* 801497F4 00145634 38 A5 37 F0 */ addi r5, r5, sId2IndexTable@l
2022-10-16 16:05:58 +00:00
/* 801497F8 00145638 7C C5 18 AE */ lbzx r6, r5, r3
/* 801497FC 0014563C 7C C6 07 75 */ extsb. r6, r6
/* 80149800 00145640 4D 80 00 20 */ bltlr
2022-10-16 16:31:36 +00:00
/* 80149804 00145644 3C 80 80 54 */ lis r4, sIndex2IdTable@ha
2022-10-16 16:05:58 +00:00
/* 80149808 00145648 38 00 FF FF */ li r0, -0x1
2022-10-16 16:31:36 +00:00
/* 8014980C 0014564C 38 84 37 E0 */ addi r4, r4, sIndex2IdTable@l
2022-10-16 16:05:58 +00:00
/* 80149810 00145650 7C 05 19 AE */ stbx r0, r5, r3
/* 80149814 00145654 7C 04 31 AE */ stbx r0, r4, r6
/* 80149818 00145658 4E 80 00 20 */ blr
/* 8014981C 0014565C 00 00 00 00 */ .4byte 0x00000000
2022-10-17 08:59:46 +00:00
.include "macros.inc"
.section .data, "wa" # 0x80421040 - 0x80496700 ; 0x000756C0
.global __HBMMIXVolumeTable
__HBMMIXVolumeTable:
.4byte 0x00000001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00010001
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020002
.4byte 0x00020003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00030003
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040004
.4byte 0x00040005
.4byte 0x00050005
.4byte 0x00050005
.4byte 0x00050005
.4byte 0x00050005
.4byte 0x00050005
.4byte 0x00050005
.4byte 0x00050005
.4byte 0x00050006
.4byte 0x00060006
.4byte 0x00060006
.4byte 0x00060006
.4byte 0x00060006
.4byte 0x00060006
.4byte 0x00060006
.4byte 0x00070007
.4byte 0x00070007
.4byte 0x00070007
.4byte 0x00070007
.4byte 0x00070007
.4byte 0x00070007
.4byte 0x00080008
.4byte 0x00080008
.4byte 0x00080008
.4byte 0x00080008
.4byte 0x00080008
.4byte 0x00090009
.4byte 0x00090009
.4byte 0x00090009
.4byte 0x00090009
.4byte 0x0009000A
.4byte 0x000A000A
.4byte 0x000A000A
.4byte 0x000A000A
.4byte 0x000A000A
.4byte 0x000B000B
.4byte 0x000B000B
.4byte 0x000B000B
.4byte 0x000B000C
.4byte 0x000C000C
.4byte 0x000C000C
.4byte 0x000C000C
.4byte 0x000D000D
.4byte 0x000D000D
.4byte 0x000D000D
.4byte 0x000D000E
.4byte 0x000E000E
.4byte 0x000E000E
.4byte 0x000E000F
.4byte 0x000F000F
.4byte 0x000F000F
.4byte 0x00100010
.4byte 0x00100010
.4byte 0x00100011
.4byte 0x00110011
.4byte 0x00110011
.4byte 0x00120012
.4byte 0x00120012
.4byte 0x00120013
.4byte 0x00130013
.4byte 0x00130013
.4byte 0x00140014
.4byte 0x00140014
.4byte 0x00150015
.4byte 0x00150015
.4byte 0x00160016
.4byte 0x00160016
.4byte 0x00170017
.4byte 0x00170018
.4byte 0x00180018
.4byte 0x00180019
.4byte 0x00190019
.4byte 0x001A001A
.4byte 0x001A001A
.4byte 0x001B001B
.4byte 0x001B001C
.4byte 0x001C001C
.4byte 0x001D001D
.4byte 0x001D001E
.4byte 0x001E001E
.4byte 0x001F001F
.4byte 0x00200020
.4byte 0x00200021
.4byte 0x00210021
.4byte 0x00220022
.4byte 0x00230023
.4byte 0x00230024
.4byte 0x00240025
.4byte 0x00250026
.4byte 0x00260026
.4byte 0x00270027
.4byte 0x00280028
.4byte 0x00290029
.4byte 0x002A002A
.4byte 0x002B002B
.4byte 0x002C002C
.4byte 0x002D002D
.4byte 0x002E002E
.4byte 0x002F002F
.4byte 0x00300031
.4byte 0x00310032
.4byte 0x00320033
.4byte 0x00330034
.4byte 0x00350035
.4byte 0x00360037
.4byte 0x00370038
.4byte 0x00380039
.4byte 0x003A003A
.4byte 0x003B003C
.4byte 0x003D003D
.4byte 0x003E003F
.4byte 0x003F0040
.4byte 0x00410042
.4byte 0x00420043
.4byte 0x00440045
.4byte 0x00460046
.4byte 0x00470048
.4byte 0x0049004A
.4byte 0x004B004B
.4byte 0x004C004D
.4byte 0x004E004F
.4byte 0x00500051
.4byte 0x00520053
.4byte 0x00540055
.4byte 0x00560057
.4byte 0x00580059
.4byte 0x005A005B
.4byte 0x005C005D
.4byte 0x005E005F
.4byte 0x00600061
.4byte 0x00620064
.4byte 0x00650066
.4byte 0x00670068
.4byte 0x006A006B
.4byte 0x006C006D
.4byte 0x006F0070
.4byte 0x00710072
.4byte 0x00740075
.4byte 0x00760078
.4byte 0x0079007B
.4byte 0x007C007E
.4byte 0x007F0080
.4byte 0x00820083
.4byte 0x00850087
.4byte 0x0088008A
.4byte 0x008B008D
.4byte 0x008F0090
.4byte 0x00920094
.4byte 0x00950097
.4byte 0x0099009B
.4byte 0x009C009E
.4byte 0x00A000A2
.4byte 0x00A400A6
.4byte 0x00A800AA
.4byte 0x00AB00AD
.4byte 0x00AF00B2
.4byte 0x00B400B6
.4byte 0x00B800BA
.4byte 0x00BC00BE
.4byte 0x00C000C3
.4byte 0x00C500C7
.4byte 0x00CA00CC
.4byte 0x00CE00D1
.4byte 0x00D300D6
.4byte 0x00D800DB
.4byte 0x00DD00E0
.4byte 0x00E200E5
.4byte 0x00E700EA
.4byte 0x00ED00F0
.4byte 0x00F200F5
.4byte 0x00F800FB
.4byte 0x00FE0101
.4byte 0x01040107
.4byte 0x010A010D
.4byte 0x01100113
.4byte 0x0116011A
.4byte 0x011D0120
.4byte 0x01240127
.4byte 0x012A012E
.4byte 0x01310135
.4byte 0x0138013C
.4byte 0x01400143
.4byte 0x0147014B
.4byte 0x014F0153
.4byte 0x0157015B
.4byte 0x015F0163
.4byte 0x0167016B
.4byte 0x016F0173
.4byte 0x0178017C
.4byte 0x01800185
.4byte 0x0189018E
.4byte 0x01930197
.4byte 0x019C01A1
.4byte 0x01A601AB
.4byte 0x01AF01B4
.4byte 0x01BA01BF
.4byte 0x01C401C9
.4byte 0x01CE01D4
.4byte 0x01D901DF
.4byte 0x01E401EA
.4byte 0x01EF01F5
.4byte 0x01FB0201
.4byte 0x0207020D
.4byte 0x02130219
.4byte 0x021F0226
.4byte 0x022C0232
.4byte 0x02390240
.4byte 0x0246024D
.4byte 0x0254025B
.4byte 0x02620269
.4byte 0x02700277
.4byte 0x027E0286
.4byte 0x028D0295
.4byte 0x029D02A4
.4byte 0x02AC02B4
.4byte 0x02BC02C4
.4byte 0x02CC02D5
.4byte 0x02DD02E6
.4byte 0x02EE02F7
.4byte 0x03000309
.4byte 0x0312031B
.4byte 0x0324032D
.4byte 0x03370340
.4byte 0x034A0354
.4byte 0x035D0367
.4byte 0x0371037C
.4byte 0x03860390
.4byte 0x039B03A6
.4byte 0x03B103BB
.4byte 0x03C703D2
.4byte 0x03DD03E9
.4byte 0x03F40400
.4byte 0x040C0418
.4byte 0x04240430
.4byte 0x043D0449
.4byte 0x04560463
.4byte 0x0470047D
.4byte 0x048A0498
.4byte 0x04A504B3
.4byte 0x04C104CF
.4byte 0x04DD04EC
.4byte 0x04FA0509
.4byte 0x05180527
.4byte 0x05360546
.4byte 0x05550565
.4byte 0x05750586
.4byte 0x059605A6
.4byte 0x05B705C8
.4byte 0x05D905EB
.4byte 0x05FC060E
.4byte 0x06200632
.4byte 0x06440657
.4byte 0x066A067D
.4byte 0x069006A4
.4byte 0x06B706CB
.4byte 0x06DF06F4
.4byte 0x0708071D
.4byte 0x07320748
.4byte 0x075D0773
.4byte 0x0789079F
.4byte 0x07B607CD
.4byte 0x07E407FB
.4byte 0x0813082B
.4byte 0x0843085C
.4byte 0x0874088E
.4byte 0x08A708C1
.4byte 0x08DA08F5
.4byte 0x090F092A
.4byte 0x09450961
.4byte 0x097D0999
.4byte 0x09B509D2
.4byte 0x09EF0A0D
.4byte 0x0A2A0A48
.4byte 0x0A670A86
.4byte 0x0AA50AC5
.4byte 0x0AE50B05
.4byte 0x0B250B47
.4byte 0x0B680B8A
.4byte 0x0BAC0BCF
.4byte 0x0BF20C15
.4byte 0x0C390C5D
.4byte 0x0C820CA7
.4byte 0x0CCC0CF2
.4byte 0x0D190D3F
.4byte 0x0D670D8E
.4byte 0x0DB70DDF
.4byte 0x0E080E32
.4byte 0x0E5C0E87
.4byte 0x0EB20EDD
.4byte 0x0F090F36
.4byte 0x0F630F91
.4byte 0x0FBF0FEE
.4byte 0x101D104D
.4byte 0x107D10AE
.4byte 0x10DF1111
.4byte 0x11441177
.4byte 0x11AB11DF
.4byte 0x1214124A
.4byte 0x128012B7
.4byte 0x12EE1326
.4byte 0x135F1399
.4byte 0x13D3140D
.4byte 0x14491485
.4byte 0x14C214FF
.4byte 0x153E157D
.4byte 0x15BC15FD
.4byte 0x163E1680
.4byte 0x16C31706
.4byte 0x174A178F
.4byte 0x17D5181C
.4byte 0x186318AC
.4byte 0x18F5193F
.4byte 0x198A19D5
.4byte 0x1A221A6F
.4byte 0x1ABE1B0D
.4byte 0x1B5D1BAE
.4byte 0x1C001C53
.4byte 0x1CA71CFC
.4byte 0x1D521DA9
.4byte 0x1E011E5A
.4byte 0x1EB41F0F
.4byte 0x1F6B1FC8
.4byte 0x20262086
.4byte 0x20E62148
.4byte 0x21AA220E
.4byte 0x227322D9
.4byte 0x234123A9
.4byte 0x2413247E
.4byte 0x24EA2557
.4byte 0x25C62636
.4byte 0x26A7271A
.4byte 0x278E2803
.4byte 0x287A28F2
.4byte 0x296B29E6
.4byte 0x2A622AE0
.4byte 0x2B5F2BDF
.4byte 0x2C612CE5
.4byte 0x2D6A2DF1
.4byte 0x2E792F03
.4byte 0x2F8E301B
.4byte 0x30AA313A
.4byte 0x31CC325F
.4byte 0x32F5338C
.4byte 0x342534BF
.4byte 0x355B35FA
.4byte 0x369A373C
.4byte 0x37DF3885
.4byte 0x392C39D6
.4byte 0x3A813B2F
.4byte 0x3BDE3C90
.4byte 0x3D433DF9
.4byte 0x3EB13F6A
.4byte 0x402640E5
.4byte 0x41A54268
.4byte 0x432C43F4
.4byte 0x44BD4589
.4byte 0x46574727
.4byte 0x47FA48D0
.4byte 0x49A84A82
.4byte 0x4B5F4C3E
.4byte 0x4D204E05
.4byte 0x4EEC4FD6
.4byte 0x50C351B2
.4byte 0x52A45399
.4byte 0x5491558C
.4byte 0x5689578A
.4byte 0x588D5994
.4byte 0x5A9D5BAA
.4byte 0x5CBA5DCD
.4byte 0x5EE35FFC
.4byte 0x61196238
.4byte 0x635C6482
.4byte 0x65AC66D9
.4byte 0x680A693F
.4byte 0x6A776BB2
.4byte 0x6CF26E35
.4byte 0x6F7B70C6
.4byte 0x72147366
.4byte 0x74BC7616
.4byte 0x777478D6
.4byte 0x7A3D7BA7
.4byte 0x7D167E88
.4byte 0x7FFF817B
.4byte 0x82FB847F
.4byte 0x86088795
.4byte 0x89278ABE
.4byte 0x8C598DF9
.4byte 0x8F9E9148
.4byte 0x92F694AA
.4byte 0x96639820
.4byte 0x99E39BAB
.4byte 0x9D799F4C
.4byte 0xA124A302
.4byte 0xA4E5A6CE
.4byte 0xA8BCAAB0
.4byte 0xACAAAEAA
.4byte 0xB0B0B2BC
.4byte 0xB4CEB6E5
.4byte 0xB904BB28
.4byte 0xBD53BF84
.4byte 0xC1BCC3FA
.4byte 0xC63FC88B
.4byte 0xCADDCD37
.4byte 0xCF97D1FE
.4byte 0xD46DD6E3
.4byte 0xD960DBE4
.4byte 0xDE70E103
.4byte 0xE39EE641
.4byte 0xE8EBEB9E
.4byte 0xEE58F11B
.4byte 0xF3E6F6B9
.4byte 0xF994FC78
.4byte 0xFF640000
.4byte 0
.4byte 0
.4byte 0
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFE
.4byte 0xFFFFFFFE
.4byte 0xFFFFFFFE
.4byte 0xFFFFFFFD
.4byte 0xFFFFFFFD
.4byte 0xFFFFFFFC
.4byte 0xFFFFFFFC
.4byte 0xFFFFFFFC
.4byte 0xFFFFFFFB
.4byte 0xFFFFFFFB
.4byte 0xFFFFFFFB
.4byte 0xFFFFFFFA
.4byte 0xFFFFFFFA
.4byte 0xFFFFFFF9
.4byte 0xFFFFFFF9
.4byte 0xFFFFFFF9
.4byte 0xFFFFFFF8
.4byte 0xFFFFFFF8
.4byte 0xFFFFFFF7
.4byte 0xFFFFFFF7
.4byte 0xFFFFFFF6
.4byte 0xFFFFFFF6
.4byte 0xFFFFFFF6
.4byte 0xFFFFFFF5
.4byte 0xFFFFFFF5
.4byte 0xFFFFFFF4
.4byte 0xFFFFFFF4
.4byte 0xFFFFFFF3
.4byte 0xFFFFFFF3
.4byte 0xFFFFFFF2
.4byte 0xFFFFFFF2
.4byte 0xFFFFFFF2
.4byte 0xFFFFFFF1
.4byte 0xFFFFFFF1
.4byte 0xFFFFFFF0
.4byte 0xFFFFFFF0
.4byte 0xFFFFFFEF
.4byte 0xFFFFFFEF
.4byte 0xFFFFFFEE
.4byte 0xFFFFFFEE
.4byte 0xFFFFFFED
.4byte 0xFFFFFFEC
.4byte 0xFFFFFFEC
.4byte 0xFFFFFFEB
.4byte 0xFFFFFFEB
.4byte 0xFFFFFFEA
.4byte 0xFFFFFFEA
.4byte 0xFFFFFFE9
.4byte 0xFFFFFFE9
.4byte 0xFFFFFFE8
.4byte 0xFFFFFFE7
.4byte 0xFFFFFFE7
.4byte 0xFFFFFFE6
.4byte 0xFFFFFFE6
.4byte 0xFFFFFFE5
.4byte 0xFFFFFFE4
.4byte 0xFFFFFFE4
.4byte 0xFFFFFFE3
.4byte 0xFFFFFFE2
.4byte 0xFFFFFFE2
.4byte 0xFFFFFFE1
.4byte 0xFFFFFFE0
.4byte 0xFFFFFFDF
.4byte 0xFFFFFFDF
.4byte 0xFFFFFFDE
.4byte 0xFFFFFFDD
.4byte 0xFFFFFFDC
.4byte 0xFFFFFFDC
.4byte 0xFFFFFFDB
.4byte 0xFFFFFFDA
.4byte 0xFFFFFFD9
.4byte 0xFFFFFFD8
.4byte 0xFFFFFFD8
.4byte 0xFFFFFFD7
.4byte 0xFFFFFFD6
.4byte 0xFFFFFFD5
.4byte 0xFFFFFFD4
.4byte 0xFFFFFFD3
.4byte 0xFFFFFFD2
.4byte 0xFFFFFFD1
.4byte 0xFFFFFFD0
.4byte 0xFFFFFFCF
.4byte 0xFFFFFFCE
.4byte 0xFFFFFFCD
.4byte 0xFFFFFFCC
.4byte 0xFFFFFFCA
.4byte 0xFFFFFFC9
.4byte 0xFFFFFFC8
.4byte 0xFFFFFFC7
.4byte 0xFFFFFFC5
.4byte 0xFFFFFFC4
.4byte 0xFFFFFFC3
.4byte 0xFFFFFFC1
.4byte 0xFFFFFFC0
.4byte 0xFFFFFFBE
.4byte 0xFFFFFFBD
.4byte 0xFFFFFFBB
.4byte 0xFFFFFFB9
.4byte 0xFFFFFFB8
.4byte 0xFFFFFFB6
.4byte 0xFFFFFFB4
.4byte 0xFFFFFFB2
.4byte 0xFFFFFFB0
.4byte 0xFFFFFFAD
.4byte 0xFFFFFFAB
.4byte 0xFFFFFFA9
.4byte 0xFFFFFFA6
.4byte 0xFFFFFFA3
.4byte 0xFFFFFFA0
.4byte 0xFFFFFF9D
.4byte 0xFFFFFF9A
.4byte 0xFFFFFF96
.4byte 0xFFFFFF92
.4byte 0xFFFFFF8D
.4byte 0xFFFFFF88
.4byte 0xFFFFFF82
.4byte 0xFFFFFF7B
.4byte 0xFFFFFF74
.4byte 0xFFFFFF6A
.4byte 0xFFFFFF5D
.4byte 0xFFFFFF4C
.4byte 0xFFFFFF2E
.4byte 0xFFFFFC78
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0
.4byte 0x0000FFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFFFFFF
.4byte 0xFFFEFFFE
.4byte 0xFFFEFFFE
.4byte 0xFFFDFFFD
.4byte 0xFFFDFFFC
.4byte 0xFFFCFFFC
.4byte 0xFFFBFFFB
.4byte 0xFFFAFFFA
.4byte 0xFFFAFFF9
.4byte 0xFFF9FFF8
.4byte 0xFFF8FFF7
.4byte 0xFFF7FFF6
.4byte 0xFFF5FFF5
.4byte 0xFFF4FFF4
.4byte 0xFFF3FFF2
.4byte 0xFFF2FFF1
.4byte 0xFFF0FFEF
.4byte 0xFFEFFFEE
.4byte 0xFFEDFFEC
.4byte 0xFFEBFFEB
.4byte 0xFFEAFFE9
.4byte 0xFFE8FFE7
.4byte 0xFFE6FFE5
.4byte 0xFFE4FFE3
.4byte 0xFFE2FFE1
.4byte 0xFFE0FFDE
.4byte 0xFFDDFFDC
.4byte 0xFFDBFFDA
.4byte 0xFFD8FFD7
.4byte 0xFFD6FFD4
.4byte 0xFFD3FFD1
.4byte 0xFFD0FFCE
.4byte 0xFFCCFFCB
.4byte 0xFFC9FFC7
.4byte 0xFFC6FFC4
.4byte 0xFFC2FFC0
.4byte 0xFFBEFFBC
.4byte 0xFFBAFFB7
.4byte 0xFFB5FFB3
.4byte 0xFFB0FFAE
.4byte 0xFFABFFA8
.4byte 0xFFA6FFA3
.4byte 0xFFA0FF9C
.4byte 0xFF99FF96
.4byte 0xFF92FF8E
.4byte 0xFF8AFF86
.4byte 0xFF82FF7D
.4byte 0xFF78FF73
.4byte 0xFF6EFF68
.4byte 0xFF61FF5A
.4byte 0xFF53FF4B
.4byte 0xFF42FF37
.4byte 0xFF2CFF1F
.4byte 0xFF0FFEFB
.4byte 0xFEE2FEBF
.4byte 0xFE83FC40
.4byte 0xFFC3FFC3
.4byte 0xFFC4FFC5
.4byte 0xFFC5FFC6
.4byte 0xFFC6FFC7
.4byte 0xFFC8FFC8
.4byte 0xFFC9FFC9
.4byte 0xFFCAFFCB
.4byte 0xFFCBFFCC
.4byte 0xFFCCFFCD
.4byte 0xFFCEFFCE
.4byte 0xFFCFFFCF
.4byte 0xFFD0FFD0
.4byte 0xFFD1FFD1
.4byte 0xFFD2FFD2
.4byte 0xFFD3FFD3
.4byte 0xFFD4FFD4
.4byte 0xFFD5FFD5
.4byte 0xFFD6FFD6
.4byte 0xFFD7FFD7
.4byte 0xFFD8FFD8
.4byte 0xFFD9FFD9
.4byte 0xFFDAFFDA
.4byte 0xFFDAFFDB
.4byte 0xFFDBFFDC
.4byte 0xFFDCFFDD
.4byte 0xFFDDFFDD
.4byte 0xFFDEFFDE
.4byte 0xFFDFFFDF
.4byte 0xFFE0FFE0
.4byte 0xFFE0FFE1
.4byte 0xFFE1FFE1
.4byte 0xFFE2FFE2
.4byte 0xFFE3FFE3
.4byte 0xFFE3FFE4
.4byte 0xFFE4FFE4
.4byte 0xFFE5FFE5
.4byte 0xFFE5FFE6
.4byte 0xFFE6FFE6
.4byte 0xFFE7FFE7
.4byte 0xFFE7FFE8
.4byte 0xFFE8FFE8
.4byte 0xFFE9FFE9
.4byte 0xFFE9FFEA
.4byte 0xFFEAFFEA
.4byte 0xFFEBFFEB
.4byte 0xFFEBFFEC
.4byte 0xFFECFFEC
.4byte 0xFFECFFED
.4byte 0xFFEDFFED
.4byte 0xFFEEFFEE
.4byte 0xFFEEFFEE
.4byte 0xFFEFFFEF
.4byte 0xFFEFFFEF
.4byte 0xFFF0FFF0
.4byte 0xFFF0FFF0
.4byte 0xFFF1FFF1
.4byte 0xFFF1FFF1
.4byte 0xFFF2FFF2
.4byte 0xFFF2FFF2
.4byte 0xFFF3FFF3
.4byte 0xFFF3FFF3
.4byte 0xFFF3FFF4
.4byte 0xFFF4FFF4
.4byte 0xFFF4FFF5
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global sIndex2IdTable
sIndex2IdTable:
.skip 0x10
.global sId2IndexTable
sId2IndexTable:
.skip 0x60
.global __HBMMIXSoundMode
__HBMMIXSoundMode:
.skip 0x4
.global __HBMMIXChannel
__HBMMIXChannel:
.skip 0x644
.global __init_80543E98
__init_80543E98:
.skip 0x8