801 lines
41 KiB
ArmAsm
801 lines
41 KiB
ArmAsm
.include "macros.inc"
|
|
|
|
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
|
|
.global GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv
|
|
GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv:
|
|
/* 80103F70 000FFDB0 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80103F74 000FFDB4 7C 08 02 A6 */ mflr r0
|
|
/* 80103F78 000FFDB8 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80103F7C 000FFDBC 88 0D EB D0 */ lbz r0, "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@sda21(r13)
|
|
/* 80103F80 000FFDC0 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80103F84 000FFDC4 40 82 00 60 */ bne lbl_80103FE4
|
|
/* 80103F88 000FFDC8 3C 60 80 53 */ lis r3, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@ha
|
|
/* 80103F8C 000FFDCC 3C 80 80 10 */ lis r4, __dt__Q44nw4r3snd6detail14AxVoiceManagerFv@ha
|
|
/* 80103F90 000FFDD0 38 63 89 3C */ addi r3, r3, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@l
|
|
/* 80103F94 000FFDD4 38 00 00 00 */ li r0, 0x0
|
|
/* 80103F98 000FFDD8 39 03 00 04 */ addi r8, r3, 0x4
|
|
/* 80103F9C 000FFDDC 3C A0 80 53 */ lis r5, "@3158"@ha
|
|
/* 80103FA0 000FFDE0 38 E3 00 10 */ addi r7, r3, 0x10
|
|
/* 80103FA4 000FFDE4 38 C3 00 1C */ addi r6, r3, 0x1c
|
|
/* 80103FA8 000FFDE8 90 03 00 00 */ stw r0, 0x0(r3)
|
|
/* 80103FAC 000FFDEC 38 84 40 00 */ addi r4, r4, __dt__Q44nw4r3snd6detail14AxVoiceManagerFv@l
|
|
/* 80103FB0 000FFDF0 38 A5 89 30 */ addi r5, r5, "@3158"@l
|
|
/* 80103FB4 000FFDF4 91 03 00 04 */ stw r8, 0x4(r3)
|
|
/* 80103FB8 000FFDF8 91 03 00 08 */ stw r8, 0x8(r3)
|
|
/* 80103FBC 000FFDFC 90 03 00 0C */ stw r0, 0xc(r3)
|
|
/* 80103FC0 000FFE00 90 E3 00 10 */ stw r7, 0x10(r3)
|
|
/* 80103FC4 000FFE04 90 E3 00 14 */ stw r7, 0x14(r3)
|
|
/* 80103FC8 000FFE08 90 03 00 18 */ stw r0, 0x18(r3)
|
|
/* 80103FCC 000FFE0C 90 C3 00 1C */ stw r6, 0x1c(r3)
|
|
/* 80103FD0 000FFE10 90 C3 00 20 */ stw r6, 0x20(r3)
|
|
/* 80103FD4 000FFE14 98 03 00 24 */ stb r0, 0x24(r3)
|
|
/* 80103FD8 000FFE18 4B F0 2B 99 */ bl lbl_80006B70
|
|
/* 80103FDC 000FFE1C 38 00 00 01 */ li r0, 0x1
|
|
/* 80103FE0 000FFE20 98 0D EB D0 */ stb r0, "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@sda21(r13)
|
|
.global lbl_80103FE4
|
|
lbl_80103FE4:
|
|
/* 80103FE4 000FFE24 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80103FE8 000FFE28 3C 60 80 53 */ lis r3, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@ha
|
|
/* 80103FEC 000FFE2C 38 63 89 3C */ addi r3, r3, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@l
|
|
/* 80103FF0 000FFE30 7C 08 03 A6 */ mtlr r0
|
|
/* 80103FF4 000FFE34 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80103FF8 000FFE38 4E 80 00 20 */ blr
|
|
/* 80103FFC 000FFE3C 00 00 00 00 */ .4byte 0x00000000
|
|
.global __dt__Q44nw4r3snd6detail14AxVoiceManagerFv
|
|
__dt__Q44nw4r3snd6detail14AxVoiceManagerFv:
|
|
/* 80104000 000FFE40 94 21 FF F0 */ stwu r1, -0x10(r1)
|
|
/* 80104004 000FFE44 7C 08 02 A6 */ mflr r0
|
|
/* 80104008 000FFE48 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 8010400C 000FFE4C 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80104010 000FFE50 93 E1 00 0C */ stw r31, 0xc(r1)
|
|
/* 80104014 000FFE54 7C 9F 23 78 */ mr r31, r4
|
|
/* 80104018 000FFE58 93 C1 00 08 */ stw r30, 0x8(r1)
|
|
/* 8010401C 000FFE5C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80104020 000FFE60 41 82 00 48 */ beq lbl_80104068
|
|
/* 80104024 000FFE64 34 63 00 18 */ addic. r3, r3, 0x18
|
|
/* 80104028 000FFE68 41 82 00 0C */ beq lbl_80104034
|
|
/* 8010402C 000FFE6C 38 80 00 00 */ li r4, 0x0
|
|
/* 80104030 000FFE70 48 01 BC 51 */ bl __dt__Q44nw4r2ut6detail12LinkListImplFv
|
|
.global lbl_80104034
|
|
lbl_80104034:
|
|
/* 80104034 000FFE74 34 7E 00 0C */ addic. r3, r30, 0xc
|
|
/* 80104038 000FFE78 41 82 00 0C */ beq lbl_80104044
|
|
/* 8010403C 000FFE7C 38 80 00 00 */ li r4, 0x0
|
|
/* 80104040 000FFE80 48 01 BC 41 */ bl __dt__Q44nw4r2ut6detail12LinkListImplFv
|
|
.global lbl_80104044
|
|
lbl_80104044:
|
|
/* 80104044 000FFE84 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 80104048 000FFE88 41 82 00 10 */ beq lbl_80104058
|
|
/* 8010404C 000FFE8C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104050 000FFE90 38 80 00 00 */ li r4, 0x0
|
|
/* 80104054 000FFE94 48 01 BC 2D */ bl __dt__Q44nw4r2ut6detail12LinkListImplFv
|
|
.global lbl_80104058
|
|
lbl_80104058:
|
|
/* 80104058 000FFE98 2C 1F 00 00 */ cmpwi r31, 0x0
|
|
/* 8010405C 000FFE9C 40 81 00 0C */ ble lbl_80104068
|
|
/* 80104060 000FFEA0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104064 000FFEA4 48 0B B6 B1 */ bl __dl__FPv
|
|
.global lbl_80104068
|
|
lbl_80104068:
|
|
/* 80104068 000FFEA8 7F C3 F3 78 */ mr r3, r30
|
|
/* 8010406C 000FFEAC 83 E1 00 0C */ lwz r31, 0xc(r1)
|
|
/* 80104070 000FFEB0 83 C1 00 08 */ lwz r30, 0x8(r1)
|
|
/* 80104074 000FFEB4 80 01 00 14 */ lwz r0, 0x14(r1)
|
|
/* 80104078 000FFEB8 7C 08 03 A6 */ mtlr r0
|
|
/* 8010407C 000FFEBC 38 21 00 10 */ addi r1, r1, 0x10
|
|
/* 80104080 000FFEC0 4E 80 00 20 */ blr
|
|
/* 80104084 000FFEC4 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80104088 000FFEC8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8010408C 000FFECC 00 00 00 00 */ .4byte 0x00000000
|
|
.global GetRequiredMemSize__Q44nw4r3snd6detail14AxVoiceManagerFi
|
|
GetRequiredMemSize__Q44nw4r3snd6detail14AxVoiceManagerFi:
|
|
/* 80104090 000FFED0 38 04 00 10 */ addi r0, r4, 0x10
|
|
/* 80104094 000FFED4 1C 60 00 48 */ mulli r3, r0, 0x48
|
|
/* 80104098 000FFED8 4E 80 00 20 */ blr
|
|
/* 8010409C 000FFEDC 00 00 00 00 */ .4byte 0x00000000
|
|
.global Setup__Q44nw4r3snd6detail14AxVoiceManagerFPvUl
|
|
Setup__Q44nw4r3snd6detail14AxVoiceManagerFPvUl:
|
|
/* 801040A0 000FFEE0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 801040A4 000FFEE4 7C 08 02 A6 */ mflr r0
|
|
/* 801040A8 000FFEE8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 801040AC 000FFEEC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 801040B0 000FFEF0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 801040B4 000FFEF4 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 801040B8 000FFEF8 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 801040BC 000FFEFC 7C 7C 1B 78 */ mr r28, r3
|
|
/* 801040C0 000FFF00 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 801040C4 000FFF04 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 801040C8 000FFF08 40 82 00 74 */ bne lbl_8010413C
|
|
/* 801040CC 000FFF0C 3C C0 38 E4 */ lis r6, 0x38e4
|
|
/* 801040D0 000FFF10 7C 9E 23 78 */ mr r30, r4
|
|
/* 801040D4 000FFF14 38 06 8E 39 */ addi r0, r6, -0x71c7
|
|
/* 801040D8 000FFF18 3B A0 00 00 */ li r29, 0x0
|
|
/* 801040DC 000FFF1C 7C 00 28 16 */ mulhwu r0, r0, r5
|
|
/* 801040E0 000FFF20 54 00 E1 3F */ srwi. r0, r0, 4
|
|
/* 801040E4 000FFF24 90 03 00 28 */ stw r0, 0x28(r3)
|
|
/* 801040E8 000FFF28 41 82 00 4C */ beq lbl_80104134
|
|
/* 801040EC 000FFF2C 3B E3 00 10 */ addi r31, r3, 0x10
|
|
/* 801040F0 000FFF30 48 00 00 38 */ b lbl_80104128
|
|
.global lbl_801040F4
|
|
lbl_801040F4:
|
|
/* 801040F4 000FFF34 2C 1E 00 00 */ cmpwi r30, 0x0
|
|
/* 801040F8 000FFF38 7F C5 F3 78 */ mr r5, r30
|
|
/* 801040FC 000FFF3C 41 82 00 10 */ beq lbl_8010410C
|
|
/* 80104100 000FFF40 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104104 000FFF44 4B FF CE CD */ bl __ct__Q44nw4r3snd6detail7AxVoiceFv
|
|
/* 80104108 000FFF48 7C 65 1B 78 */ mr r5, r3
|
|
.global lbl_8010410C
|
|
lbl_8010410C:
|
|
/* 8010410C 000FFF4C 93 E1 00 08 */ stw r31, 0x8(r1)
|
|
/* 80104110 000FFF50 38 7C 00 0C */ addi r3, r28, 0xc
|
|
/* 80104114 000FFF54 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80104118 000FFF58 38 A5 00 40 */ addi r5, r5, 0x40
|
|
/* 8010411C 000FFF5C 48 01 BC 95 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 80104120 000FFF60 3B DE 00 48 */ addi r30, r30, 0x48
|
|
/* 80104124 000FFF64 3B BD 00 01 */ addi r29, r29, 0x1
|
|
.global lbl_80104128
|
|
lbl_80104128:
|
|
/* 80104128 000FFF68 80 1C 00 28 */ lwz r0, 0x28(r28)
|
|
/* 8010412C 000FFF6C 7C 1D 00 40 */ cmplw r29, r0
|
|
/* 80104130 000FFF70 41 80 FF C4 */ blt lbl_801040F4
|
|
.global lbl_80104134
|
|
lbl_80104134:
|
|
/* 80104134 000FFF74 38 00 00 01 */ li r0, 0x1
|
|
/* 80104138 000FFF78 98 1C 00 24 */ stb r0, 0x24(r28)
|
|
.global lbl_8010413C
|
|
lbl_8010413C:
|
|
/* 8010413C 000FFF7C 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80104140 000FFF80 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80104144 000FFF84 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80104148 000FFF88 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8010414C 000FFF8C 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80104150 000FFF90 7C 08 03 A6 */ mtlr r0
|
|
/* 80104154 000FFF94 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80104158 000FFF98 4E 80 00 20 */ blr
|
|
/* 8010415C 000FFF9C 00 00 00 00 */ .4byte 0x00000000
|
|
.global Shutdown__Q44nw4r3snd6detail14AxVoiceManagerFv
|
|
Shutdown__Q44nw4r3snd6detail14AxVoiceManagerFv:
|
|
/* 80104160 000FFFA0 94 21 FF D0 */ stwu r1, -0x30(r1)
|
|
/* 80104164 000FFFA4 7C 08 02 A6 */ mflr r0
|
|
/* 80104168 000FFFA8 90 01 00 34 */ stw r0, 0x34(r1)
|
|
/* 8010416C 000FFFAC 93 E1 00 2C */ stw r31, 0x2c(r1)
|
|
/* 80104170 000FFFB0 7C 7F 1B 78 */ mr r31, r3
|
|
/* 80104174 000FFFB4 93 C1 00 28 */ stw r30, 0x28(r1)
|
|
/* 80104178 000FFFB8 93 A1 00 24 */ stw r29, 0x24(r1)
|
|
/* 8010417C 000FFFBC 93 81 00 20 */ stw r28, 0x20(r1)
|
|
/* 80104180 000FFFC0 88 03 00 24 */ lbz r0, 0x24(r3)
|
|
/* 80104184 000FFFC4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104188 000FFFC8 40 82 01 00 */ bne lbl_80104288
|
|
/* 8010418C 000FFFCC 48 00 02 48 */ b lbl_801043D4
|
|
/* 80104190 000FFFD0 48 00 00 F8 */ b lbl_80104288
|
|
.global lbl_80104194
|
|
lbl_80104194:
|
|
/* 80104194 000FFFD4 80 BF 00 04 */ lwz r5, 0x4(r31)
|
|
/* 80104198 000FFFD8 7F E3 FB 78 */ mr r3, r31
|
|
/* 8010419C 000FFFDC 90 A1 00 18 */ stw r5, 0x18(r1)
|
|
/* 801041A0 000FFFE0 38 81 00 18 */ addi r4, r1, 0x18
|
|
/* 801041A4 000FFFE4 3B 85 FF C0 */ addi r28, r5, -0x40
|
|
/* 801041A8 000FFFE8 48 01 BB 69 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
|
|
/* 801041AC 000FFFEC 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
/* 801041B0 000FFFF0 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 801041B4 000FFFF4 41 82 00 D4 */ beq lbl_80104288
|
|
/* 801041B8 000FFFF8 38 80 00 00 */ li r4, 0x0
|
|
/* 801041BC 000FFFFC 41 82 00 14 */ beq lbl_801041D0
|
|
/* 801041C0 00100000 A0 03 00 38 */ lhz r0, 0x38(r3)
|
|
/* 801041C4 00100004 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 801041C8 00100008 40 82 00 08 */ bne lbl_801041D0
|
|
/* 801041CC 0010000C 38 80 00 01 */ li r4, 0x1
|
|
.global lbl_801041D0
|
|
lbl_801041D0:
|
|
/* 801041D0 00100010 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 801041D4 00100014 41 82 00 0C */ beq lbl_801041E0
|
|
/* 801041D8 00100018 38 80 00 00 */ li r4, 0x0
|
|
/* 801041DC 0010001C 4B F4 1D 05 */ bl AXSetVoiceState
|
|
.global lbl_801041E0
|
|
lbl_801041E0:
|
|
/* 801041E0 00100020 81 9C 00 38 */ lwz r12, 0x38(r28)
|
|
/* 801041E4 00100024 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 801041E8 00100028 41 82 00 18 */ beq lbl_80104200
|
|
/* 801041EC 0010002C 7F 83 E3 78 */ mr r3, r28
|
|
/* 801041F0 00100030 80 BC 00 3C */ lwz r5, 0x3c(r28)
|
|
/* 801041F4 00100034 38 80 00 00 */ li r4, 0x0
|
|
/* 801041F8 00100038 7D 89 03 A6 */ mtctr r12
|
|
/* 801041FC 0010003C 4E 80 04 21 */ bctrl
|
|
.global lbl_80104200
|
|
lbl_80104200:
|
|
/* 80104200 00100040 4B F1 D6 21 */ bl OSDisableInterrupts
|
|
/* 80104204 00100044 80 1C 00 00 */ lwz r0, 0x0(r28)
|
|
/* 80104208 00100048 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8010420C 0010004C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104210 00100050 41 82 00 0C */ beq lbl_8010421C
|
|
/* 80104214 00100054 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
/* 80104218 00100058 4B F3 EE A9 */ bl AXFreeVoice
|
|
.global lbl_8010421C
|
|
lbl_8010421C:
|
|
/* 8010421C 0010005C 7F 83 E3 78 */ mr r3, r28
|
|
/* 80104220 00100060 38 80 FF FF */ li r4, -0x1
|
|
/* 80104224 00100064 4B FA 0B 8D */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
/* 80104228 00100068 4B F1 D5 F9 */ bl OSDisableInterrupts
|
|
/* 8010422C 0010006C 88 1C 00 1D */ lbz r0, 0x1d(r28)
|
|
/* 80104230 00100070 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80104234 00100074 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104238 00100078 41 82 00 18 */ beq lbl_80104250
|
|
/* 8010423C 0010007C 3B 9C 00 40 */ addi r28, r28, 0x40
|
|
/* 80104240 00100080 38 7F 00 18 */ addi r3, r31, 0x18
|
|
/* 80104244 00100084 7F 84 E3 78 */ mr r4, r28
|
|
/* 80104248 00100088 48 01 BB 99 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 8010424C 0010008C 48 00 00 14 */ b lbl_80104260
|
|
.global lbl_80104250
|
|
lbl_80104250:
|
|
/* 80104250 00100090 3B 9C 00 40 */ addi r28, r28, 0x40
|
|
/* 80104254 00100094 7F E3 FB 78 */ mr r3, r31
|
|
/* 80104258 00100098 7F 84 E3 78 */ mr r4, r28
|
|
/* 8010425C 0010009C 48 01 BB 85 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
.global lbl_80104260
|
|
lbl_80104260:
|
|
/* 80104260 001000A0 38 1F 00 10 */ addi r0, r31, 0x10
|
|
/* 80104264 001000A4 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 80104268 001000A8 7F 85 E3 78 */ mr r5, r28
|
|
/* 8010426C 001000AC 38 7F 00 0C */ addi r3, r31, 0xc
|
|
/* 80104270 001000B0 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 80104274 001000B4 48 01 BB 3D */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 80104278 001000B8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8010427C 001000BC 4B F1 D5 E5 */ bl OSRestoreInterrupts
|
|
/* 80104280 001000C0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104284 001000C4 4B F1 D5 DD */ bl OSRestoreInterrupts
|
|
.global lbl_80104288
|
|
lbl_80104288:
|
|
/* 80104288 001000C8 80 1F 00 00 */ lwz r0, 0x0(r31)
|
|
/* 8010428C 001000CC 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104290 001000D0 40 82 FF 04 */ bne lbl_80104194
|
|
/* 80104294 001000D4 48 00 00 FC */ b lbl_80104390
|
|
.global lbl_80104298
|
|
lbl_80104298:
|
|
/* 80104298 001000D8 80 BF 00 1C */ lwz r5, 0x1c(r31)
|
|
/* 8010429C 001000DC 7F E3 FB 78 */ mr r3, r31
|
|
/* 801042A0 001000E0 80 1F 00 04 */ lwz r0, 0x4(r31)
|
|
/* 801042A4 001000E4 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 801042A8 001000E8 90 01 00 10 */ stw r0, 0x10(r1)
|
|
/* 801042AC 001000EC 3B 85 FF C0 */ addi r28, r5, -0x40
|
|
/* 801042B0 001000F0 48 01 BA 61 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
|
|
/* 801042B4 001000F4 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
/* 801042B8 001000F8 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 801042BC 001000FC 41 82 00 D4 */ beq lbl_80104390
|
|
/* 801042C0 00100100 38 80 00 00 */ li r4, 0x0
|
|
/* 801042C4 00100104 41 82 00 14 */ beq lbl_801042D8
|
|
/* 801042C8 00100108 A0 03 00 38 */ lhz r0, 0x38(r3)
|
|
/* 801042CC 0010010C 28 00 00 01 */ cmplwi r0, 0x1
|
|
/* 801042D0 00100110 40 82 00 08 */ bne lbl_801042D8
|
|
/* 801042D4 00100114 38 80 00 01 */ li r4, 0x1
|
|
.global lbl_801042D8
|
|
lbl_801042D8:
|
|
/* 801042D8 00100118 2C 04 00 00 */ cmpwi r4, 0x0
|
|
/* 801042DC 0010011C 41 82 00 0C */ beq lbl_801042E8
|
|
/* 801042E0 00100120 38 80 00 00 */ li r4, 0x0
|
|
/* 801042E4 00100124 4B F4 1B FD */ bl AXSetVoiceState
|
|
.global lbl_801042E8
|
|
lbl_801042E8:
|
|
/* 801042E8 00100128 81 9C 00 38 */ lwz r12, 0x38(r28)
|
|
/* 801042EC 0010012C 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 801042F0 00100130 41 82 00 18 */ beq lbl_80104308
|
|
/* 801042F4 00100134 7F 83 E3 78 */ mr r3, r28
|
|
/* 801042F8 00100138 80 BC 00 3C */ lwz r5, 0x3c(r28)
|
|
/* 801042FC 0010013C 38 80 00 00 */ li r4, 0x0
|
|
/* 80104300 00100140 7D 89 03 A6 */ mtctr r12
|
|
/* 80104304 00100144 4E 80 04 21 */ bctrl
|
|
.global lbl_80104308
|
|
lbl_80104308:
|
|
/* 80104308 00100148 4B F1 D5 19 */ bl OSDisableInterrupts
|
|
/* 8010430C 0010014C 80 1C 00 00 */ lwz r0, 0x0(r28)
|
|
/* 80104310 00100150 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80104314 00100154 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104318 00100158 41 82 00 0C */ beq lbl_80104324
|
|
/* 8010431C 0010015C 80 7C 00 00 */ lwz r3, 0x0(r28)
|
|
/* 80104320 00100160 4B F3 ED A1 */ bl AXFreeVoice
|
|
.global lbl_80104324
|
|
lbl_80104324:
|
|
/* 80104324 00100164 7F 83 E3 78 */ mr r3, r28
|
|
/* 80104328 00100168 38 80 FF FF */ li r4, -0x1
|
|
/* 8010432C 0010016C 4B FA 0A 85 */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
/* 80104330 00100170 4B F1 D4 F1 */ bl OSDisableInterrupts
|
|
/* 80104334 00100174 88 1C 00 1D */ lbz r0, 0x1d(r28)
|
|
/* 80104338 00100178 7C 7E 1B 78 */ mr r30, r3
|
|
/* 8010433C 0010017C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104340 00100180 41 82 00 18 */ beq lbl_80104358
|
|
/* 80104344 00100184 3B 9C 00 40 */ addi r28, r28, 0x40
|
|
/* 80104348 00100188 38 7F 00 18 */ addi r3, r31, 0x18
|
|
/* 8010434C 0010018C 7F 84 E3 78 */ mr r4, r28
|
|
/* 80104350 00100190 48 01 BA 91 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 80104354 00100194 48 00 00 14 */ b lbl_80104368
|
|
.global lbl_80104358
|
|
lbl_80104358:
|
|
/* 80104358 00100198 3B 9C 00 40 */ addi r28, r28, 0x40
|
|
/* 8010435C 0010019C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80104360 001001A0 7F 84 E3 78 */ mr r4, r28
|
|
/* 80104364 001001A4 48 01 BA 7D */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
.global lbl_80104368
|
|
lbl_80104368:
|
|
/* 80104368 001001A8 38 1F 00 10 */ addi r0, r31, 0x10
|
|
/* 8010436C 001001AC 90 01 00 0C */ stw r0, 0xc(r1)
|
|
/* 80104370 001001B0 7F 85 E3 78 */ mr r5, r28
|
|
/* 80104374 001001B4 38 7F 00 0C */ addi r3, r31, 0xc
|
|
/* 80104378 001001B8 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8010437C 001001BC 48 01 BA 35 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 80104380 001001C0 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104384 001001C4 4B F1 D4 DD */ bl OSRestoreInterrupts
|
|
/* 80104388 001001C8 7F A3 EB 78 */ mr r3, r29
|
|
/* 8010438C 001001CC 4B F1 D4 D5 */ bl OSRestoreInterrupts
|
|
.global lbl_80104390
|
|
lbl_80104390:
|
|
/* 80104390 001001D0 80 1F 00 18 */ lwz r0, 0x18(r31)
|
|
/* 80104394 001001D4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104398 001001D8 40 82 FF 00 */ bne lbl_80104298
|
|
/* 8010439C 001001DC 48 00 00 24 */ b lbl_801043C0
|
|
.global lbl_801043A0
|
|
lbl_801043A0:
|
|
/* 801043A0 001001E0 83 9F 00 10 */ lwz r28, 0x10(r31)
|
|
/* 801043A4 001001E4 38 7F 00 0C */ addi r3, r31, 0xc
|
|
/* 801043A8 001001E8 93 81 00 08 */ stw r28, 0x8(r1)
|
|
/* 801043AC 001001EC 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 801043B0 001001F0 48 01 B9 61 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
|
|
/* 801043B4 001001F4 38 7C FF C0 */ addi r3, r28, -0x40
|
|
/* 801043B8 001001F8 38 80 FF FF */ li r4, -0x1
|
|
/* 801043BC 001001FC 4B FA 09 F5 */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
.global lbl_801043C0
|
|
lbl_801043C0:
|
|
/* 801043C0 00100200 80 1F 00 0C */ lwz r0, 0xc(r31)
|
|
/* 801043C4 00100204 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 801043C8 00100208 40 82 FF D8 */ bne lbl_801043A0
|
|
/* 801043CC 0010020C 38 00 00 00 */ li r0, 0x0
|
|
/* 801043D0 00100210 98 1F 00 24 */ stb r0, 0x24(r31)
|
|
.global lbl_801043D4
|
|
lbl_801043D4:
|
|
/* 801043D4 00100214 80 01 00 34 */ lwz r0, 0x34(r1)
|
|
/* 801043D8 00100218 83 E1 00 2C */ lwz r31, 0x2c(r1)
|
|
/* 801043DC 0010021C 83 C1 00 28 */ lwz r30, 0x28(r1)
|
|
/* 801043E0 00100220 83 A1 00 24 */ lwz r29, 0x24(r1)
|
|
/* 801043E4 00100224 83 81 00 20 */ lwz r28, 0x20(r1)
|
|
/* 801043E8 00100228 7C 08 03 A6 */ mtlr r0
|
|
/* 801043EC 0010022C 38 21 00 30 */ addi r1, r1, 0x30
|
|
/* 801043F0 00100230 4E 80 00 20 */ blr
|
|
/* 801043F4 00100234 00 00 00 00 */ .4byte 0x00000000
|
|
/* 801043F8 00100238 00 00 00 00 */ .4byte 0x00000000
|
|
/* 801043FC 0010023C 00 00 00 00 */ .4byte 0x00000000
|
|
.global AcquireAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFUlPFPQ44nw4r3snd6detail7AxVoiceQ54nw4r3snd6detail7AxVoice21AxVoiceCallbackStatusPv_vPv
|
|
AcquireAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFUlPFPQ44nw4r3snd6detail7AxVoiceQ54nw4r3snd6detail7AxVoice21AxVoiceCallbackStatusPv_vPv:
|
|
/* 80104400 00100240 94 21 FF A0 */ stwu r1, -0x60(r1)
|
|
/* 80104404 00100244 7C 08 02 A6 */ mflr r0
|
|
/* 80104408 00100248 90 01 00 64 */ stw r0, 0x64(r1)
|
|
/* 8010440C 0010024C 39 61 00 60 */ addi r11, r1, 0x60
|
|
/* 80104410 00100250 4B F0 2F 05 */ bl lbl_80007314
|
|
/* 80104414 00100254 7C 76 1B 78 */ mr r22, r3
|
|
/* 80104418 00100258 7C 97 23 78 */ mr r23, r4
|
|
/* 8010441C 0010025C 7C B8 2B 78 */ mr r24, r5
|
|
/* 80104420 00100260 7C D9 33 78 */ mr r25, r6
|
|
/* 80104424 00100264 4B F1 D3 FD */ bl OSDisableInterrupts
|
|
/* 80104428 00100268 7C 75 1B 78 */ mr r21, r3
|
|
/* 8010442C 0010026C 4B F1 D3 F5 */ bl OSDisableInterrupts
|
|
/* 80104430 00100270 80 16 00 18 */ lwz r0, 0x18(r22)
|
|
/* 80104434 00100274 7C 74 1B 78 */ mr r20, r3
|
|
/* 80104438 00100278 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8010443C 0010027C 41 82 01 30 */ beq lbl_8010456C
|
|
/* 80104440 00100280 3F 60 80 53 */ lis r27, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@ha
|
|
/* 80104444 00100284 3B 80 00 00 */ li r28, 0x0
|
|
/* 80104448 00100288 3B 7B 89 3C */ addi r27, r27, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@l
|
|
/* 8010444C 0010028C 3F A0 80 10 */ lis r29, __dt__Q44nw4r3snd6detail14AxVoiceManagerFv@ha
|
|
/* 80104450 00100290 3F C0 80 53 */ lis r30, "@3158"@ha
|
|
/* 80104454 00100294 3B E0 00 01 */ li r31, 0x1
|
|
/* 80104458 00100298 3A 3B 00 10 */ addi r17, r27, 0x10
|
|
/* 8010445C 0010029C 48 00 01 04 */ b lbl_80104560
|
|
.global lbl_80104460
|
|
lbl_80104460:
|
|
/* 80104460 001002A0 80 76 00 1C */ lwz r3, 0x1c(r22)
|
|
/* 80104464 001002A4 81 83 FF F8 */ lwz r12, -0x8(r3)
|
|
/* 80104468 001002A8 3B 43 FF C0 */ addi r26, r3, -0x40
|
|
/* 8010446C 001002AC 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80104470 001002B0 41 82 00 18 */ beq lbl_80104488
|
|
/* 80104474 001002B4 7F 43 D3 78 */ mr r3, r26
|
|
/* 80104478 001002B8 80 BA 00 3C */ lwz r5, 0x3c(r26)
|
|
/* 8010447C 001002BC 38 80 00 01 */ li r4, 0x1
|
|
/* 80104480 001002C0 7D 89 03 A6 */ mtctr r12
|
|
/* 80104484 001002C4 4E 80 04 21 */ bctrl
|
|
.global lbl_80104488
|
|
lbl_80104488:
|
|
/* 80104488 001002C8 88 0D EB D0 */ lbz r0, "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@sda21(r13)
|
|
/* 8010448C 001002CC 7C 00 07 75 */ extsb. r0, r0
|
|
/* 80104490 001002D0 40 82 00 4C */ bne lbl_801044DC
|
|
/* 80104494 001002D4 38 1B 00 04 */ addi r0, r27, 0x4
|
|
/* 80104498 001002D8 38 DB 00 10 */ addi r6, r27, 0x10
|
|
/* 8010449C 001002DC 38 FB 00 1C */ addi r7, r27, 0x1c
|
|
/* 801044A0 001002E0 93 9B 00 00 */ stw r28, 0x0(r27)
|
|
/* 801044A4 001002E4 7F 63 DB 78 */ mr r3, r27
|
|
/* 801044A8 001002E8 38 9D 40 00 */ addi r4, r29, __dt__Q44nw4r3snd6detail14AxVoiceManagerFv@l
|
|
/* 801044AC 001002EC 90 1B 00 04 */ stw r0, 0x4(r27)
|
|
/* 801044B0 001002F0 38 BE 89 30 */ addi r5, r30, "@3158"@l
|
|
/* 801044B4 001002F4 90 1B 00 08 */ stw r0, 0x8(r27)
|
|
/* 801044B8 001002F8 93 9B 00 0C */ stw r28, 0xc(r27)
|
|
/* 801044BC 001002FC 90 DB 00 10 */ stw r6, 0x10(r27)
|
|
/* 801044C0 00100300 90 DB 00 14 */ stw r6, 0x14(r27)
|
|
/* 801044C4 00100304 93 9B 00 18 */ stw r28, 0x18(r27)
|
|
/* 801044C8 00100308 90 FB 00 1C */ stw r7, 0x1c(r27)
|
|
/* 801044CC 0010030C 90 FB 00 20 */ stw r7, 0x20(r27)
|
|
/* 801044D0 00100310 9B 9B 00 24 */ stb r28, 0x24(r27)
|
|
/* 801044D4 00100314 4B F0 26 9D */ bl lbl_80006B70
|
|
/* 801044D8 00100318 9B ED EB D0 */ stb r31, "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@sda21(r13)
|
|
.global lbl_801044DC
|
|
lbl_801044DC:
|
|
/* 801044DC 0010031C 4B F1 D3 45 */ bl OSDisableInterrupts
|
|
/* 801044E0 00100320 80 1A 00 00 */ lwz r0, 0x0(r26)
|
|
/* 801044E4 00100324 7C 73 1B 78 */ mr r19, r3
|
|
/* 801044E8 00100328 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 801044EC 0010032C 41 82 00 0C */ beq lbl_801044F8
|
|
/* 801044F0 00100330 80 7A 00 00 */ lwz r3, 0x0(r26)
|
|
/* 801044F4 00100334 4B F3 EB CD */ bl AXFreeVoice
|
|
.global lbl_801044F8
|
|
lbl_801044F8:
|
|
/* 801044F8 00100338 7F 43 D3 78 */ mr r3, r26
|
|
/* 801044FC 0010033C 38 80 FF FF */ li r4, -0x1
|
|
/* 80104500 00100340 4B FA 08 B1 */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
/* 80104504 00100344 4B F1 D3 1D */ bl OSDisableInterrupts
|
|
/* 80104508 00100348 88 1A 00 1D */ lbz r0, 0x1d(r26)
|
|
/* 8010450C 0010034C 7C 72 1B 78 */ mr r18, r3
|
|
/* 80104510 00100350 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104514 00100354 41 82 00 18 */ beq lbl_8010452C
|
|
/* 80104518 00100358 3B 5A 00 40 */ addi r26, r26, 0x40
|
|
/* 8010451C 0010035C 38 7B 00 18 */ addi r3, r27, 0x18
|
|
/* 80104520 00100360 7F 44 D3 78 */ mr r4, r26
|
|
/* 80104524 00100364 48 01 B8 BD */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 80104528 00100368 48 00 00 14 */ b lbl_8010453C
|
|
.global lbl_8010452C
|
|
lbl_8010452C:
|
|
/* 8010452C 0010036C 3B 5A 00 40 */ addi r26, r26, 0x40
|
|
/* 80104530 00100370 7F 63 DB 78 */ mr r3, r27
|
|
/* 80104534 00100374 7F 44 D3 78 */ mr r4, r26
|
|
/* 80104538 00100378 48 01 B8 A9 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
.global lbl_8010453C
|
|
lbl_8010453C:
|
|
/* 8010453C 0010037C 92 21 00 0C */ stw r17, 0xc(r1)
|
|
/* 80104540 00100380 7F 45 D3 78 */ mr r5, r26
|
|
/* 80104544 00100384 38 7B 00 0C */ addi r3, r27, 0xc
|
|
/* 80104548 00100388 38 81 00 0C */ addi r4, r1, 0xc
|
|
/* 8010454C 0010038C 48 01 B8 65 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 80104550 00100390 7E 43 93 78 */ mr r3, r18
|
|
/* 80104554 00100394 4B F1 D3 0D */ bl OSRestoreInterrupts
|
|
/* 80104558 00100398 7E 63 9B 78 */ mr r3, r19
|
|
/* 8010455C 0010039C 4B F1 D3 05 */ bl OSRestoreInterrupts
|
|
.global lbl_80104560
|
|
lbl_80104560:
|
|
/* 80104560 001003A0 80 16 00 18 */ lwz r0, 0x18(r22)
|
|
/* 80104564 001003A4 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104568 001003A8 40 82 FE F8 */ bne lbl_80104460
|
|
.global lbl_8010456C
|
|
lbl_8010456C:
|
|
/* 8010456C 001003AC 80 16 00 0C */ lwz r0, 0xc(r22)
|
|
/* 80104570 001003B0 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104574 001003B4 40 82 00 14 */ bne lbl_80104588
|
|
/* 80104578 001003B8 7E 83 A3 78 */ mr r3, r20
|
|
/* 8010457C 001003BC 4B F1 D2 E5 */ bl OSRestoreInterrupts
|
|
/* 80104580 001003C0 3A 60 00 00 */ li r19, 0x0
|
|
/* 80104584 001003C4 48 00 00 54 */ b lbl_801045D8
|
|
.global lbl_80104588
|
|
lbl_80104588:
|
|
/* 80104588 001003C8 80 B6 00 10 */ lwz r5, 0x10(r22)
|
|
/* 8010458C 001003CC 38 76 00 0C */ addi r3, r22, 0xc
|
|
/* 80104590 001003D0 90 A1 00 10 */ stw r5, 0x10(r1)
|
|
/* 80104594 001003D4 38 81 00 10 */ addi r4, r1, 0x10
|
|
/* 80104598 001003D8 3A 25 FF C0 */ addi r17, r5, -0x40
|
|
/* 8010459C 001003DC 48 01 B7 75 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8Iterator
|
|
/* 801045A0 001003E0 2C 11 00 00 */ cmpwi r17, 0x0
|
|
/* 801045A4 001003E4 7E 33 8B 78 */ mr r19, r17
|
|
/* 801045A8 001003E8 41 82 00 10 */ beq lbl_801045B8
|
|
/* 801045AC 001003EC 7E 23 8B 78 */ mr r3, r17
|
|
/* 801045B0 001003F0 4B FF CA 21 */ bl __ct__Q44nw4r3snd6detail7AxVoiceFv
|
|
/* 801045B4 001003F4 7C 73 1B 78 */ mr r19, r3
|
|
.global lbl_801045B8
|
|
lbl_801045B8:
|
|
/* 801045B8 001003F8 38 16 00 04 */ addi r0, r22, 0x4
|
|
/* 801045BC 001003FC 90 01 00 14 */ stw r0, 0x14(r1)
|
|
/* 801045C0 00100400 7E C3 B3 78 */ mr r3, r22
|
|
/* 801045C4 00100404 38 81 00 14 */ addi r4, r1, 0x14
|
|
/* 801045C8 00100408 38 B1 00 40 */ addi r5, r17, 0x40
|
|
/* 801045CC 0010040C 48 01 B7 E5 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 801045D0 00100410 7E 83 A3 78 */ mr r3, r20
|
|
/* 801045D4 00100414 4B F1 D2 8D */ bl OSRestoreInterrupts
|
|
.global lbl_801045D8
|
|
lbl_801045D8:
|
|
/* 801045D8 00100418 2C 13 00 00 */ cmpwi r19, 0x0
|
|
/* 801045DC 0010041C 40 82 00 14 */ bne lbl_801045F0
|
|
/* 801045E0 00100420 7E A3 AB 78 */ mr r3, r21
|
|
/* 801045E4 00100424 4B F1 D2 7D */ bl OSRestoreInterrupts
|
|
/* 801045E8 00100428 38 60 00 00 */ li r3, 0x0
|
|
/* 801045EC 0010042C 48 00 00 B4 */ b lbl_801046A0
|
|
.global lbl_801045F0
|
|
lbl_801045F0:
|
|
/* 801045F0 00100430 3C 80 80 10 */ lis r4, VoiceCallback__Q44nw4r3snd6detail7AxVoiceFPv@ha
|
|
/* 801045F4 00100434 7E E3 BB 78 */ mr r3, r23
|
|
/* 801045F8 00100438 7E 65 9B 78 */ mr r5, r19
|
|
/* 801045FC 0010043C 38 84 1A E0 */ addi r4, r4, VoiceCallback__Q44nw4r3snd6detail7AxVoiceFPv@l
|
|
/* 80104600 00100440 4B F3 EB 41 */ bl AXAcquireVoice
|
|
/* 80104604 00100444 2C 03 00 00 */ cmpwi r3, 0x0
|
|
/* 80104608 00100448 7C 64 1B 78 */ mr r4, r3
|
|
/* 8010460C 0010044C 40 82 00 78 */ bne lbl_80104684
|
|
/* 80104610 00100450 7E 63 9B 78 */ mr r3, r19
|
|
/* 80104614 00100454 38 80 FF FF */ li r4, -0x1
|
|
/* 80104618 00100458 4B FA 07 99 */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
/* 8010461C 0010045C 4B F1 D2 05 */ bl OSDisableInterrupts
|
|
/* 80104620 00100460 88 13 00 1D */ lbz r0, 0x1d(r19)
|
|
/* 80104624 00100464 7C 72 1B 78 */ mr r18, r3
|
|
/* 80104628 00100468 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8010462C 0010046C 41 82 00 18 */ beq lbl_80104644
|
|
/* 80104630 00100470 3A 33 00 40 */ addi r17, r19, 0x40
|
|
/* 80104634 00100474 38 76 00 18 */ addi r3, r22, 0x18
|
|
/* 80104638 00100478 7E 24 8B 78 */ mr r4, r17
|
|
/* 8010463C 0010047C 48 01 B7 A5 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 80104640 00100480 48 00 00 14 */ b lbl_80104654
|
|
.global lbl_80104644
|
|
lbl_80104644:
|
|
/* 80104644 00100484 3A 33 00 40 */ addi r17, r19, 0x40
|
|
/* 80104648 00100488 7E C3 B3 78 */ mr r3, r22
|
|
/* 8010464C 0010048C 7E 24 8B 78 */ mr r4, r17
|
|
/* 80104650 00100490 48 01 B7 91 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
.global lbl_80104654
|
|
lbl_80104654:
|
|
/* 80104654 00100494 38 16 00 10 */ addi r0, r22, 0x10
|
|
/* 80104658 00100498 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 8010465C 0010049C 7E 25 8B 78 */ mr r5, r17
|
|
/* 80104660 001004A0 38 76 00 0C */ addi r3, r22, 0xc
|
|
/* 80104664 001004A4 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80104668 001004A8 48 01 B7 49 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 8010466C 001004AC 7E 43 93 78 */ mr r3, r18
|
|
/* 80104670 001004B0 4B F1 D1 F1 */ bl OSRestoreInterrupts
|
|
/* 80104674 001004B4 7E A3 AB 78 */ mr r3, r21
|
|
/* 80104678 001004B8 4B F1 D1 E9 */ bl OSRestoreInterrupts
|
|
/* 8010467C 001004BC 38 60 00 00 */ li r3, 0x0
|
|
/* 80104680 001004C0 48 00 00 20 */ b lbl_801046A0
|
|
.global lbl_80104684
|
|
lbl_80104684:
|
|
/* 80104684 001004C4 7E 63 9B 78 */ mr r3, r19
|
|
/* 80104688 001004C8 4B FF F1 D9 */ bl Set__Q44nw4r3snd6detail17AxVoiceParamBlockFP6_AXVPB
|
|
/* 8010468C 001004CC 93 13 00 38 */ stw r24, 0x38(r19)
|
|
/* 80104690 001004D0 7E A3 AB 78 */ mr r3, r21
|
|
/* 80104694 001004D4 93 33 00 3C */ stw r25, 0x3c(r19)
|
|
/* 80104698 001004D8 4B F1 D1 C9 */ bl OSRestoreInterrupts
|
|
/* 8010469C 001004DC 7E 63 9B 78 */ mr r3, r19
|
|
.global lbl_801046A0
|
|
lbl_801046A0:
|
|
/* 801046A0 001004E0 39 61 00 60 */ addi r11, r1, 0x60
|
|
/* 801046A4 001004E4 4B F0 2C BD */ bl lbl_80007360
|
|
/* 801046A8 001004E8 80 01 00 64 */ lwz r0, 0x64(r1)
|
|
/* 801046AC 001004EC 7C 08 03 A6 */ mtlr r0
|
|
/* 801046B0 001004F0 38 21 00 60 */ addi r1, r1, 0x60
|
|
/* 801046B4 001004F4 4E 80 00 20 */ blr
|
|
/* 801046B8 001004F8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 801046BC 001004FC 00 00 00 00 */ .4byte 0x00000000
|
|
.global FreeAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFPQ44nw4r3snd6detail7AxVoice
|
|
FreeAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFPQ44nw4r3snd6detail7AxVoice:
|
|
/* 801046C0 00100500 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 801046C4 00100504 7C 08 02 A6 */ mflr r0
|
|
/* 801046C8 00100508 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 801046CC 0010050C 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 801046D0 00100510 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 801046D4 00100514 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 801046D8 00100518 7C 9D 23 78 */ mr r29, r4
|
|
/* 801046DC 0010051C 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 801046E0 00100520 7C 7C 1B 78 */ mr r28, r3
|
|
/* 801046E4 00100524 4B F1 D1 3D */ bl OSDisableInterrupts
|
|
/* 801046E8 00100528 80 1D 00 00 */ lwz r0, 0x0(r29)
|
|
/* 801046EC 0010052C 7C 7F 1B 78 */ mr r31, r3
|
|
/* 801046F0 00100530 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 801046F4 00100534 41 82 00 0C */ beq lbl_80104700
|
|
/* 801046F8 00100538 80 7D 00 00 */ lwz r3, 0x0(r29)
|
|
/* 801046FC 0010053C 4B F3 E9 C5 */ bl AXFreeVoice
|
|
.global lbl_80104700
|
|
lbl_80104700:
|
|
/* 80104700 00100540 7F A3 EB 78 */ mr r3, r29
|
|
/* 80104704 00100544 38 80 FF FF */ li r4, -0x1
|
|
/* 80104708 00100548 4B FA 06 A9 */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
/* 8010470C 0010054C 4B F1 D1 15 */ bl OSDisableInterrupts
|
|
/* 80104710 00100550 88 1D 00 1D */ lbz r0, 0x1d(r29)
|
|
/* 80104714 00100554 7C 7E 1B 78 */ mr r30, r3
|
|
/* 80104718 00100558 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8010471C 0010055C 41 82 00 18 */ beq lbl_80104734
|
|
/* 80104720 00100560 3B BD 00 40 */ addi r29, r29, 0x40
|
|
/* 80104724 00100564 38 7C 00 18 */ addi r3, r28, 0x18
|
|
/* 80104728 00100568 7F A4 EB 78 */ mr r4, r29
|
|
/* 8010472C 0010056C 48 01 B6 B5 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 80104730 00100570 48 00 00 14 */ b lbl_80104744
|
|
.global lbl_80104734
|
|
lbl_80104734:
|
|
/* 80104734 00100574 3B BD 00 40 */ addi r29, r29, 0x40
|
|
/* 80104738 00100578 7F 83 E3 78 */ mr r3, r28
|
|
/* 8010473C 0010057C 7F A4 EB 78 */ mr r4, r29
|
|
/* 80104740 00100580 48 01 B6 A1 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
.global lbl_80104744
|
|
lbl_80104744:
|
|
/* 80104744 00100584 38 1C 00 10 */ addi r0, r28, 0x10
|
|
/* 80104748 00100588 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 8010474C 0010058C 7F A5 EB 78 */ mr r5, r29
|
|
/* 80104750 00100590 38 7C 00 0C */ addi r3, r28, 0xc
|
|
/* 80104754 00100594 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80104758 00100598 48 01 B6 59 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 8010475C 0010059C 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104760 001005A0 4B F1 D1 01 */ bl OSRestoreInterrupts
|
|
/* 80104764 001005A4 7F E3 FB 78 */ mr r3, r31
|
|
/* 80104768 001005A8 4B F1 D0 F9 */ bl OSRestoreInterrupts
|
|
/* 8010476C 001005AC 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80104770 001005B0 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 80104774 001005B4 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80104778 001005B8 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 8010477C 001005BC 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80104780 001005C0 7C 08 03 A6 */ mtlr r0
|
|
/* 80104784 001005C4 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80104788 001005C8 4E 80 00 20 */ blr
|
|
/* 8010478C 001005CC 00 00 00 00 */ .4byte 0x00000000
|
|
.global ReserveForFreeAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFPQ44nw4r3snd6detail7AxVoice
|
|
ReserveForFreeAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFPQ44nw4r3snd6detail7AxVoice:
|
|
/* 80104790 001005D0 94 21 FF E0 */ stwu r1, -0x20(r1)
|
|
/* 80104794 001005D4 7C 08 02 A6 */ mflr r0
|
|
/* 80104798 001005D8 90 01 00 24 */ stw r0, 0x24(r1)
|
|
/* 8010479C 001005DC 93 E1 00 1C */ stw r31, 0x1c(r1)
|
|
/* 801047A0 001005E0 93 C1 00 18 */ stw r30, 0x18(r1)
|
|
/* 801047A4 001005E4 93 A1 00 14 */ stw r29, 0x14(r1)
|
|
/* 801047A8 001005E8 7C 9D 23 78 */ mr r29, r4
|
|
/* 801047AC 001005EC 93 81 00 10 */ stw r28, 0x10(r1)
|
|
/* 801047B0 001005F0 7C 7C 1B 78 */ mr r28, r3
|
|
/* 801047B4 001005F4 4B F1 D0 6D */ bl OSDisableInterrupts
|
|
/* 801047B8 001005F8 38 00 00 01 */ li r0, 0x1
|
|
/* 801047BC 001005FC 98 1D 00 1D */ stb r0, 0x1d(r29)
|
|
/* 801047C0 00100600 7C 7F 1B 78 */ mr r31, r3
|
|
/* 801047C4 00100604 4B F1 D0 5D */ bl OSDisableInterrupts
|
|
/* 801047C8 00100608 3B BD 00 40 */ addi r29, r29, 0x40
|
|
/* 801047CC 0010060C 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801047D0 00100610 7F 83 E3 78 */ mr r3, r28
|
|
/* 801047D4 00100614 7F A4 EB 78 */ mr r4, r29
|
|
/* 801047D8 00100618 48 01 B6 09 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 801047DC 0010061C 38 1C 00 1C */ addi r0, r28, 0x1c
|
|
/* 801047E0 00100620 90 01 00 08 */ stw r0, 0x8(r1)
|
|
/* 801047E4 00100624 7F A5 EB 78 */ mr r5, r29
|
|
/* 801047E8 00100628 38 7C 00 18 */ addi r3, r28, 0x18
|
|
/* 801047EC 0010062C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 801047F0 00100630 48 01 B5 C1 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 801047F4 00100634 7F C3 F3 78 */ mr r3, r30
|
|
/* 801047F8 00100638 4B F1 D0 69 */ bl OSRestoreInterrupts
|
|
/* 801047FC 0010063C 7F E3 FB 78 */ mr r3, r31
|
|
/* 80104800 00100640 4B F1 D0 61 */ bl OSRestoreInterrupts
|
|
/* 80104804 00100644 80 01 00 24 */ lwz r0, 0x24(r1)
|
|
/* 80104808 00100648 83 E1 00 1C */ lwz r31, 0x1c(r1)
|
|
/* 8010480C 0010064C 83 C1 00 18 */ lwz r30, 0x18(r1)
|
|
/* 80104810 00100650 83 A1 00 14 */ lwz r29, 0x14(r1)
|
|
/* 80104814 00100654 83 81 00 10 */ lwz r28, 0x10(r1)
|
|
/* 80104818 00100658 7C 08 03 A6 */ mtlr r0
|
|
/* 8010481C 0010065C 38 21 00 20 */ addi r1, r1, 0x20
|
|
/* 80104820 00100660 4E 80 00 20 */ blr
|
|
/* 80104824 00100664 00 00 00 00 */ .4byte 0x00000000
|
|
/* 80104828 00100668 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8010482C 0010066C 00 00 00 00 */ .4byte 0x00000000
|
|
.global FreeAllReservedAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFv
|
|
FreeAllReservedAxVoice__Q44nw4r3snd6detail14AxVoiceManagerFv:
|
|
/* 80104830 00100670 94 21 FF C0 */ stwu r1, -0x40(r1)
|
|
/* 80104834 00100674 7C 08 02 A6 */ mflr r0
|
|
/* 80104838 00100678 90 01 00 44 */ stw r0, 0x44(r1)
|
|
/* 8010483C 0010067C 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80104840 00100680 4B F0 2A E9 */ bl lbl_80007328
|
|
/* 80104844 00100684 80 03 00 18 */ lwz r0, 0x18(r3)
|
|
/* 80104848 00100688 7C 7F 1B 78 */ mr r31, r3
|
|
/* 8010484C 0010068C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104850 00100690 41 82 01 30 */ beq lbl_80104980
|
|
/* 80104854 00100694 3E E0 80 53 */ lis r23, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@ha
|
|
/* 80104858 00100698 3B 00 00 00 */ li r24, 0x0
|
|
/* 8010485C 0010069C 3A F7 89 3C */ addi r23, r23, "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@l
|
|
/* 80104860 001006A0 3F 20 80 10 */ lis r25, __dt__Q44nw4r3snd6detail14AxVoiceManagerFv@ha
|
|
/* 80104864 001006A4 3F 40 80 53 */ lis r26, "@3158"@ha
|
|
/* 80104868 001006A8 3B 60 00 01 */ li r27, 0x1
|
|
/* 8010486C 001006AC 3B 97 00 10 */ addi r28, r23, 0x10
|
|
/* 80104870 001006B0 48 00 01 04 */ b lbl_80104974
|
|
.global lbl_80104874
|
|
lbl_80104874:
|
|
/* 80104874 001006B4 80 7F 00 1C */ lwz r3, 0x1c(r31)
|
|
/* 80104878 001006B8 81 83 FF F8 */ lwz r12, -0x8(r3)
|
|
/* 8010487C 001006BC 3A C3 FF C0 */ addi r22, r3, -0x40
|
|
/* 80104880 001006C0 2C 0C 00 00 */ cmpwi r12, 0x0
|
|
/* 80104884 001006C4 41 82 00 18 */ beq lbl_8010489C
|
|
/* 80104888 001006C8 7E C3 B3 78 */ mr r3, r22
|
|
/* 8010488C 001006CC 80 B6 00 3C */ lwz r5, 0x3c(r22)
|
|
/* 80104890 001006D0 38 80 00 01 */ li r4, 0x1
|
|
/* 80104894 001006D4 7D 89 03 A6 */ mtctr r12
|
|
/* 80104898 001006D8 4E 80 04 21 */ bctrl
|
|
.global lbl_8010489C
|
|
lbl_8010489C:
|
|
/* 8010489C 001006DC 88 0D EB D0 */ lbz r0, "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@sda21(r13)
|
|
/* 801048A0 001006E0 7C 00 07 75 */ extsb. r0, r0
|
|
/* 801048A4 001006E4 40 82 00 4C */ bne lbl_801048F0
|
|
/* 801048A8 001006E8 38 17 00 04 */ addi r0, r23, 0x4
|
|
/* 801048AC 001006EC 38 D7 00 10 */ addi r6, r23, 0x10
|
|
/* 801048B0 001006F0 38 F7 00 1C */ addi r7, r23, 0x1c
|
|
/* 801048B4 001006F4 93 17 00 00 */ stw r24, 0x0(r23)
|
|
/* 801048B8 001006F8 7E E3 BB 78 */ mr r3, r23
|
|
/* 801048BC 001006FC 38 99 40 00 */ addi r4, r25, __dt__Q44nw4r3snd6detail14AxVoiceManagerFv@l
|
|
/* 801048C0 00100700 90 17 00 04 */ stw r0, 0x4(r23)
|
|
/* 801048C4 00100704 38 BA 89 30 */ addi r5, r26, "@3158"@l
|
|
/* 801048C8 00100708 90 17 00 08 */ stw r0, 0x8(r23)
|
|
/* 801048CC 0010070C 93 17 00 0C */ stw r24, 0xc(r23)
|
|
/* 801048D0 00100710 90 D7 00 10 */ stw r6, 0x10(r23)
|
|
/* 801048D4 00100714 90 D7 00 14 */ stw r6, 0x14(r23)
|
|
/* 801048D8 00100718 93 17 00 18 */ stw r24, 0x18(r23)
|
|
/* 801048DC 0010071C 90 F7 00 1C */ stw r7, 0x1c(r23)
|
|
/* 801048E0 00100720 90 F7 00 20 */ stw r7, 0x20(r23)
|
|
/* 801048E4 00100724 9B 17 00 24 */ stb r24, 0x24(r23)
|
|
/* 801048E8 00100728 4B F0 22 89 */ bl lbl_80006B70
|
|
/* 801048EC 0010072C 9B 6D EB D0 */ stb r27, "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"@sda21(r13)
|
|
.global lbl_801048F0
|
|
lbl_801048F0:
|
|
/* 801048F0 00100730 4B F1 CF 31 */ bl OSDisableInterrupts
|
|
/* 801048F4 00100734 80 16 00 00 */ lwz r0, 0x0(r22)
|
|
/* 801048F8 00100738 7C 7E 1B 78 */ mr r30, r3
|
|
/* 801048FC 0010073C 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104900 00100740 41 82 00 0C */ beq lbl_8010490C
|
|
/* 80104904 00100744 80 76 00 00 */ lwz r3, 0x0(r22)
|
|
/* 80104908 00100748 4B F3 E7 B9 */ bl AXFreeVoice
|
|
.global lbl_8010490C
|
|
lbl_8010490C:
|
|
/* 8010490C 0010074C 7E C3 B3 78 */ mr r3, r22
|
|
/* 80104910 00100750 38 80 FF FF */ li r4, -0x1
|
|
/* 80104914 00100754 4B FA 04 9D */ bl __dt__Q34nw4r2ef7EmitterFv
|
|
/* 80104918 00100758 4B F1 CF 09 */ bl OSDisableInterrupts
|
|
/* 8010491C 0010075C 88 16 00 1D */ lbz r0, 0x1d(r22)
|
|
/* 80104920 00100760 7C 7D 1B 78 */ mr r29, r3
|
|
/* 80104924 00100764 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 80104928 00100768 41 82 00 18 */ beq lbl_80104940
|
|
/* 8010492C 0010076C 3A D6 00 40 */ addi r22, r22, 0x40
|
|
/* 80104930 00100770 38 77 00 18 */ addi r3, r23, 0x18
|
|
/* 80104934 00100774 7E C4 B3 78 */ mr r4, r22
|
|
/* 80104938 00100778 48 01 B4 A9 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
/* 8010493C 0010077C 48 00 00 14 */ b lbl_80104950
|
|
.global lbl_80104940
|
|
lbl_80104940:
|
|
/* 80104940 00100780 3A D6 00 40 */ addi r22, r22, 0x40
|
|
/* 80104944 00100784 7E E3 BB 78 */ mr r3, r23
|
|
/* 80104948 00100788 7E C4 B3 78 */ mr r4, r22
|
|
/* 8010494C 0010078C 48 01 B4 95 */ bl Erase__Q44nw4r2ut6detail12LinkListImplFPQ34nw4r2ut12LinkListNode
|
|
.global lbl_80104950
|
|
lbl_80104950:
|
|
/* 80104950 00100790 93 81 00 08 */ stw r28, 0x8(r1)
|
|
/* 80104954 00100794 7E C5 B3 78 */ mr r5, r22
|
|
/* 80104958 00100798 38 77 00 0C */ addi r3, r23, 0xc
|
|
/* 8010495C 0010079C 38 81 00 08 */ addi r4, r1, 0x8
|
|
/* 80104960 001007A0 48 01 B4 51 */ bl Insert__Q44nw4r2ut6detail12LinkListImplFQ54nw4r2ut6detail12LinkListImpl8IteratorPQ34nw4r2ut12LinkListNode
|
|
/* 80104964 001007A4 7F A3 EB 78 */ mr r3, r29
|
|
/* 80104968 001007A8 4B F1 CE F9 */ bl OSRestoreInterrupts
|
|
/* 8010496C 001007AC 7F C3 F3 78 */ mr r3, r30
|
|
/* 80104970 001007B0 4B F1 CE F1 */ bl OSRestoreInterrupts
|
|
.global lbl_80104974
|
|
lbl_80104974:
|
|
/* 80104974 001007B4 80 1F 00 18 */ lwz r0, 0x18(r31)
|
|
/* 80104978 001007B8 2C 00 00 00 */ cmpwi r0, 0x0
|
|
/* 8010497C 001007BC 40 82 FE F8 */ bne lbl_80104874
|
|
.global lbl_80104980
|
|
lbl_80104980:
|
|
/* 80104980 001007C0 39 61 00 40 */ addi r11, r1, 0x40
|
|
/* 80104984 001007C4 4B F0 29 F1 */ bl lbl_80007374
|
|
/* 80104988 001007C8 80 01 00 44 */ lwz r0, 0x44(r1)
|
|
/* 8010498C 001007CC 7C 08 03 A6 */ mtlr r0
|
|
/* 80104990 001007D0 38 21 00 40 */ addi r1, r1, 0x40
|
|
/* 80104994 001007D4 4E 80 00 20 */ blr
|
|
/* 80104998 001007D8 00 00 00 00 */ .4byte 0x00000000
|
|
/* 8010499C 001007DC 00 00 00 00 */ .4byte 0x00000000
|
|
.include "macros.inc"
|
|
|
|
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
|
|
.global "@3158"
|
|
"@3158":
|
|
.skip 0xC
|
|
|
|
.global "@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"
|
|
"@LOCAL@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance":
|
|
.skip 0x2C
|
|
.include "macros.inc"
|
|
|
|
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
|
|
.global "@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance"
|
|
"@GUARD@GetInstance__Q44nw4r3snd6detail14AxVoiceManagerFv@instance":
|
|
.skip 0x8
|