pikmin2/asm/plugProjectHikinoU/PSSystemIF.s
EpochFlame 75c3292df0 reduce label emissions
linkmap goes faster now
2022-11-03 17:02:42 -04:00

835 lines
40 KiB
ArmAsm

.include "macros.inc"
.section .ctors, "wa" # 0x80472F00 - 0x804732C0
lbl_constructor:
.4byte __sinit_PSSystemIF_cpp
.section .rodata # 0x804732E0 - 0x8049E220
.balign 8
lbl_8048FE28:
.asciz "PSSystemIF.cpp"
.balign 4
lbl_8048FE38:
.asciz "P2Assert"
.balign 4
lbl_8048FE44:
.asciz "PSGame.h"
.balign 4
lbl_8048FE50:
.asciz "PSScene.h"
.section .data, "wa" # 0x8049E220 - 0x804EFC20
.balign 8
.global __vt__Q28PSSystem12TextDataBase
__vt__Q28PSSystem12TextDataBase:
.4byte 0
.4byte 0
.4byte __dt__Q28PSSystem12TextDataBaseFv
.4byte 0
.global __vt__Q28PSSystem5SysIF
__vt__Q28PSSystem5SysIF:
.4byte 0
.4byte 0
.4byte makeSequence__Q28PSSystem5SysIFFv
.4byte makeSe__Q28PSSystem5SysIFFv
.4byte makeStream__Q28PSSystem5SysIFFv
.4byte getMapInfoFxline__8JAIBasicFUl
.4byte getMapInfoGround__8JAIBasicFUl
.4byte getMapInfoFxParameter__8JAIBasicFUl
.4byte setSeExtParameter__8JAIBasicFP8JAISound
.4byte setRegisterTrackCallback__8JAIBasicFv
.4byte initIF__Q28PSSystem5SysIFFRCQ28PSSystem8SetupArg
.section .sdata, "wa" # 0x80514680 - 0x80514D80
.balign 8
.global sDistanceParameterMoveTime__8PSSystem
sDistanceParameterMoveTime__8PSSystem:
.byte 0x05
.section .sbss # 0x80514D80 - 0x80516360
.balign 8
.global spSysIF__8PSSystem
spSysIF__8PSSystem:
.skip 0x4
.global oRandom__8PSSystem
oRandom__8PSSystem:
.skip 0x4
.global sMakeJAISeCallback__Q28PSSystem5SysIF
sMakeJAISeCallback__Q28PSSystem5SysIF:
.skip 0x4
.section .sdata2, "a" # 0x80516360 - 0x80520E40
.balign 8
lbl_8051E150:
.float 1.0
lbl_8051E154:
.float 0.9
lbl_8051E158:
.float 3.9
.section .text, "ax" # 0x800056C0 - 0x80472F00
.global getObject__8PSSystemFP8JASTrackUc
getObject__8PSSystemFP8JASTrackUc:
/* 8033836C 003352AC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338370 003352B0 7C 08 02 A6 */ mflr r0
/* 80338374 003352B4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338378 003352B8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8033837C 003352BC 7C 9F 23 78 */ mr r31, r4
/* 80338380 003352C0 93 C1 00 08 */ stw r30, 8(r1)
/* 80338384 003352C4 7C 7E 1B 78 */ mr r30, r3
/* 80338388 003352C8 4B D6 94 85 */ bl readReg16__8JASTrackFUc
/* 8033838C 003352CC 38 1F 00 01 */ addi r0, r31, 1
/* 80338390 003352D0 7C 7F 1B 78 */ mr r31, r3
/* 80338394 003352D4 7F C3 F3 78 */ mr r3, r30
/* 80338398 003352D8 54 04 06 3E */ clrlwi r4, r0, 0x18
/* 8033839C 003352DC 4B D6 94 71 */ bl readReg16__8JASTrackFUc
/* 803383A0 003352E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 803383A4 003352E4 53 E3 80 1E */ rlwimi r3, r31, 0x10, 0, 0xf
/* 803383A8 003352E8 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803383AC 003352EC 83 C1 00 08 */ lwz r30, 8(r1)
/* 803383B0 003352F0 7C 08 03 A6 */ mtlr r0
/* 803383B4 003352F4 38 21 00 10 */ addi r1, r1, 0x10
/* 803383B8 003352F8 4E 80 00 20 */ blr
.global setObject__8PSSystemFP8JASTrackPvUc
setObject__8PSSystemFP8JASTrackPvUc:
/* 803383BC 003352FC 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 803383C0 00335300 7C 08 02 A6 */ mflr r0
/* 803383C4 00335304 90 01 00 24 */ stw r0, 0x24(r1)
/* 803383C8 00335308 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 803383CC 0033530C 7C BF 2B 78 */ mr r31, r5
/* 803383D0 00335310 54 85 84 3E */ srwi r5, r4, 0x10
/* 803383D4 00335314 93 C1 00 18 */ stw r30, 0x18(r1)
/* 803383D8 00335318 7C 9E 23 78 */ mr r30, r4
/* 803383DC 0033531C 7F E4 FB 78 */ mr r4, r31
/* 803383E0 00335320 93 A1 00 14 */ stw r29, 0x14(r1)
/* 803383E4 00335324 7C 7D 1B 78 */ mr r29, r3
/* 803383E8 00335328 4B D6 96 3D */ bl writeRegDirect__8JASTrackFUcUs
/* 803383EC 0033532C 38 1F 00 01 */ addi r0, r31, 1
/* 803383F0 00335330 57 C5 04 3E */ clrlwi r5, r30, 0x10
/* 803383F4 00335334 7F A3 EB 78 */ mr r3, r29
/* 803383F8 00335338 54 04 06 3E */ clrlwi r4, r0, 0x18
/* 803383FC 0033533C 4B D6 96 29 */ bl writeRegDirect__8JASTrackFUcUs
/* 80338400 00335340 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80338404 00335344 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80338408 00335348 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8033840C 0033534C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 80338410 00335350 7C 08 03 A6 */ mtlr r0
/* 80338414 00335354 38 21 00 20 */ addi r1, r1, 0x20
/* 80338418 00335358 4E 80 00 20 */ blr
.global __ct__Q28PSSystem5SysIFFRCQ28PSSystem8SetupArg
__ct__Q28PSSystem5SysIFFRCQ28PSSystem8SetupArg:
/* 8033841C 0033535C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338420 00335360 7C 08 02 A6 */ mflr r0
/* 80338424 00335364 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338428 00335368 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8033842C 0033536C 7C 9F 23 78 */ mr r31, r4
/* 80338430 00335370 93 C1 00 08 */ stw r30, 8(r1)
/* 80338434 00335374 7C 7E 1B 78 */ mr r30, r3
/* 80338438 00335378 4B D7 3D 21 */ bl __ct__8JAIBasicFv
/* 8033843C 0033537C 3C 80 80 4E */ lis r4, __vt__Q28PSSystem5SysIF@ha
/* 80338440 00335380 38 7E 00 28 */ addi r3, r30, 0x28
/* 80338444 00335384 38 04 AA A8 */ addi r0, r4, __vt__Q28PSSystem5SysIF@l
/* 80338448 00335388 90 1E 00 00 */ stw r0, 0(r30)
/* 8033844C 0033538C 4B DB 76 E5 */ bl OSInitMutex
/* 80338450 00335390 38 00 00 00 */ li r0, 0
/* 80338454 00335394 38 7E 00 44 */ addi r3, r30, 0x44
/* 80338458 00335398 90 1E 00 40 */ stw r0, 0x40(r30)
/* 8033845C 0033539C 48 00 05 21 */ bl __ct__Q28PSSystem5FxMgrFv
/* 80338460 003353A0 80 1F 00 00 */ lwz r0, 0(r31)
/* 80338464 003353A4 38 60 00 00 */ li r3, 0
/* 80338468 003353A8 90 7E 00 48 */ stw r3, 0x48(r30)
/* 8033846C 003353AC 28 00 00 00 */ cmplwi r0, 0
/* 80338470 003353B0 40 82 00 20 */ bne .L_80338490
/* 80338474 003353B4 3C 60 80 49 */ lis r3, lbl_8048FE28@ha
/* 80338478 003353B8 3C A0 80 49 */ lis r5, lbl_8048FE38@ha
/* 8033847C 003353BC 38 63 FE 28 */ addi r3, r3, lbl_8048FE28@l
/* 80338480 003353C0 38 80 00 8D */ li r4, 0x8d
/* 80338484 003353C4 38 A5 FE 38 */ addi r5, r5, lbl_8048FE38@l
/* 80338488 003353C8 4C C6 31 82 */ crclr 6
/* 8033848C 003353CC 4B CF 21 B5 */ bl panic_f__12JUTExceptionFPCciPCce
.L_80338490:
/* 80338490 003353D0 80 1F 00 04 */ lwz r0, 4(r31)
/* 80338494 003353D4 28 00 00 00 */ cmplwi r0, 0
/* 80338498 003353D8 40 82 00 20 */ bne .L_803384B8
/* 8033849C 003353DC 3C 60 80 49 */ lis r3, lbl_8048FE28@ha
/* 803384A0 003353E0 3C A0 80 49 */ lis r5, lbl_8048FE38@ha
/* 803384A4 003353E4 38 63 FE 28 */ addi r3, r3, lbl_8048FE28@l
/* 803384A8 003353E8 38 80 00 8E */ li r4, 0x8e
/* 803384AC 003353EC 38 A5 FE 38 */ addi r5, r5, lbl_8048FE38@l
/* 803384B0 003353F0 4C C6 31 82 */ crclr 6
/* 803384B4 003353F4 4B CF 21 8D */ bl panic_f__12JUTExceptionFPCciPCce
.L_803384B8:
/* 803384B8 003353F8 7F C3 F3 78 */ mr r3, r30
/* 803384BC 003353FC 38 80 00 02 */ li r4, 2
/* 803384C0 00335400 4B D7 41 E5 */ bl setInitFileLoadSwitch__8JAIBasicFUc
/* 803384C4 00335404 80 7F 00 10 */ lwz r3, 0x10(r31)
/* 803384C8 00335408 4B D7 54 89 */ bl setParamInitDataPointer__18JAIGlobalParameterFPv
/* 803384CC 0033540C 38 60 00 01 */ li r3, 1
/* 803384D0 00335410 4B D7 54 E5 */ bl setParamStreamInsideBufferCut__18JAIGlobalParameterFb
/* 803384D4 00335414 88 6D 85 30 */ lbz r3, sDistanceParameterMoveTime__8PSSystem@sda21(r13)
/* 803384D8 00335418 4B D7 55 11 */ bl setParamDistanceParameterMoveTime__18JAIGlobalParameterFUc
/* 803384DC 0033541C 48 00 52 5D */ bl createInstance__Q28PSSystem7BankMgrFv
/* 803384E0 00335420 48 00 53 15 */ bl preInit__Q28PSSystem7BankMgrFv
/* 803384E4 00335424 3C 60 80 34 */ lis r3, start1stSeq__Q28PSSystem5SysIFFv@ha
/* 803384E8 00335428 38 63 8B 18 */ addi r3, r3, start1stSeq__Q28PSSystem5SysIFFv@l
/* 803384EC 0033542C 4B D7 7E 4D */ bl setSeSequenceStartCallback__Q27JAInter5SeMgrFPFv_v
/* 803384F0 00335430 80 9F 00 00 */ lwz r4, 0(r31)
/* 803384F4 00335434 7F C3 F3 78 */ mr r3, r30
/* 803384F8 00335438 80 BF 00 04 */ lwz r5, 4(r31)
/* 803384FC 0033543C 38 C0 00 01 */ li r6, 1
/* 80338500 00335440 4B D7 3C D5 */ bl initDriver__8JAIBasicFP12JKRSolidHeapUlUc
/* 80338504 00335444 7F C3 F3 78 */ mr r3, r30
/* 80338508 00335448 38 80 00 01 */ li r4, 1
/* 8033850C 0033544C 4B D7 3C E9 */ bl initInterface__8JAIBasicFUc
/* 80338510 00335450 7F C3 F3 78 */ mr r3, r30
/* 80338514 00335454 7F E4 FB 78 */ mr r4, r31
/* 80338518 00335458 81 9E 00 00 */ lwz r12, 0(r30)
/* 8033851C 0033545C 81 8C 00 28 */ lwz r12, 0x28(r12)
/* 80338520 00335460 7D 89 03 A6 */ mtctr r12
/* 80338524 00335464 4E 80 04 21 */ bctrl
/* 80338528 00335468 C0 02 FD F0 */ lfs f0, lbl_8051E150@sda21(r2)
/* 8033852C 0033546C 7F C3 F3 78 */ mr r3, r30
/* 80338530 00335470 D0 1E 00 20 */ stfs f0, 0x20(r30)
/* 80338534 00335474 D0 1E 00 24 */ stfs f0, 0x24(r30)
/* 80338538 00335478 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8033853C 0033547C 83 C1 00 08 */ lwz r30, 8(r1)
/* 80338540 00335480 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338544 00335484 7C 08 03 A6 */ mtlr r0
/* 80338548 00335488 38 21 00 10 */ addi r1, r1, 0x10
/* 8033854C 0033548C 4E 80 00 20 */ blr
.global stopSoundSystem__Q28PSSystem5SysIFFv
stopSoundSystem__Q28PSSystem5SysIFFv:
/* 80338550 00335490 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338554 00335494 7C 08 02 A6 */ mflr r0
/* 80338558 00335498 3C 60 80 49 */ lis r3, lbl_8048FE28@ha
/* 8033855C 0033549C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338560 003354A0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80338564 003354A4 3B E3 FE 28 */ addi r31, r3, lbl_8048FE28@l
/* 80338568 003354A8 93 C1 00 08 */ stw r30, 8(r1)
/* 8033856C 003354AC 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 80338570 003354B0 28 00 00 00 */ cmplwi r0, 0
/* 80338574 003354B4 40 82 00 18 */ bne .L_8033858C
/* 80338578 003354B8 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8033857C 003354BC 38 BF 00 10 */ addi r5, r31, 0x10
/* 80338580 003354C0 38 80 01 D3 */ li r4, 0x1d3
/* 80338584 003354C4 4C C6 31 82 */ crclr 6
/* 80338588 003354C8 4B CF 20 B9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8033858C:
/* 8033858C 003354CC 83 CD 98 80 */ lwz r30, spSceneMgr__8PSSystem@sda21(r13)
/* 80338590 003354D0 28 1E 00 00 */ cmplwi r30, 0
/* 80338594 003354D4 40 82 00 18 */ bne .L_803385AC
/* 80338598 003354D8 38 7F 00 1C */ addi r3, r31, 0x1c
/* 8033859C 003354DC 38 BF 00 10 */ addi r5, r31, 0x10
/* 803385A0 003354E0 38 80 01 DC */ li r4, 0x1dc
/* 803385A4 003354E4 4C C6 31 82 */ crclr 6
/* 803385A8 003354E8 4B CF 20 99 */ bl panic_f__12JUTExceptionFPCciPCce
.L_803385AC:
/* 803385AC 003354EC 83 DE 00 04 */ lwz r30, 4(r30)
/* 803385B0 003354F0 28 1E 00 00 */ cmplwi r30, 0
/* 803385B4 003354F4 40 82 00 18 */ bne .L_803385CC
/* 803385B8 003354F8 38 7F 00 00 */ addi r3, r31, 0
/* 803385BC 003354FC 38 BF 00 10 */ addi r5, r31, 0x10
/* 803385C0 00335500 38 80 00 B7 */ li r4, 0xb7
/* 803385C4 00335504 4C C6 31 82 */ crclr 6
/* 803385C8 00335508 4B CF 20 79 */ bl panic_f__12JUTExceptionFPCciPCce
.L_803385CC:
/* 803385CC 0033550C 7F C3 F3 78 */ mr r3, r30
/* 803385D0 00335510 38 80 00 05 */ li r4, 5
/* 803385D4 00335514 81 9E 00 00 */ lwz r12, 0(r30)
/* 803385D8 00335518 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 803385DC 0033551C 7D 89 03 A6 */ mtctr r12
/* 803385E0 00335520 4E 80 04 21 */ bctrl
/* 803385E4 00335524 48 00 00 1C */ b .L_80338600
.L_803385E8:
/* 803385E8 00335528 81 83 00 00 */ lwz r12, 0(r3)
/* 803385EC 0033552C 38 80 00 05 */ li r4, 5
/* 803385F0 00335530 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 803385F4 00335534 7D 89 03 A6 */ mtctr r12
/* 803385F8 00335538 4E 80 04 21 */ bctrl
/* 803385FC 0033553C 83 DE 00 04 */ lwz r30, 4(r30)
.L_80338600:
/* 80338600 00335540 80 7E 00 04 */ lwz r3, 4(r30)
/* 80338604 00335544 28 03 00 00 */ cmplwi r3, 0
/* 80338608 00335548 40 82 FF E0 */ bne .L_803385E8
/* 8033860C 0033554C 38 60 00 0A */ li r3, 0xa
/* 80338610 00335550 38 80 00 01 */ li r4, 1
/* 80338614 00335554 4B D7 49 39 */ bl stopAudio__8JAIBasicFUlb
/* 80338618 00335558 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8033861C 0033555C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80338620 00335560 83 C1 00 08 */ lwz r30, 8(r1)
/* 80338624 00335564 7C 08 03 A6 */ mtlr r0
/* 80338628 00335568 38 21 00 10 */ addi r1, r1, 0x10
/* 8033862C 0033556C 4E 80 00 20 */ blr
.global playSystemSe__Q28PSSystem5SysIFFUlUl
playSystemSe__Q28PSSystem5SysIFFUlUl:
/* 80338630 00335570 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338634 00335574 7C 08 02 A6 */ mflr r0
/* 80338638 00335578 7C A7 2B 78 */ mr r7, r5
/* 8033863C 0033557C 7C 85 23 78 */ mr r5, r4
/* 80338640 00335580 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338644 00335584 38 00 00 00 */ li r0, 0
/* 80338648 00335588 38 81 00 08 */ addi r4, r1, 8
/* 8033864C 0033558C 38 C0 00 00 */ li r6, 0
/* 80338650 00335590 90 01 00 08 */ stw r0, 8(r1)
/* 80338654 00335594 39 00 00 04 */ li r8, 4
/* 80338658 00335598 48 00 06 5D */ bl "startSoundActorReturnHandleT<5JAISe>__8JAIBasicFPP5JAISeUlPQ27JAInter5ActorUlUc"
/* 8033865C 0033559C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338660 003355A0 80 61 00 08 */ lwz r3, 8(r1)
/* 80338664 003355A4 7C 08 03 A6 */ mtlr r0
/* 80338668 003355A8 38 21 00 10 */ addi r1, r1, 0x10
/* 8033866C 003355AC 4E 80 00 20 */ blr
.global playSystemSe__Q28PSSystem5SysIFFUlPP8JAISoundUl
playSystemSe__Q28PSSystem5SysIFFUlPP8JAISoundUl:
/* 80338670 003355B0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338674 003355B4 7C 08 02 A6 */ mflr r0
/* 80338678 003355B8 7C C7 33 78 */ mr r7, r6
/* 8033867C 003355BC 38 C0 00 00 */ li r6, 0
/* 80338680 003355C0 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338684 003355C4 39 00 00 04 */ li r8, 4
/* 80338688 003355C8 4B CD D2 45 */ bl "startSoundActorT<8JAISound>__8JAIBasicFUlPP8JAISoundPQ27JAInter5ActorUlUc"
/* 8033868C 003355CC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338690 003355D0 7C 08 03 A6 */ mtlr r0
/* 80338694 003355D4 38 21 00 10 */ addi r1, r1, 0x10
/* 80338698 003355D8 4E 80 00 20 */ blr
.global initIF__Q28PSSystem5SysIFFRCQ28PSSystem8SetupArg
initIF__Q28PSSystem5SysIFFRCQ28PSSystem8SetupArg:
/* 8033869C 003355DC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803386A0 003355E0 7C 08 02 A6 */ mflr r0
/* 803386A4 003355E4 90 01 00 14 */ stw r0, 0x14(r1)
/* 803386A8 003355E8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 803386AC 003355EC 7C 9F 23 78 */ mr r31, r4
/* 803386B0 003355F0 4B D7 3C 25 */ bl initHeap__8JAIBasicFv
/* 803386B4 003355F4 3C 60 80 33 */ lis r3, requestCallback__Q28PSSystem7SeqHeapFUlUsP11JAISequence@ha
/* 803386B8 003355F8 38 63 12 3C */ addi r3, r3, requestCallback__Q28PSSystem7SeqHeapFUlUsP11JAISequence@l
/* 803386BC 003355FC 4B D7 89 E9 */ bl setCustomHeapCallback__Q27JAInter11SequenceMgrFPFUlUsP11JAISequence_Q37JAInter11SequenceMgr14CustomHeapInfo
/* 803386C0 00335600 C0 22 FD F4 */ lfs f1, lbl_8051E154@sda21(r2)
/* 803386C4 00335604 C0 62 FD F8 */ lfs f3, lbl_8051E158@sda21(r2)
/* 803386C8 00335608 FC 40 08 90 */ fmr f2, f1
/* 803386CC 0033560C 4B D6 C1 3D */ bl setLevel__9JASDriverFfff
/* 803386D0 00335610 80 7F 00 0C */ lwz r3, 0xc(r31)
/* 803386D4 00335614 4B D6 A0 79 */ bl registerSeqCallback__8JASTrackFPFP8JASTrackUs_Us
/* 803386D8 00335618 80 0D 98 78 */ lwz r0, sInstance__Q28PSSystem11BankRandPrm@sda21(r13)
/* 803386DC 0033561C 28 00 00 00 */ cmplwi r0, 0
/* 803386E0 00335620 40 82 00 20 */ bne .L_80338700
/* 803386E4 00335624 38 60 00 10 */ li r3, 0x10
/* 803386E8 00335628 4B CE B7 BD */ bl __nw__FUl
/* 803386EC 0033562C 7C 60 1B 79 */ or. r0, r3, r3
/* 803386F0 00335630 41 82 00 0C */ beq .L_803386FC
/* 803386F4 00335634 48 00 63 9D */ bl __ct__Q28PSSystem11BankRandPrmFv
/* 803386F8 00335638 7C 60 1B 78 */ mr r0, r3
.L_803386FC:
/* 803386FC 0033563C 90 0D 98 78 */ stw r0, sInstance__Q28PSSystem11BankRandPrm@sda21(r13)
.L_80338700:
/* 80338700 00335640 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338704 00335644 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80338708 00335648 7C 08 03 A6 */ mtlr r0
/* 8033870C 0033564C 38 21 00 10 */ addi r1, r1, 0x10
/* 80338710 00335650 4E 80 00 20 */ blr
.global makeSe__Q28PSSystem5SysIFFv
makeSe__Q28PSSystem5SysIFFv:
/* 80338714 00335654 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338718 00335658 7C 08 02 A6 */ mflr r0
/* 8033871C 0033565C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338720 00335660 81 8D 98 60 */ lwz r12, sMakeJAISeCallback__Q28PSSystem5SysIF@sda21(r13)
/* 80338724 00335664 28 0C 00 00 */ cmplwi r12, 0
/* 80338728 00335668 41 82 00 10 */ beq .L_80338738
/* 8033872C 0033566C 7D 89 03 A6 */ mtctr r12
/* 80338730 00335670 4E 80 04 21 */ bctrl
/* 80338734 00335674 48 00 00 08 */ b .L_8033873C
.L_80338738:
/* 80338738 00335678 4B D7 47 35 */ bl makeSe__8JAIBasicFv
.L_8033873C:
/* 8033873C 0033567C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338740 00335680 7C 08 03 A6 */ mtlr r0
/* 80338744 00335684 38 21 00 10 */ addi r1, r1, 0x10
/* 80338748 00335688 4E 80 00 20 */ blr
.global mainLoop__Q28PSSystem5SysIFFv
mainLoop__Q28PSSystem5SysIFFv:
/* 8033874C 0033568C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80338750 00335690 7C 08 02 A6 */ mflr r0
/* 80338754 00335694 90 01 00 24 */ stw r0, 0x24(r1)
/* 80338758 00335698 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8033875C 0033569C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 80338760 003356A0 93 A1 00 14 */ stw r29, 0x14(r1)
/* 80338764 003356A4 7C 7D 1B 78 */ mr r29, r3
/* 80338768 003356A8 80 03 00 40 */ lwz r0, 0x40(r3)
/* 8033876C 003356AC 2C 00 00 01 */ cmpwi r0, 1
/* 80338770 003356B0 40 82 00 9C */ bne .L_8033880C
/* 80338774 003356B4 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 80338778 003356B8 28 00 00 00 */ cmplwi r0, 0
/* 8033877C 003356BC 40 82 00 20 */ bne .L_8033879C
/* 80338780 003356C0 3C 60 80 49 */ lis r3, lbl_8048FE44@ha
/* 80338784 003356C4 3C A0 80 49 */ lis r5, lbl_8048FE38@ha
/* 80338788 003356C8 38 63 FE 44 */ addi r3, r3, lbl_8048FE44@l
/* 8033878C 003356CC 38 80 01 D3 */ li r4, 0x1d3
/* 80338790 003356D0 38 A5 FE 38 */ addi r5, r5, lbl_8048FE38@l
/* 80338794 003356D4 4C C6 31 82 */ crclr 6
/* 80338798 003356D8 4B CF 1E A9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8033879C:
/* 8033879C 003356DC 80 6D 98 80 */ lwz r3, spSceneMgr__8PSSystem@sda21(r13)
/* 803387A0 003356E0 81 83 00 00 */ lwz r12, 0(r3)
/* 803387A4 003356E4 81 8C 00 08 */ lwz r12, 8(r12)
/* 803387A8 003356E8 7D 89 03 A6 */ mtctr r12
/* 803387AC 003356EC 4E 80 04 21 */ bctrl
/* 803387B0 003356F0 80 0D 91 C8 */ lwz r0, "sInstance__Q28PSSystem30SingletonBase<Q26PSGame5SeMgr>"@sda21(r13)
/* 803387B4 003356F4 28 00 00 00 */ cmplwi r0, 0
/* 803387B8 003356F8 40 82 00 20 */ bne .L_803387D8
/* 803387BC 003356FC 3C 60 80 49 */ lis r3, lbl_8048FE44@ha
/* 803387C0 00335700 3C A0 80 49 */ lis r5, lbl_8048FE38@ha
/* 803387C4 00335704 38 63 FE 44 */ addi r3, r3, lbl_8048FE44@l
/* 803387C8 00335708 38 80 02 37 */ li r4, 0x237
/* 803387CC 0033570C 38 A5 FE 38 */ addi r5, r5, lbl_8048FE38@l
/* 803387D0 00335710 4C C6 31 82 */ crclr 6
/* 803387D4 00335714 4B CF 1E 6D */ bl panic_f__12JUTExceptionFPCciPCce
.L_803387D8:
/* 803387D8 00335718 83 CD 91 C8 */ lwz r30, "sInstance__Q28PSSystem30SingletonBase<Q26PSGame5SeMgr>"@sda21(r13)
/* 803387DC 0033571C 3B E0 00 00 */ li r31, 0
/* 803387E0 00335720 48 00 00 18 */ b .L_803387F8
.L_803387E4:
/* 803387E4 00335724 57 E3 15 BA */ rlwinm r3, r31, 2, 0x16, 0x1d
/* 803387E8 00335728 38 03 00 04 */ addi r0, r3, 4
/* 803387EC 0033572C 7C 7E 00 2E */ lwzx r3, r30, r0
/* 803387F0 00335730 48 00 70 91 */ bl exec__Q26PSGame5SetSeFv
/* 803387F4 00335734 3B FF 00 01 */ addi r31, r31, 1
.L_803387F8:
/* 803387F8 00335738 57 E0 06 3E */ clrlwi r0, r31, 0x18
/* 803387FC 0033573C 28 00 00 08 */ cmplwi r0, 8
/* 80338800 00335740 41 80 FF E4 */ blt .L_803387E4
/* 80338804 00335744 7F A3 EB 78 */ mr r3, r29
/* 80338808 00335748 4B D7 3F 11 */ bl processFrameWork__8JAIBasicFv
.L_8033880C:
/* 8033880C 0033574C 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80338810 00335750 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80338814 00335754 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 80338818 00335758 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8033881C 0033575C 7C 08 03 A6 */ mtlr r0
/* 80338820 00335760 38 21 00 20 */ addi r1, r1, 0x20
/* 80338824 00335764 4E 80 00 20 */ blr
.global setConfigVol_Se__Q28PSSystem5SysIFFf
setConfigVol_Se__Q28PSSystem5SysIFFf:
/* 80338828 00335768 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8033882C 0033576C 7C 08 02 A6 */ mflr r0
/* 80338830 00335770 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338834 00335774 DB E1 00 08 */ stfd f31, 8(r1)
/* 80338838 00335778 FF E0 08 90 */ fmr f31, f1
/* 8033883C 0033577C D3 E3 00 20 */ stfs f31, 0x20(r3)
/* 80338840 00335780 80 6D 98 80 */ lwz r3, spSceneMgr__8PSSystem@sda21(r13)
/* 80338844 00335784 28 03 00 00 */ cmplwi r3, 0
/* 80338848 00335788 41 82 00 58 */ beq .L_803388A0
/* 8033884C 0033578C 80 63 00 04 */ lwz r3, 4(r3)
/* 80338850 00335790 28 03 00 00 */ cmplwi r3, 0
/* 80338854 00335794 41 82 00 4C */ beq .L_803388A0
/* 80338858 00335798 38 63 00 10 */ addi r3, r3, 0x10
/* 8033885C 0033579C 4B FF B6 01 */ bl getFirstSeq__Q28PSSystem6SeqMgrFv
/* 80338860 003357A0 28 03 00 00 */ cmplwi r3, 0
/* 80338864 003357A4 41 82 00 3C */ beq .L_803388A0
/* 80338868 003357A8 81 83 00 10 */ lwz r12, 0x10(r3)
/* 8033886C 003357AC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80338870 003357B0 7D 89 03 A6 */ mtctr r12
/* 80338874 003357B4 4E 80 04 21 */ bctrl
/* 80338878 003357B8 80 63 00 00 */ lwz r3, 0(r3)
/* 8033887C 003357BC 28 03 00 00 */ cmplwi r3, 0
/* 80338880 003357C0 41 82 00 20 */ beq .L_803388A0
/* 80338884 003357C4 81 83 00 10 */ lwz r12, 0x10(r3)
/* 80338888 003357C8 FC 20 F8 90 */ fmr f1, f31
/* 8033888C 003357CC 38 80 00 03 */ li r4, 3
/* 80338890 003357D0 38 A0 00 08 */ li r5, 8
/* 80338894 003357D4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80338898 003357D8 7D 89 03 A6 */ mtctr r12
/* 8033889C 003357DC 4E 80 04 21 */ bctrl
.L_803388A0:
/* 803388A0 003357E0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 803388A4 003357E4 CB E1 00 08 */ lfd f31, 8(r1)
/* 803388A8 003357E8 7C 08 03 A6 */ mtlr r0
/* 803388AC 003357EC 38 21 00 10 */ addi r1, r1, 0x10
/* 803388B0 003357F0 4E 80 00 20 */ blr
.global setConfigVol_Bgm__Q28PSSystem5SysIFFf
setConfigVol_Bgm__Q28PSSystem5SysIFFf:
/* 803388B4 003357F4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 803388B8 003357F8 7C 08 02 A6 */ mflr r0
/* 803388BC 003357FC 90 01 00 24 */ stw r0, 0x24(r1)
/* 803388C0 00335800 DB E1 00 18 */ stfd f31, 0x18(r1)
/* 803388C4 00335804 FF E0 08 90 */ fmr f31, f1
/* 803388C8 00335808 93 E1 00 14 */ stw r31, 0x14(r1)
/* 803388CC 0033580C D3 E3 00 24 */ stfs f31, 0x24(r3)
/* 803388D0 00335810 83 ED 98 80 */ lwz r31, spSceneMgr__8PSSystem@sda21(r13)
/* 803388D4 00335814 28 1F 00 00 */ cmplwi r31, 0
/* 803388D8 00335818 41 82 00 8C */ beq .L_80338964
/* 803388DC 0033581C 80 1F 00 04 */ lwz r0, 4(r31)
/* 803388E0 00335820 28 00 00 00 */ cmplwi r0, 0
/* 803388E4 00335824 40 82 00 20 */ bne .L_80338904
/* 803388E8 00335828 3C 60 80 49 */ lis r3, lbl_8048FE50@ha
/* 803388EC 0033582C 3C A0 80 49 */ lis r5, lbl_8048FE38@ha
/* 803388F0 00335830 38 63 FE 50 */ addi r3, r3, lbl_8048FE50@l
/* 803388F4 00335834 38 80 00 C7 */ li r4, 0xc7
/* 803388F8 00335838 38 A5 FE 38 */ addi r5, r5, lbl_8048FE38@l
/* 803388FC 0033583C 4C C6 31 82 */ crclr 6
/* 80338900 00335840 4B CF 1D 41 */ bl panic_f__12JUTExceptionFPCciPCce
.L_80338904:
/* 80338904 00335844 80 7F 00 04 */ lwz r3, 4(r31)
/* 80338908 00335848 80 63 00 04 */ lwz r3, 4(r3)
/* 8033890C 0033584C 28 03 00 00 */ cmplwi r3, 0
/* 80338910 00335850 41 82 00 54 */ beq .L_80338964
/* 80338914 00335854 83 E3 00 10 */ lwz r31, 0x10(r3)
/* 80338918 00335858 48 00 00 44 */ b .L_8033895C
.L_8033891C:
/* 8033891C 0033585C 80 7F 00 00 */ lwz r3, 0(r31)
/* 80338920 00335860 81 83 00 10 */ lwz r12, 0x10(r3)
/* 80338924 00335864 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 80338928 00335868 7D 89 03 A6 */ mtctr r12
/* 8033892C 0033586C 4E 80 04 21 */ bctrl
/* 80338930 00335870 80 63 00 00 */ lwz r3, 0(r3)
/* 80338934 00335874 28 03 00 00 */ cmplwi r3, 0
/* 80338938 00335878 41 82 00 20 */ beq .L_80338958
/* 8033893C 0033587C 81 83 00 10 */ lwz r12, 0x10(r3)
/* 80338940 00335880 FC 20 F8 90 */ fmr f1, f31
/* 80338944 00335884 38 80 00 03 */ li r4, 3
/* 80338948 00335888 38 A0 00 08 */ li r5, 8
/* 8033894C 0033588C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 80338950 00335890 7D 89 03 A6 */ mtctr r12
/* 80338954 00335894 4E 80 04 21 */ bctrl
.L_80338958:
/* 80338958 00335898 83 FF 00 0C */ lwz r31, 0xc(r31)
.L_8033895C:
/* 8033895C 0033589C 28 1F 00 00 */ cmplwi r31, 0
/* 80338960 003358A0 40 82 FF BC */ bne .L_8033891C
.L_80338964:
/* 80338964 003358A4 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80338968 003358A8 CB E1 00 18 */ lfd f31, 0x18(r1)
/* 8033896C 003358AC 83 E1 00 14 */ lwz r31, 0x14(r1)
/* 80338970 003358B0 7C 08 03 A6 */ mtlr r0
/* 80338974 003358B4 38 21 00 20 */ addi r1, r1, 0x20
/* 80338978 003358B8 4E 80 00 20 */ blr
.global __ct__Q28PSSystem5FxMgrFv
__ct__Q28PSSystem5FxMgrFv:
/* 8033897C 003358BC 4E 80 00 20 */ blr
.global __ct__Q28PSSystem12TextDataBaseFv
__ct__Q28PSSystem12TextDataBaseFv:
/* 80338980 003358C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338984 003358C4 7C 08 02 A6 */ mflr r0
/* 80338988 003358C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8033898C 003358CC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80338990 003358D0 7C 7F 1B 78 */ mr r31, r3
/* 80338994 003358D4 4B CE 46 39 */ bl __ct__11JKRDisposerFv
/* 80338998 003358D8 3C 60 80 4E */ lis r3, __vt__Q28PSSystem12TextDataBase@ha
/* 8033899C 003358DC 38 00 00 00 */ li r0, 0
/* 803389A0 003358E0 38 83 AA 98 */ addi r4, r3, __vt__Q28PSSystem12TextDataBase@l
/* 803389A4 003358E4 7F E3 FB 78 */ mr r3, r31
/* 803389A8 003358E8 90 9F 00 00 */ stw r4, 0(r31)
/* 803389AC 003358EC 90 1F 00 18 */ stw r0, 0x18(r31)
/* 803389B0 003358F0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 803389B4 003358F4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 803389B8 003358F8 7C 08 03 A6 */ mtlr r0
/* 803389BC 003358FC 38 21 00 10 */ addi r1, r1, 0x10
/* 803389C0 00335900 4E 80 00 20 */ blr
.global __dt__Q28PSSystem12TextDataBaseFv
__dt__Q28PSSystem12TextDataBaseFv:
/* 803389C4 00335904 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 803389C8 00335908 7C 08 02 A6 */ mflr r0
/* 803389CC 0033590C 90 01 00 14 */ stw r0, 0x14(r1)
/* 803389D0 00335910 93 E1 00 0C */ stw r31, 0xc(r1)
/* 803389D4 00335914 7C 9F 23 78 */ mr r31, r4
/* 803389D8 00335918 93 C1 00 08 */ stw r30, 8(r1)
/* 803389DC 0033591C 7C 7E 1B 79 */ or. r30, r3, r3
/* 803389E0 00335920 41 82 00 38 */ beq .L_80338A18
/* 803389E4 00335924 3C 60 80 4E */ lis r3, __vt__Q28PSSystem12TextDataBase@ha
/* 803389E8 00335928 38 80 00 00 */ li r4, 0
/* 803389EC 0033592C 38 03 AA 98 */ addi r0, r3, __vt__Q28PSSystem12TextDataBase@l
/* 803389F0 00335930 90 1E 00 00 */ stw r0, 0(r30)
/* 803389F4 00335934 80 7E 00 18 */ lwz r3, 0x18(r30)
/* 803389F8 00335938 4B CE AC 75 */ bl free__7JKRHeapFPvP7JKRHeap
/* 803389FC 0033593C 7F C3 F3 78 */ mr r3, r30
/* 80338A00 00335940 38 80 00 00 */ li r4, 0
/* 80338A04 00335944 4B CE 46 31 */ bl __dt__11JKRDisposerFv
/* 80338A08 00335948 7F E0 07 35 */ extsh. r0, r31
/* 80338A0C 0033594C 40 81 00 0C */ ble .L_80338A18
/* 80338A10 00335950 7F C3 F3 78 */ mr r3, r30
/* 80338A14 00335954 4B CE B6 A1 */ bl __dl__FPv
.L_80338A18:
/* 80338A18 00335958 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338A1C 0033595C 7F C3 F3 78 */ mr r3, r30
/* 80338A20 00335960 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80338A24 00335964 83 C1 00 08 */ lwz r30, 8(r1)
/* 80338A28 00335968 7C 08 03 A6 */ mtlr r0
/* 80338A2C 0033596C 38 21 00 10 */ addi r1, r1, 0x10
/* 80338A30 00335970 4E 80 00 20 */ blr
.global load__Q28PSSystem12TextDataBaseFPCcQ212JKRDvdRipper15EAllocDirection
load__Q28PSSystem12TextDataBaseFPCcQ212JKRDvdRipper15EAllocDirection:
/* 80338A34 00335974 94 21 FB D0 */ stwu r1, -0x430(r1)
/* 80338A38 00335978 7C 08 02 A6 */ mflr r0
/* 80338A3C 0033597C 90 01 04 34 */ stw r0, 0x434(r1)
/* 80338A40 00335980 93 E1 04 2C */ stw r31, 0x42c(r1)
/* 80338A44 00335984 7C 7F 1B 78 */ mr r31, r3
/* 80338A48 00335988 48 00 00 69 */ bl onlyLoad__Q28PSSystem12TextDataBaseFPCcQ212JKRDvdRipper15EAllocDirection
/* 80338A4C 0033598C 80 9F 00 18 */ lwz r4, 0x18(r31)
/* 80338A50 00335990 28 04 00 00 */ cmplwi r4, 0
/* 80338A54 00335994 41 82 00 44 */ beq .L_80338A98
/* 80338A58 00335998 38 61 00 08 */ addi r3, r1, 8
/* 80338A5C 0033599C 38 A0 FF FF */ li r5, -1
/* 80338A60 003359A0 48 0D CE 99 */ bl __ct__9RamStreamFPvi
/* 80338A64 003359A4 38 00 00 01 */ li r0, 1
/* 80338A68 003359A8 2C 00 00 01 */ cmpwi r0, 1
/* 80338A6C 003359AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338A70 003359B0 40 82 00 0C */ bne .L_80338A7C
/* 80338A74 003359B4 38 00 00 00 */ li r0, 0
/* 80338A78 003359B8 90 01 04 1C */ stw r0, 0x41c(r1)
.L_80338A7C:
/* 80338A7C 003359BC 7F E3 FB 78 */ mr r3, r31
/* 80338A80 003359C0 38 81 00 08 */ addi r4, r1, 8
/* 80338A84 003359C4 81 9F 00 00 */ lwz r12, 0(r31)
/* 80338A88 003359C8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 80338A8C 003359CC 7D 89 03 A6 */ mtctr r12
/* 80338A90 003359D0 4E 80 04 21 */ bctrl
/* 80338A94 003359D4 48 00 00 08 */ b .L_80338A9C
.L_80338A98:
/* 80338A98 003359D8 38 60 00 00 */ li r3, 0
.L_80338A9C:
/* 80338A9C 003359DC 80 01 04 34 */ lwz r0, 0x434(r1)
/* 80338AA0 003359E0 83 E1 04 2C */ lwz r31, 0x42c(r1)
/* 80338AA4 003359E4 7C 08 03 A6 */ mtlr r0
/* 80338AA8 003359E8 38 21 04 30 */ addi r1, r1, 0x430
/* 80338AAC 003359EC 4E 80 00 20 */ blr
.global onlyLoad__Q28PSSystem12TextDataBaseFPCcQ212JKRDvdRipper15EAllocDirection
onlyLoad__Q28PSSystem12TextDataBaseFPCcQ212JKRDvdRipper15EAllocDirection: # weak function
/* 80338AB0 003359F0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80338AB4 003359F4 7C 08 02 A6 */ mflr r0
/* 80338AB8 003359F8 7C A8 2B 78 */ mr r8, r5
/* 80338ABC 003359FC 38 A0 00 00 */ li r5, 0
/* 80338AC0 00335A00 90 01 00 24 */ stw r0, 0x24(r1)
/* 80338AC4 00335A04 38 00 00 00 */ li r0, 0
/* 80338AC8 00335A08 38 C0 00 00 */ li r6, 0
/* 80338ACC 00335A0C 38 E0 00 00 */ li r7, 0
/* 80338AD0 00335A10 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80338AD4 00335A14 7C 7F 1B 78 */ mr r31, r3
/* 80338AD8 00335A18 7C 83 23 78 */ mr r3, r4
/* 80338ADC 00335A1C 38 80 00 00 */ li r4, 0
/* 80338AE0 00335A20 90 01 00 08 */ stw r0, 8(r1)
/* 80338AE4 00335A24 39 20 00 00 */ li r9, 0
/* 80338AE8 00335A28 39 40 00 00 */ li r10, 0
/* 80338AEC 00335A2C 4B CE 66 9D */ bl loadToMainRAM__12JKRDvdRipperFPCcPUc15JKRExpandSwitchUlP7JKRHeapQ212JKRDvdRipper15EAllocDirectionUlPiPUl
/* 80338AF0 00335A30 90 7F 00 18 */ stw r3, 0x18(r31)
/* 80338AF4 00335A34 80 7F 00 18 */ lwz r3, 0x18(r31)
/* 80338AF8 00335A38 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80338AFC 00335A3C 7C 03 00 D0 */ neg r0, r3
/* 80338B00 00335A40 7C 00 1B 78 */ or r0, r0, r3
/* 80338B04 00335A44 54 03 0F FE */ srwi r3, r0, 0x1f
/* 80338B08 00335A48 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80338B0C 00335A4C 7C 08 03 A6 */ mtlr r0
/* 80338B10 00335A50 38 21 00 20 */ addi r1, r1, 0x20
/* 80338B14 00335A54 4E 80 00 20 */ blr
.global start1stSeq__Q28PSSystem5SysIFFv
start1stSeq__Q28PSSystem5SysIFFv: # weak function
/* 80338B18 00335A58 38 00 00 00 */ li r0, 0
/* 80338B1C 00335A5C 90 0D 8B E0 */ stw r0, seHandle__Q27JAInter5SeMgr@sda21(r13)
/* 80338B20 00335A60 4E 80 00 20 */ blr
.global makeSequence__Q28PSSystem5SysIFFv
makeSequence__Q28PSSystem5SysIFFv: # weak function
/* 80338B24 00335A64 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338B28 00335A68 7C 08 02 A6 */ mflr r0
/* 80338B2C 00335A6C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338B30 00335A70 80 83 00 08 */ lwz r4, 8(r3)
/* 80338B34 00335A74 28 04 00 00 */ cmplwi r4, 0
/* 80338B38 00335A78 41 82 00 28 */ beq .L_80338B60
/* 80338B3C 00335A7C 38 60 06 A8 */ li r3, 0x6a8
/* 80338B40 00335A80 38 A0 00 00 */ li r5, 0
/* 80338B44 00335A84 4B CE B3 FD */ bl __nw__FUlP7JKRHeapi
/* 80338B48 00335A88 7C 60 1B 79 */ or. r0, r3, r3
/* 80338B4C 00335A8C 41 82 00 0C */ beq .L_80338B58
/* 80338B50 00335A90 48 00 00 45 */ bl __ct__Q28PSSystem8SeqSoundFv
/* 80338B54 00335A94 7C 60 1B 78 */ mr r0, r3
.L_80338B58:
/* 80338B58 00335A98 7C 03 03 78 */ mr r3, r0
/* 80338B5C 00335A9C 48 00 00 28 */ b .L_80338B84
.L_80338B60:
/* 80338B60 00335AA0 80 8D 8A B8 */ lwz r4, JASDram@sda21(r13)
/* 80338B64 00335AA4 38 60 06 A8 */ li r3, 0x6a8
/* 80338B68 00335AA8 38 A0 00 00 */ li r5, 0
/* 80338B6C 00335AAC 4B CE B3 D5 */ bl __nw__FUlP7JKRHeapi
/* 80338B70 00335AB0 7C 60 1B 79 */ or. r0, r3, r3
/* 80338B74 00335AB4 41 82 00 0C */ beq .L_80338B80
/* 80338B78 00335AB8 48 00 00 1D */ bl __ct__Q28PSSystem8SeqSoundFv
/* 80338B7C 00335ABC 7C 60 1B 78 */ mr r0, r3
.L_80338B80:
/* 80338B80 00335AC0 7C 03 03 78 */ mr r3, r0
.L_80338B84:
/* 80338B84 00335AC4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338B88 00335AC8 7C 08 03 A6 */ mtlr r0
/* 80338B8C 00335ACC 38 21 00 10 */ addi r1, r1, 0x10
/* 80338B90 00335AD0 4E 80 00 20 */ blr
.global __ct__Q28PSSystem8SeqSoundFv
__ct__Q28PSSystem8SeqSoundFv: # weak function
/* 80338B94 00335AD4 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338B98 00335AD8 7C 08 02 A6 */ mflr r0
/* 80338B9C 00335ADC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338BA0 00335AE0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80338BA4 00335AE4 7C 7F 1B 78 */ mr r31, r3
/* 80338BA8 00335AE8 4B D7 AC 91 */ bl __ct__11JAISequenceFv
/* 80338BAC 00335AEC 3C 80 80 4E */ lis r4, __vt__Q28PSSystem12SeqSoundBase@ha
/* 80338BB0 00335AF0 3C 60 80 4E */ lis r3, __vt__Q28PSSystem8SeqSound@ha
/* 80338BB4 00335AF4 38 04 A8 BC */ addi r0, r4, __vt__Q28PSSystem12SeqSoundBase@l
/* 80338BB8 00335AF8 38 A0 00 00 */ li r5, 0
/* 80338BBC 00335AFC 90 1F 06 A0 */ stw r0, 0x6a0(r31)
/* 80338BC0 00335B00 38 83 A7 D4 */ addi r4, r3, __vt__Q28PSSystem8SeqSound@l
/* 80338BC4 00335B04 38 04 00 D4 */ addi r0, r4, 0xd4
/* 80338BC8 00335B08 7F E3 FB 78 */ mr r3, r31
/* 80338BCC 00335B0C 90 BF 06 A4 */ stw r5, 0x6a4(r31)
/* 80338BD0 00335B10 90 9F 00 10 */ stw r4, 0x10(r31)
/* 80338BD4 00335B14 90 1F 06 A0 */ stw r0, 0x6a0(r31)
/* 80338BD8 00335B18 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80338BDC 00335B1C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338BE0 00335B20 7C 08 03 A6 */ mtlr r0
/* 80338BE4 00335B24 38 21 00 10 */ addi r1, r1, 0x10
/* 80338BE8 00335B28 4E 80 00 20 */ blr
.global makeStream__Q28PSSystem5SysIFFv
makeStream__Q28PSSystem5SysIFFv: # weak function
/* 80338BEC 00335B2C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338BF0 00335B30 7C 08 02 A6 */ mflr r0
/* 80338BF4 00335B34 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338BF8 00335B38 80 83 00 08 */ lwz r4, 8(r3)
/* 80338BFC 00335B3C 28 04 00 00 */ cmplwi r4, 0
/* 80338C00 00335B40 41 82 00 28 */ beq .L_80338C28
/* 80338C04 00335B44 38 60 01 E0 */ li r3, 0x1e0
/* 80338C08 00335B48 38 A0 00 00 */ li r5, 0
/* 80338C0C 00335B4C 4B CE B3 35 */ bl __nw__FUlP7JKRHeapi
/* 80338C10 00335B50 7C 60 1B 79 */ or. r0, r3, r3
/* 80338C14 00335B54 41 82 00 0C */ beq .L_80338C20
/* 80338C18 00335B58 48 00 00 45 */ bl __ct__Q28PSSystem11StreamSoundFv
/* 80338C1C 00335B5C 7C 60 1B 78 */ mr r0, r3
.L_80338C20:
/* 80338C20 00335B60 7C 03 03 78 */ mr r3, r0
/* 80338C24 00335B64 48 00 00 28 */ b .L_80338C4C
.L_80338C28:
/* 80338C28 00335B68 80 8D 8A B8 */ lwz r4, JASDram@sda21(r13)
/* 80338C2C 00335B6C 38 60 01 E0 */ li r3, 0x1e0
/* 80338C30 00335B70 38 A0 00 00 */ li r5, 0
/* 80338C34 00335B74 4B CE B3 0D */ bl __nw__FUlP7JKRHeapi
/* 80338C38 00335B78 7C 60 1B 79 */ or. r0, r3, r3
/* 80338C3C 00335B7C 41 82 00 0C */ beq .L_80338C48
/* 80338C40 00335B80 48 00 00 1D */ bl __ct__Q28PSSystem11StreamSoundFv
/* 80338C44 00335B84 7C 60 1B 78 */ mr r0, r3
.L_80338C48:
/* 80338C48 00335B88 7C 03 03 78 */ mr r3, r0
.L_80338C4C:
/* 80338C4C 00335B8C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338C50 00335B90 7C 08 03 A6 */ mtlr r0
/* 80338C54 00335B94 38 21 00 10 */ addi r1, r1, 0x10
/* 80338C58 00335B98 4E 80 00 20 */ blr
.global __ct__Q28PSSystem11StreamSoundFv
__ct__Q28PSSystem11StreamSoundFv: # weak function
/* 80338C5C 00335B9C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338C60 00335BA0 7C 08 02 A6 */ mflr r0
/* 80338C64 00335BA4 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338C68 00335BA8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 80338C6C 00335BAC 7C 7F 1B 78 */ mr r31, r3
/* 80338C70 00335BB0 4B D7 AE 09 */ bl __ct__9JAIStreamFv
/* 80338C74 00335BB4 3C 80 80 4E */ lis r4, __vt__Q28PSSystem12SeqSoundBase@ha
/* 80338C78 00335BB8 3C 60 80 4E */ lis r3, __vt__Q28PSSystem11StreamSound@ha
/* 80338C7C 00335BBC 38 04 A8 BC */ addi r0, r4, __vt__Q28PSSystem12SeqSoundBase@l
/* 80338C80 00335BC0 38 A0 00 00 */ li r5, 0
/* 80338C84 00335BC4 90 1F 01 D8 */ stw r0, 0x1d8(r31)
/* 80338C88 00335BC8 38 83 A6 EC */ addi r4, r3, __vt__Q28PSSystem11StreamSound@l
/* 80338C8C 00335BCC 38 04 00 D4 */ addi r0, r4, 0xd4
/* 80338C90 00335BD0 7F E3 FB 78 */ mr r3, r31
/* 80338C94 00335BD4 90 BF 01 DC */ stw r5, 0x1dc(r31)
/* 80338C98 00335BD8 90 9F 00 10 */ stw r4, 0x10(r31)
/* 80338C9C 00335BDC 90 1F 01 D8 */ stw r0, 0x1d8(r31)
/* 80338CA0 00335BE0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80338CA4 00335BE4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338CA8 00335BE8 7C 08 03 A6 */ mtlr r0
/* 80338CAC 00335BEC 38 21 00 10 */ addi r1, r1, 0x10
/* 80338CB0 00335BF0 4E 80 00 20 */ blr
.global "startSoundActorReturnHandleT<5JAISe>__8JAIBasicFPP5JAISeUlPQ27JAInter5ActorUlUc"
"startSoundActorReturnHandleT<5JAISe>__8JAIBasicFPP5JAISeUlPQ27JAInter5ActorUlUc": # weak function
/* 80338CB4 00335BF4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80338CB8 00335BF8 7C 08 02 A6 */ mflr r0
/* 80338CBC 00335BFC 39 20 00 00 */ li r9, 0
/* 80338CC0 00335C00 90 01 00 24 */ stw r0, 0x24(r1)
/* 80338CC4 00335C04 54 A0 00 03 */ rlwinm. r0, r5, 0, 0, 1
/* 80338CC8 00335C08 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 80338CCC 00335C0C 7C 9F 23 78 */ mr r31, r4
/* 80338CD0 00335C10 91 21 00 08 */ stw r9, 8(r1)
/* 80338CD4 00335C14 40 82 00 0C */ bne .L_80338CE0
/* 80338CD8 00335C18 38 00 00 01 */ li r0, 1
/* 80338CDC 00335C1C 90 01 00 08 */ stw r0, 8(r1)
.L_80338CE0:
/* 80338CE0 00335C20 7C A4 2B 78 */ mr r4, r5
/* 80338CE4 00335C24 38 A1 00 08 */ addi r5, r1, 8
/* 80338CE8 00335C28 48 00 00 3D */ bl "startSoundActorT<5JAISe>__8JAIBasicFUlPP5JAISePQ27JAInter5ActorUlUc"
/* 80338CEC 00335C2C 80 01 00 08 */ lwz r0, 8(r1)
/* 80338CF0 00335C30 90 1F 00 00 */ stw r0, 0(r31)
/* 80338CF4 00335C34 80 61 00 08 */ lwz r3, 8(r1)
/* 80338CF8 00335C38 28 03 00 00 */ cmplwi r3, 0
/* 80338CFC 00335C3C 41 82 00 14 */ beq .L_80338D10
/* 80338D00 00335C40 81 83 00 10 */ lwz r12, 0x10(r3)
/* 80338D04 00335C44 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 80338D08 00335C48 7D 89 03 A6 */ mtctr r12
/* 80338D0C 00335C4C 4E 80 04 21 */ bctrl
.L_80338D10:
/* 80338D10 00335C50 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80338D14 00335C54 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 80338D18 00335C58 7C 08 03 A6 */ mtlr r0
/* 80338D1C 00335C5C 38 21 00 20 */ addi r1, r1, 0x20
/* 80338D20 00335C60 4E 80 00 20 */ blr
.global "startSoundActorT<5JAISe>__8JAIBasicFUlPP5JAISePQ27JAInter5ActorUlUc"
"startSoundActorT<5JAISe>__8JAIBasicFUlPP5JAISePQ27JAInter5ActorUlUc": # weak function
/* 80338D24 00335C64 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 80338D28 00335C68 7C 08 02 A6 */ mflr r0
/* 80338D2C 00335C6C 90 01 00 24 */ stw r0, 0x24(r1)
/* 80338D30 00335C70 BF 41 00 08 */ stmw r26, 8(r1)
/* 80338D34 00335C74 7C 9B 23 78 */ mr r27, r4
/* 80338D38 00335C78 7C 7A 1B 78 */ mr r26, r3
/* 80338D3C 00335C7C 7C BC 2B 78 */ mr r28, r5
/* 80338D40 00335C80 7C DD 33 78 */ mr r29, r6
/* 80338D44 00335C84 7C FE 3B 78 */ mr r30, r7
/* 80338D48 00335C88 7D 1F 43 78 */ mr r31, r8
/* 80338D4C 00335C8C 7F 63 DB 78 */ mr r3, r27
/* 80338D50 00335C90 4B D7 E7 C9 */ bl getInfoPointer__Q27JAInter10SoundTableFUl
/* 80338D54 00335C94 7C 69 1B 79 */ or. r9, r3, r3
/* 80338D58 00335C98 41 82 00 20 */ beq .L_80338D78
/* 80338D5C 00335C9C 7F 43 D3 78 */ mr r3, r26
/* 80338D60 00335CA0 7F 64 DB 78 */ mr r4, r27
/* 80338D64 00335CA4 7F 85 E3 78 */ mr r5, r28
/* 80338D68 00335CA8 7F A6 EB 78 */ mr r6, r29
/* 80338D6C 00335CAC 7F C7 F3 78 */ mr r7, r30
/* 80338D70 00335CB0 7F E8 FB 78 */ mr r8, r31
/* 80338D74 00335CB4 4B D7 3A F1 */ bl startSoundBasic__8JAIBasicFUlPP5JAISePQ27JAInter5ActorUlUcPQ27JAInter9SoundInfo
.L_80338D78:
/* 80338D78 00335CB8 BB 41 00 08 */ lmw r26, 8(r1)
/* 80338D7C 00335CBC 80 01 00 24 */ lwz r0, 0x24(r1)
/* 80338D80 00335CC0 7C 08 03 A6 */ mtlr r0
/* 80338D84 00335CC4 38 21 00 20 */ addi r1, r1, 0x20
/* 80338D88 00335CC8 4E 80 00 20 */ blr
__sinit_PSSystemIF_cpp: # static initializer
/* 80338D8C 00335CCC 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80338D90 00335CD0 7C 08 02 A6 */ mflr r0
/* 80338D94 00335CD4 38 6D 98 5C */ addi r3, r13, oRandom__8PSSystem@sda21
/* 80338D98 00335CD8 38 80 00 00 */ li r4, 0
/* 80338D9C 00335CDC 90 01 00 14 */ stw r0, 0x14(r1)
/* 80338DA0 00335CE0 4B CF C3 61 */ bl __ct__Q25JMath13TRandom_fast_FUl
/* 80338DA4 00335CE4 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80338DA8 00335CE8 7C 08 03 A6 */ mtlr r0
/* 80338DAC 00335CEC 38 21 00 10 */ addi r1, r1, 0x10
/* 80338DB0 00335CF0 4E 80 00 20 */ blr