donut-decomp/asm/ax/AXSPB.s
2022-10-17 09:17:38 +01:00

383 lines
17 KiB
ArmAsm

.include "macros.inc"
.section .text, "ax" # 0x80006A00 - 0x80406260 ; 0x003FF860
.global __AXGetStudio
__AXGetStudio:
/* 80044F30 00040D70 3C 60 80 4A */ lis r3, __AXStudio@ha
/* 80044F34 00040D74 38 63 40 A0 */ addi r3, r3, __AXStudio@l
/* 80044F38 00040D78 4E 80 00 20 */ blr
/* 80044F3C 00040D7C 00 00 00 00 */ .4byte 0x00000000
.global __AXDepopFadeMain
__AXDepopFadeMain:
/* 80044F40 00040D80 3C C0 2A AB */ lis r6, 0x2aab
/* 80044F44 00040D84 80 E3 00 00 */ lwz r7, 0x0(r3)
/* 80044F48 00040D88 38 06 AA AB */ addi r0, r6, -0x5555
/* 80044F4C 00040D8C 7C 00 38 96 */ mulhw r0, r0, r7
/* 80044F50 00040D90 7C 00 26 70 */ srawi r0, r0, 4
/* 80044F54 00040D94 54 06 0F FE */ srwi r6, r0, 31
/* 80044F58 00040D98 7C 00 32 15 */ add. r0, r0, r6
/* 80044F5C 00040D9C 41 82 00 3C */ beq lbl_80044F98
/* 80044F60 00040DA0 2C 00 00 14 */ cmpwi r0, 0x14
/* 80044F64 00040DA4 40 81 00 08 */ ble lbl_80044F6C
/* 80044F68 00040DA8 38 00 00 14 */ li r0, 0x14
.global lbl_80044F6C
lbl_80044F6C:
/* 80044F6C 00040DAC 2C 00 FF EC */ cmpwi r0, -0x14
/* 80044F70 00040DB0 40 80 00 08 */ bge lbl_80044F78
/* 80044F74 00040DB4 38 00 FF EC */ li r0, -0x14
.global lbl_80044F78
lbl_80044F78:
/* 80044F78 00040DB8 90 E4 00 00 */ stw r7, 0x0(r4)
/* 80044F7C 00040DBC 1C C0 00 60 */ mulli r6, r0, 0x60
/* 80044F80 00040DC0 7C 00 00 D0 */ neg r0, r0
/* 80044F84 00040DC4 80 83 00 00 */ lwz r4, 0x0(r3)
/* 80044F88 00040DC8 7C 86 20 50 */ subf r4, r6, r4
/* 80044F8C 00040DCC 90 83 00 00 */ stw r4, 0x0(r3)
/* 80044F90 00040DD0 B0 05 00 00 */ sth r0, 0x0(r5)
/* 80044F94 00040DD4 4E 80 00 20 */ blr
.global lbl_80044F98
lbl_80044F98:
/* 80044F98 00040DD8 38 00 00 00 */ li r0, 0x0
/* 80044F9C 00040DDC 90 03 00 00 */ stw r0, 0x0(r3)
/* 80044FA0 00040DE0 90 04 00 00 */ stw r0, 0x0(r4)
/* 80044FA4 00040DE4 B0 05 00 00 */ sth r0, 0x0(r5)
/* 80044FA8 00040DE8 4E 80 00 20 */ blr
/* 80044FAC 00040DEC 00 00 00 00 */ .4byte 0x00000000
.global __AXDepopFadeRmt
__AXDepopFadeRmt:
/* 80044FB0 00040DF0 3C C0 38 E4 */ lis r6, 0x38e4
/* 80044FB4 00040DF4 80 E3 00 00 */ lwz r7, 0x0(r3)
/* 80044FB8 00040DF8 38 06 8E 39 */ addi r0, r6, -0x71c7
/* 80044FBC 00040DFC 7C 00 38 96 */ mulhw r0, r0, r7
/* 80044FC0 00040E00 7C 00 16 70 */ srawi r0, r0, 2
/* 80044FC4 00040E04 54 06 0F FE */ srwi r6, r0, 31
/* 80044FC8 00040E08 7C 00 32 15 */ add. r0, r0, r6
/* 80044FCC 00040E0C 41 82 00 3C */ beq lbl_80045008
/* 80044FD0 00040E10 2C 00 00 14 */ cmpwi r0, 0x14
/* 80044FD4 00040E14 40 81 00 08 */ ble lbl_80044FDC
/* 80044FD8 00040E18 38 00 00 14 */ li r0, 0x14
.global lbl_80044FDC
lbl_80044FDC:
/* 80044FDC 00040E1C 2C 00 FF EC */ cmpwi r0, -0x14
/* 80044FE0 00040E20 40 80 00 08 */ bge lbl_80044FE8
/* 80044FE4 00040E24 38 00 FF EC */ li r0, -0x14
.global lbl_80044FE8
lbl_80044FE8:
/* 80044FE8 00040E28 90 E4 00 00 */ stw r7, 0x0(r4)
/* 80044FEC 00040E2C 1C C0 00 12 */ mulli r6, r0, 0x12
/* 80044FF0 00040E30 7C 00 00 D0 */ neg r0, r0
/* 80044FF4 00040E34 80 83 00 00 */ lwz r4, 0x0(r3)
/* 80044FF8 00040E38 7C 86 20 50 */ subf r4, r6, r4
/* 80044FFC 00040E3C 90 83 00 00 */ stw r4, 0x0(r3)
/* 80045000 00040E40 B0 05 00 00 */ sth r0, 0x0(r5)
/* 80045004 00040E44 4E 80 00 20 */ blr
.global lbl_80045008
lbl_80045008:
/* 80045008 00040E48 38 00 00 00 */ li r0, 0x0
/* 8004500C 00040E4C 90 03 00 00 */ stw r0, 0x0(r3)
/* 80045010 00040E50 90 04 00 00 */ stw r0, 0x0(r4)
/* 80045014 00040E54 B0 05 00 00 */ sth r0, 0x0(r5)
/* 80045018 00040E58 4E 80 00 20 */ blr
/* 8004501C 00040E5C 00 00 00 00 */ .4byte 0x00000000
.global __AXPrintStudio
__AXPrintStudio:
/* 80045020 00040E60 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80045024 00040E64 7C 08 02 A6 */ mflr r0
/* 80045028 00040E68 38 6D E8 6C */ addi r3, r13, __AXSpbAL@sda21
/* 8004502C 00040E6C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80045030 00040E70 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80045034 00040E74 3F E0 80 4A */ lis r31, __AXStudio@ha
/* 80045038 00040E78 38 9F 40 A0 */ addi r4, r31, __AXStudio@l
/* 8004503C 00040E7C 38 A4 00 04 */ addi r5, r4, 0x4
/* 80045040 00040E80 4B FF FF 01 */ bl __AXDepopFadeMain
/* 80045044 00040E84 3B FF 40 A0 */ addi r31, r31, 0x40a0
/* 80045048 00040E88 38 6D E8 68 */ addi r3, r13, __AXSpbAR@sda21
/* 8004504C 00040E8C 38 9F 00 06 */ addi r4, r31, 0x6
/* 80045050 00040E90 38 BF 00 0A */ addi r5, r31, 0xa
/* 80045054 00040E94 4B FF FE ED */ bl __AXDepopFadeMain
/* 80045058 00040E98 38 9F 00 0C */ addi r4, r31, 0xc
/* 8004505C 00040E9C 38 BF 00 10 */ addi r5, r31, 0x10
/* 80045060 00040EA0 38 6D E8 64 */ addi r3, r13, __AXSpbAS@sda21
/* 80045064 00040EA4 4B FF FE DD */ bl __AXDepopFadeMain
/* 80045068 00040EA8 38 9F 00 12 */ addi r4, r31, 0x12
/* 8004506C 00040EAC 38 BF 00 16 */ addi r5, r31, 0x16
/* 80045070 00040EB0 38 6D E8 60 */ addi r3, r13, __AXSpbAAL@sda21
/* 80045074 00040EB4 4B FF FE CD */ bl __AXDepopFadeMain
/* 80045078 00040EB8 38 9F 00 18 */ addi r4, r31, 0x18
/* 8004507C 00040EBC 38 BF 00 1C */ addi r5, r31, 0x1c
/* 80045080 00040EC0 38 6D E8 5C */ addi r3, r13, __AXSpbAAR@sda21
/* 80045084 00040EC4 4B FF FE BD */ bl __AXDepopFadeMain
/* 80045088 00040EC8 38 9F 00 1E */ addi r4, r31, 0x1e
/* 8004508C 00040ECC 38 BF 00 22 */ addi r5, r31, 0x22
/* 80045090 00040ED0 38 6D E8 58 */ addi r3, r13, __AXSpbAAS@sda21
/* 80045094 00040ED4 4B FF FE AD */ bl __AXDepopFadeMain
/* 80045098 00040ED8 38 9F 00 24 */ addi r4, r31, 0x24
/* 8004509C 00040EDC 38 BF 00 28 */ addi r5, r31, 0x28
/* 800450A0 00040EE0 38 6D E8 54 */ addi r3, r13, __AXSpbABL@sda21
/* 800450A4 00040EE4 4B FF FE 9D */ bl __AXDepopFadeMain
/* 800450A8 00040EE8 38 9F 00 2A */ addi r4, r31, 0x2a
/* 800450AC 00040EEC 38 BF 00 2E */ addi r5, r31, 0x2e
/* 800450B0 00040EF0 38 6D E8 50 */ addi r3, r13, __AXSpbABR@sda21
/* 800450B4 00040EF4 4B FF FE 8D */ bl __AXDepopFadeMain
/* 800450B8 00040EF8 38 9F 00 30 */ addi r4, r31, 0x30
/* 800450BC 00040EFC 38 BF 00 34 */ addi r5, r31, 0x34
/* 800450C0 00040F00 38 6D E8 4C */ addi r3, r13, __AXSpbABS@sda21
/* 800450C4 00040F04 4B FF FE 7D */ bl __AXDepopFadeMain
/* 800450C8 00040F08 38 9F 00 36 */ addi r4, r31, 0x36
/* 800450CC 00040F0C 38 BF 00 3A */ addi r5, r31, 0x3a
/* 800450D0 00040F10 38 6D E8 48 */ addi r3, r13, __AXSpbACL@sda21
/* 800450D4 00040F14 4B FF FE 6D */ bl __AXDepopFadeMain
/* 800450D8 00040F18 38 9F 00 3C */ addi r4, r31, 0x3c
/* 800450DC 00040F1C 38 BF 00 40 */ addi r5, r31, 0x40
/* 800450E0 00040F20 38 6D E8 44 */ addi r3, r13, __AXSpbACR@sda21
/* 800450E4 00040F24 4B FF FE 5D */ bl __AXDepopFadeMain
/* 800450E8 00040F28 38 9F 00 42 */ addi r4, r31, 0x42
/* 800450EC 00040F2C 38 BF 00 46 */ addi r5, r31, 0x46
/* 800450F0 00040F30 38 6D E8 40 */ addi r3, r13, __AXSpbACS@sda21
/* 800450F4 00040F34 4B FF FE 4D */ bl __AXDepopFadeMain
/* 800450F8 00040F38 38 9F 00 48 */ addi r4, r31, 0x48
/* 800450FC 00040F3C 38 BF 00 4C */ addi r5, r31, 0x4c
/* 80045100 00040F40 38 6D E8 3C */ addi r3, r13, __AXSpbMain0@sda21
/* 80045104 00040F44 4B FF FE AD */ bl __AXDepopFadeRmt
/* 80045108 00040F48 38 9F 00 54 */ addi r4, r31, 0x54
/* 8004510C 00040F4C 38 BF 00 58 */ addi r5, r31, 0x58
/* 80045110 00040F50 38 6D E8 38 */ addi r3, r13, __AXSpbMain1@sda21
/* 80045114 00040F54 4B FF FE 9D */ bl __AXDepopFadeRmt
/* 80045118 00040F58 38 9F 00 60 */ addi r4, r31, 0x60
/* 8004511C 00040F5C 38 BF 00 64 */ addi r5, r31, 0x64
/* 80045120 00040F60 38 6D E8 34 */ addi r3, r13, __AXSpbMain2@sda21
/* 80045124 00040F64 4B FF FE 8D */ bl __AXDepopFadeRmt
/* 80045128 00040F68 38 9F 00 6C */ addi r4, r31, 0x6c
/* 8004512C 00040F6C 38 BF 00 70 */ addi r5, r31, 0x70
/* 80045130 00040F70 38 6D E8 30 */ addi r3, r13, __AXSpbMain3@sda21
/* 80045134 00040F74 4B FF FE 7D */ bl __AXDepopFadeRmt
/* 80045138 00040F78 38 9F 00 4E */ addi r4, r31, 0x4e
/* 8004513C 00040F7C 38 BF 00 52 */ addi r5, r31, 0x52
/* 80045140 00040F80 38 6D E8 2C */ addi r3, r13, __AXSpbAux0@sda21
/* 80045144 00040F84 4B FF FE 6D */ bl __AXDepopFadeRmt
/* 80045148 00040F88 38 9F 00 5A */ addi r4, r31, 0x5a
/* 8004514C 00040F8C 38 BF 00 5E */ addi r5, r31, 0x5e
/* 80045150 00040F90 38 6D E8 28 */ addi r3, r13, __AXSpbAux1@sda21
/* 80045154 00040F94 4B FF FE 5D */ bl __AXDepopFadeRmt
/* 80045158 00040F98 38 9F 00 66 */ addi r4, r31, 0x66
/* 8004515C 00040F9C 38 BF 00 6A */ addi r5, r31, 0x6a
/* 80045160 00040FA0 38 6D E8 24 */ addi r3, r13, __AXSpbAux2@sda21
/* 80045164 00040FA4 4B FF FE 4D */ bl __AXDepopFadeRmt
/* 80045168 00040FA8 38 9F 00 72 */ addi r4, r31, 0x72
/* 8004516C 00040FAC 38 BF 00 76 */ addi r5, r31, 0x76
/* 80045170 00040FB0 38 6D E8 20 */ addi r3, r13, __AXSpbAux3@sda21
/* 80045174 00040FB4 4B FF FE 3D */ bl __AXDepopFadeRmt
/* 80045178 00040FB8 7F E3 FB 78 */ mr r3, r31
/* 8004517C 00040FBC 38 80 00 78 */ li r4, 0x78
/* 80045180 00040FC0 4B FD 78 01 */ bl DCFlushRange
/* 80045184 00040FC4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80045188 00040FC8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8004518C 00040FCC 7C 08 03 A6 */ mtlr r0
/* 80045190 00040FD0 38 21 00 10 */ addi r1, r1, 0x10
/* 80045194 00040FD4 4E 80 00 20 */ blr
/* 80045198 00040FD8 00 00 00 00 */ .4byte 0x00000000
/* 8004519C 00040FDC 00 00 00 00 */ .4byte 0x00000000
.global __AXSPBInit
__AXSPBInit:
/* 800451A0 00040FE0 38 00 00 00 */ li r0, 0x0
/* 800451A4 00040FE4 90 0D E8 20 */ stw r0, __AXSpbAux3@sda21(r13)
/* 800451A8 00040FE8 90 0D E8 24 */ stw r0, __AXSpbAux2@sda21(r13)
/* 800451AC 00040FEC 90 0D E8 28 */ stw r0, __AXSpbAux1@sda21(r13)
/* 800451B0 00040FF0 90 0D E8 2C */ stw r0, __AXSpbAux0@sda21(r13)
/* 800451B4 00040FF4 90 0D E8 30 */ stw r0, __AXSpbMain3@sda21(r13)
/* 800451B8 00040FF8 90 0D E8 34 */ stw r0, __AXSpbMain2@sda21(r13)
/* 800451BC 00040FFC 90 0D E8 38 */ stw r0, __AXSpbMain1@sda21(r13)
/* 800451C0 00041000 90 0D E8 3C */ stw r0, __AXSpbMain0@sda21(r13)
/* 800451C4 00041004 90 0D E8 40 */ stw r0, __AXSpbACS@sda21(r13)
/* 800451C8 00041008 90 0D E8 44 */ stw r0, __AXSpbACR@sda21(r13)
/* 800451CC 0004100C 90 0D E8 48 */ stw r0, __AXSpbACL@sda21(r13)
/* 800451D0 00041010 90 0D E8 4C */ stw r0, __AXSpbABS@sda21(r13)
/* 800451D4 00041014 90 0D E8 50 */ stw r0, __AXSpbABR@sda21(r13)
/* 800451D8 00041018 90 0D E8 54 */ stw r0, __AXSpbABL@sda21(r13)
/* 800451DC 0004101C 90 0D E8 58 */ stw r0, __AXSpbAAS@sda21(r13)
/* 800451E0 00041020 90 0D E8 5C */ stw r0, __AXSpbAAR@sda21(r13)
/* 800451E4 00041024 90 0D E8 60 */ stw r0, __AXSpbAAL@sda21(r13)
/* 800451E8 00041028 90 0D E8 64 */ stw r0, __AXSpbAS@sda21(r13)
/* 800451EC 0004102C 90 0D E8 68 */ stw r0, __AXSpbAR@sda21(r13)
/* 800451F0 00041030 90 0D E8 6C */ stw r0, __AXSpbAL@sda21(r13)
/* 800451F4 00041034 4E 80 00 20 */ blr
/* 800451F8 00041038 00 00 00 00 */ .4byte 0x00000000
/* 800451FC 0004103C 00 00 00 00 */ .4byte 0x00000000
.global __AXDepopVoice
__AXDepopVoice:
/* 80045200 00041040 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80045204 00041044 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80045208 00041048 93 C1 00 08 */ stw r30, 0x8(r1)
/* 8004520C 0004104C 80 8D E8 6C */ lwz r4, __AXSpbAL@sda21(r13)
/* 80045210 00041050 A8 03 00 52 */ lha r0, 0x52(r3)
/* 80045214 00041054 80 CD E8 60 */ lwz r6, __AXSpbAAL@sda21(r13)
/* 80045218 00041058 7C 04 02 14 */ add r0, r4, r0
/* 8004521C 0004105C 90 0D E8 6C */ stw r0, __AXSpbAL@sda21(r13)
/* 80045220 00041060 80 AD E8 54 */ lwz r5, __AXSpbABL@sda21(r13)
/* 80045224 00041064 A8 03 00 54 */ lha r0, 0x54(r3)
/* 80045228 00041068 80 8D E8 48 */ lwz r4, __AXSpbACL@sda21(r13)
/* 8004522C 0004106C 7C 06 02 14 */ add r0, r6, r0
/* 80045230 00041070 90 0D E8 60 */ stw r0, __AXSpbAAL@sda21(r13)
/* 80045234 00041074 81 0D E8 68 */ lwz r8, __AXSpbAR@sda21(r13)
/* 80045238 00041078 A8 03 00 56 */ lha r0, 0x56(r3)
/* 8004523C 0004107C 80 ED E8 5C */ lwz r7, __AXSpbAAR@sda21(r13)
/* 80045240 00041080 7C 05 02 14 */ add r0, r5, r0
/* 80045244 00041084 90 0D E8 54 */ stw r0, __AXSpbABL@sda21(r13)
/* 80045248 00041088 80 CD E8 50 */ lwz r6, __AXSpbABR@sda21(r13)
/* 8004524C 0004108C A8 03 00 58 */ lha r0, 0x58(r3)
/* 80045250 00041090 80 AD E8 44 */ lwz r5, __AXSpbACR@sda21(r13)
/* 80045254 00041094 7C 04 02 14 */ add r0, r4, r0
/* 80045258 00041098 90 0D E8 48 */ stw r0, __AXSpbACL@sda21(r13)
/* 8004525C 0004109C 80 8D E8 64 */ lwz r4, __AXSpbAS@sda21(r13)
/* 80045260 000410A0 A8 03 00 5A */ lha r0, 0x5a(r3)
/* 80045264 000410A4 83 CD E8 58 */ lwz r30, __AXSpbAAS@sda21(r13)
/* 80045268 000410A8 7C 08 02 14 */ add r0, r8, r0
/* 8004526C 000410AC 90 0D E8 68 */ stw r0, __AXSpbAR@sda21(r13)
/* 80045270 000410B0 83 ED E8 4C */ lwz r31, __AXSpbABS@sda21(r13)
/* 80045274 000410B4 A8 03 00 5C */ lha r0, 0x5c(r3)
/* 80045278 000410B8 81 8D E8 40 */ lwz r12, __AXSpbACS@sda21(r13)
/* 8004527C 000410BC 7C 07 02 14 */ add r0, r7, r0
/* 80045280 000410C0 90 0D E8 5C */ stw r0, __AXSpbAAR@sda21(r13)
/* 80045284 000410C4 81 6D E8 3C */ lwz r11, __AXSpbMain0@sda21(r13)
/* 80045288 000410C8 A8 03 00 5E */ lha r0, 0x5e(r3)
/* 8004528C 000410CC 81 4D E8 38 */ lwz r10, __AXSpbMain1@sda21(r13)
/* 80045290 000410D0 7C 06 02 14 */ add r0, r6, r0
/* 80045294 000410D4 90 0D E8 50 */ stw r0, __AXSpbABR@sda21(r13)
/* 80045298 000410D8 81 2D E8 34 */ lwz r9, __AXSpbMain2@sda21(r13)
/* 8004529C 000410DC A8 03 00 60 */ lha r0, 0x60(r3)
/* 800452A0 000410E0 81 0D E8 30 */ lwz r8, __AXSpbMain3@sda21(r13)
/* 800452A4 000410E4 7C 05 02 14 */ add r0, r5, r0
/* 800452A8 000410E8 90 0D E8 44 */ stw r0, __AXSpbACR@sda21(r13)
/* 800452AC 000410EC 80 ED E8 2C */ lwz r7, __AXSpbAux0@sda21(r13)
/* 800452B0 000410F0 A8 03 00 62 */ lha r0, 0x62(r3)
/* 800452B4 000410F4 80 CD E8 28 */ lwz r6, __AXSpbAux1@sda21(r13)
/* 800452B8 000410F8 7C 04 02 14 */ add r0, r4, r0
/* 800452BC 000410FC 90 0D E8 64 */ stw r0, __AXSpbAS@sda21(r13)
/* 800452C0 00041100 80 AD E8 24 */ lwz r5, __AXSpbAux2@sda21(r13)
/* 800452C4 00041104 A8 03 00 64 */ lha r0, 0x64(r3)
/* 800452C8 00041108 80 8D E8 20 */ lwz r4, __AXSpbAux3@sda21(r13)
/* 800452CC 0004110C 7C 1E 02 14 */ add r0, r30, r0
/* 800452D0 00041110 90 0D E8 58 */ stw r0, __AXSpbAAS@sda21(r13)
/* 800452D4 00041114 A8 03 00 66 */ lha r0, 0x66(r3)
/* 800452D8 00041118 7C 1F 02 14 */ add r0, r31, r0
/* 800452DC 0004111C 90 0D E8 4C */ stw r0, __AXSpbABS@sda21(r13)
/* 800452E0 00041120 A8 03 00 68 */ lha r0, 0x68(r3)
/* 800452E4 00041124 7C 0C 02 14 */ add r0, r12, r0
/* 800452E8 00041128 90 0D E8 40 */ stw r0, __AXSpbACS@sda21(r13)
/* 800452EC 0004112C A8 03 00 FA */ lha r0, 0xfa(r3)
/* 800452F0 00041130 7C 0B 02 14 */ add r0, r11, r0
/* 800452F4 00041134 90 0D E8 3C */ stw r0, __AXSpbMain0@sda21(r13)
/* 800452F8 00041138 A8 03 00 FC */ lha r0, 0xfc(r3)
/* 800452FC 0004113C 7C 0A 02 14 */ add r0, r10, r0
/* 80045300 00041140 90 0D E8 38 */ stw r0, __AXSpbMain1@sda21(r13)
/* 80045304 00041144 A8 03 00 FE */ lha r0, 0xfe(r3)
/* 80045308 00041148 7C 09 02 14 */ add r0, r9, r0
/* 8004530C 0004114C 90 0D E8 34 */ stw r0, __AXSpbMain2@sda21(r13)
/* 80045310 00041150 A8 03 01 00 */ lha r0, 0x100(r3)
/* 80045314 00041154 7C 08 02 14 */ add r0, r8, r0
/* 80045318 00041158 90 0D E8 30 */ stw r0, __AXSpbMain3@sda21(r13)
/* 8004531C 0004115C A8 03 01 02 */ lha r0, 0x102(r3)
/* 80045320 00041160 7C 07 02 14 */ add r0, r7, r0
/* 80045324 00041164 90 0D E8 2C */ stw r0, __AXSpbAux0@sda21(r13)
/* 80045328 00041168 A8 03 01 04 */ lha r0, 0x104(r3)
/* 8004532C 0004116C 7C 06 02 14 */ add r0, r6, r0
/* 80045330 00041170 90 0D E8 28 */ stw r0, __AXSpbAux1@sda21(r13)
/* 80045334 00041174 A8 03 01 06 */ lha r0, 0x106(r3)
/* 80045338 00041178 7C 05 02 14 */ add r0, r5, r0
/* 8004533C 0004117C 90 0D E8 24 */ stw r0, __AXSpbAux2@sda21(r13)
/* 80045340 00041180 A8 03 01 08 */ lha r0, 0x108(r3)
/* 80045344 00041184 7C 04 02 14 */ add r0, r4, r0
/* 80045348 00041188 90 0D E8 20 */ stw r0, __AXSpbAux3@sda21(r13)
/* 8004534C 0004118C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80045350 00041190 83 C1 00 08 */ lwz r30, 0x8(r1)
/* 80045354 00041194 38 21 00 10 */ addi r1, r1, 0x10
/* 80045358 00041198 4E 80 00 20 */ blr
/* 8004535C 0004119C 00 00 00 00 */ .4byte 0x00000000
.include "macros.inc"
.section .bss, "", @nobits # 0x80496700 - 0x80556420 ; 0x000BFD20
.global __AXStudio
__AXStudio:
.skip 0x80
.include "macros.inc"
.section .sbss, "", @nobits # 0x8055C6E0 - 0x8055DF80 ; 0x000018A0
.global __AXSpbAux3
__AXSpbAux3:
.skip 0x4
.global __AXSpbAux2
__AXSpbAux2:
.skip 0x4
.global __AXSpbAux1
__AXSpbAux1:
.skip 0x4
.global __AXSpbAux0
__AXSpbAux0:
.skip 0x4
.global __AXSpbMain3
__AXSpbMain3:
.skip 0x4
.global __AXSpbMain2
__AXSpbMain2:
.skip 0x4
.global __AXSpbMain1
__AXSpbMain1:
.skip 0x4
.global __AXSpbMain0
__AXSpbMain0:
.skip 0x4
.global __AXSpbACS
__AXSpbACS:
.skip 0x4
.global __AXSpbACR
__AXSpbACR:
.skip 0x4
.global __AXSpbACL
__AXSpbACL:
.skip 0x4
.global __AXSpbABS
__AXSpbABS:
.skip 0x4
.global __AXSpbABR
__AXSpbABR:
.skip 0x4
.global __AXSpbABL
__AXSpbABL:
.skip 0x4
.global __AXSpbAAS
__AXSpbAAS:
.skip 0x4
.global __AXSpbAAR
__AXSpbAAR:
.skip 0x4
.global __AXSpbAAL
__AXSpbAAL:
.skip 0x4
.global __AXSpbAS
__AXSpbAS:
.skip 0x4
.global __AXSpbAR
__AXSpbAR:
.skip 0x4
.global __AXSpbAL
__AXSpbAL:
.skip 0x4