pikmin2/asm/utilityU/PSMainSide_Se.s
EpochFlame aa65a1caed hikino and utility multitext format
finished pik2's multitext setup in existing assembly files
2023-11-05 12:47:17 -05:00

2659 lines
124 KiB
ArmAsm

.include "macros.inc"
.section .rodata # 0x804732E0 - 0x8049E220
.balign 8
.obj lbl_8049DA08, local
.asciz "PSMainSide_Se.cpp"
.endobj lbl_8049DA08
.balign 4
.obj lbl_8049DA1C, local
.asciz "P2Assert"
.endobj lbl_8049DA1C
.balign 4
.obj lbl_8049DA28, local
.asciz "gameStat.h"
.endobj lbl_8049DA28
.balign 4
.obj lbl_8049DA34, local
.asciz "PSGame.h"
.endobj lbl_8049DA34
.balign 4
.obj lbl_8049DA40, local
.asciz "PSScene.h"
.endobj lbl_8049DA40
.balign 4
.obj lbl_8049DA4C, local
.asciz "get sound scene at\ninvalid timming\n"
.endobj lbl_8049DA4C
.balign 4
.obj lbl_8049DA70, local
.asciz "PSCommon.h"
.endobj lbl_8049DA70
.section .data, "wa" # 0x8049E220 - 0x804EFC20
.balign 8
.obj lbl_804EF6F0, local
.4byte .L_8046D858
.4byte .L_8046D5B8
.4byte .L_8046D62C
.4byte .L_8046D6A0
.4byte .L_8046D714
.4byte .L_8046D758
.4byte .L_8046D79C
.4byte .L_8046D7F0
.endobj lbl_804EF6F0
.obj lbl_804EF710, local
.4byte .L_8046E3A8
.4byte .L_8046E370
.4byte .L_8046E328
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E394
.4byte .L_8046E394
.4byte .L_8046E394
.4byte .L_8046E34C
.4byte .L_8046E394
.4byte .L_8046E358
.4byte .L_8046E358
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E364
.4byte .L_8046E358
.4byte .L_8046E358
.4byte .L_8046E34C
.4byte .L_8046E37C
.4byte .L_8046E364
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E37C
.4byte .L_8046E364
.4byte .L_8046E31C
.4byte .L_8046E340
.4byte .L_8046E31C
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E364
.4byte .L_8046E3A8
.4byte .L_8046E31C
.4byte .L_8046E364
.4byte .L_8046E328
.4byte .L_8046E328
.4byte .L_8046E370
.4byte .L_8046E370
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E310
.4byte .L_8046E34C
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E34C
.4byte .L_8046E388
.4byte .L_8046E388
.4byte .L_8046E388
.4byte .L_8046E388
.4byte .L_8046E364
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E364
.4byte .L_8046E394
.4byte .L_8046E3A8
.4byte .L_8046E340
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E340
.4byte .L_8046E370
.4byte .L_8046E3A0
.4byte .L_8046E334
.4byte .L_8046E370
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E3A8
.4byte .L_8046E340
.endobj lbl_804EF710
.obj __vt__Q23PSM14ClusterFactory, weak
.4byte 0
.4byte 0
.4byte constructPart__Q38PSSystem9ClusterSe7FactoryFv
.4byte identifyPart__Q23PSM14ClusterFactoryFUc
.endobj __vt__Q23PSM14ClusterFactory
.obj __vt__Q23PSM14WorldMapRocket, global
.4byte 0
.4byte 0
.4byte __dt__Q23PSM14WorldMapRocketFv
.endobj __vt__Q23PSM14WorldMapRocket
.section .sdata, "wa" # 0x80514680 - 0x80514D80
.balign 8
.obj sTreasureLader_PitchDistance, global
.float 0.77
.endobj sTreasureLader_PitchDistance
.obj sTreasureLader_Pitch, global
.float 1.04
.endobj sTreasureLader_Pitch
.obj sTreasureLader_DistanceExp, global
.float 5.0
.endobj sTreasureLader_DistanceExp
.obj sTreasureLader_MinimumVolume, global
.float 0.3
.endobj sTreasureLader_MinimumVolume
.obj sLaderNoiseVolumeExp, global
.float 7.18
.endobj sLaderNoiseVolumeExp
.obj sLaderNoiseFuefukiTimerCenter, global
.2byte 0x003C
.endobj sLaderNoiseFuefukiTimerCenter
.obj sLaderNoiseFuefukiTimerRandam, global
.2byte 0x0008
.endobj sLaderNoiseFuefukiTimerRandam
.obj sLaderNoiseFuefukiSensMax, global
.float 0.3
.endobj sLaderNoiseFuefukiSensMax
.obj sLaderNoiseFuefukiVolumeMin, global
.float 0.25
.endobj sLaderNoiseFuefukiVolumeMin
.obj sLaderNoiseFuefukiVolumeMax, global
.float 0.5
.endobj sLaderNoiseFuefukiVolumeMax
.section .sbss # 0x80514D80 - 0x80516360
.balign 8
.obj tmpVol$3526, local
.skip 0x4
.endobj tmpVol$3526
.obj init$3527, local
.skip 0x1
.endobj init$3527
.balign 2
.obj sLaderNoiseTimer, local
.skip 0x2
.endobj sLaderNoiseTimer
.obj sLaderNoiseWait, local
.skip 0x4
.endobj sLaderNoiseWait
.obj sLaderNoiseFuefukiSensMin, global
.skip 0x4
.endobj sLaderNoiseFuefukiSensMin
.section .sdata2, "a" # 0x80516360 - 0x80520E40
.balign 8
.obj lbl_80520CE0, local
.float 0.0
.endobj lbl_80520CE0
.obj lbl_80520CE4, local
.float 608.0
.endobj lbl_80520CE4
.obj lbl_80520CE8, local
.float 4.0
.endobj lbl_80520CE8
.obj lbl_80520CEC, local
.float 100.0
.endobj lbl_80520CEC
.obj lbl_80520CF0, local
.float 260.0
.endobj lbl_80520CF0
.obj lbl_80520CF4, local
.float 1.0
.endobj lbl_80520CF4
.obj lbl_80520CF8, local
.float 0.5
.endobj lbl_80520CF8
.obj lbl_80520CFC, local
.float 2.01
.endobj lbl_80520CFC
.obj lbl_80520D00, local
.float 2.0
.endobj lbl_80520D00
.obj lbl_80520D04, local
.float 2.5
.endobj lbl_80520D04
.obj lbl_80520D08, local
.float 2.3
.endobj lbl_80520D08
.obj lbl_80520D0C, local
.float 1.5
.endobj lbl_80520D0C
.obj lbl_80520D10, local
.float 0.3
.endobj lbl_80520D10
.obj lbl_80520D14, local
.float 0.1
.endobj lbl_80520D14
.obj lbl_80520D18, local
.float 0.8
.endobj lbl_80520D18
.obj lbl_80520D1C, local
.float 0.9
.endobj lbl_80520D1C
.obj lbl_80520D20, local
.float 1.1
.endobj lbl_80520D20
.obj lbl_80520D24, local
.float 1.2
.endobj lbl_80520D24
.obj lbl_80520D28, local
.float 1.3
.endobj lbl_80520D28
.obj lbl_80520D2C, local
.float 1.4
.endobj lbl_80520D2C
.obj lbl_80520D30, local
.float 0.7
.endobj lbl_80520D30
.obj lbl_80520D34, local
.float 0.6
.endobj lbl_80520D34
.obj lbl_80520D38, local
.float 1.6
.endobj lbl_80520D38
.obj lbl_80520D3C, local
.float 1.7
.endobj lbl_80520D3C
.obj lbl_80520D40, local
.float 1.8
.endobj lbl_80520D40
.obj lbl_80520D44, local
.float 0.4
.endobj lbl_80520D44
.obj lbl_80520D48, local
.float 5.0
.endobj lbl_80520D48
.obj lbl_80520D4C, local
.float 250.0
.endobj lbl_80520D4C
.obj lbl_80520D50, local
.float 127.0
.endobj lbl_80520D50
.obj lbl_80520D54, local
.float 0.2
.endobj lbl_80520D54
.balign 8
.obj lbl_80520D58, local
.8byte 0x4330000080000000
.endobj lbl_80520D58
.section .text, "ax" # 0x800056C0 - 0x80472F00
.fn partInit__Q23PSM14ClusterFactoryFUc, global
/* 8046D144 0046A084 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8046D148 0046A088 7C 08 02 A6 */ mflr r0
/* 8046D14C 0046A08C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8046D150 0046A090 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8046D154 0046A094 7C 7F 1B 78 */ mr r31, r3
/* 8046D158 0046A098 38 61 00 08 */ addi r3, r1, 8
/* 8046D15C 0046A09C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8046D160 0046A0A0 7C BE 2B 78 */ mr r30, r5
/* 8046D164 0046A0A4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8046D168 0046A0A8 7C 9D 23 78 */ mr r29, r4
/* 8046D16C 0046A0AC 4B ED 3D 5D */ bl __ct__Q38PSSystem9ClusterSe11PartInitArgFv
/* 8046D170 0046A0B0 80 1D 00 08 */ lwz r0, 8(r29)
/* 8046D174 0046A0B4 2C 00 00 01 */ cmpwi r0, 1
/* 8046D178 0046A0B8 41 82 00 DC */ beq .L_8046D254
/* 8046D17C 0046A0BC 40 80 01 84 */ bge .L_8046D300
/* 8046D180 0046A0C0 2C 00 00 00 */ cmpwi r0, 0
/* 8046D184 0046A0C4 40 80 00 08 */ bge .L_8046D18C
/* 8046D188 0046A0C8 48 00 01 78 */ b .L_8046D300
.L_8046D18C:
/* 8046D18C 0046A0CC 57 C0 06 3E */ clrlwi r0, r30, 0x18
/* 8046D190 0046A0D0 2C 00 00 01 */ cmpwi r0, 1
/* 8046D194 0046A0D4 41 82 00 48 */ beq .L_8046D1DC
/* 8046D198 0046A0D8 40 80 00 10 */ bge .L_8046D1A8
/* 8046D19C 0046A0DC 2C 00 00 00 */ cmpwi r0, 0
/* 8046D1A0 0046A0E0 40 80 00 14 */ bge .L_8046D1B4
/* 8046D1A4 0046A0E4 48 00 00 90 */ b .L_8046D234
.L_8046D1A8:
/* 8046D1A8 0046A0E8 2C 00 00 03 */ cmpwi r0, 3
/* 8046D1AC 0046A0EC 40 80 00 88 */ bge .L_8046D234
/* 8046D1B0 0046A0F0 48 00 00 58 */ b .L_8046D208
.L_8046D1B4:
/* 8046D1B4 0046A0F4 38 A0 00 19 */ li r5, 0x19
/* 8046D1B8 0046A0F8 38 80 00 16 */ li r4, 0x16
/* 8046D1BC 0046A0FC 38 60 00 10 */ li r3, 0x10
/* 8046D1C0 0046A100 38 00 30 54 */ li r0, 0x3054
/* 8046D1C4 0046A104 98 A1 00 08 */ stb r5, 8(r1)
/* 8046D1C8 0046A108 98 A1 00 0A */ stb r5, 0xa(r1)
/* 8046D1CC 0046A10C 98 81 00 0B */ stb r4, 0xb(r1)
/* 8046D1D0 0046A110 98 61 00 09 */ stb r3, 9(r1)
/* 8046D1D4 0046A114 90 01 00 0C */ stw r0, 0xc(r1)
/* 8046D1D8 0046A118 48 00 01 44 */ b .L_8046D31C
.L_8046D1DC:
/* 8046D1DC 0046A11C 38 C0 00 16 */ li r6, 0x16
/* 8046D1E0 0046A120 38 A0 00 10 */ li r5, 0x10
/* 8046D1E4 0046A124 38 80 00 0E */ li r4, 0xe
/* 8046D1E8 0046A128 38 60 00 08 */ li r3, 8
/* 8046D1EC 0046A12C 38 00 30 53 */ li r0, 0x3053
/* 8046D1F0 0046A130 98 C1 00 08 */ stb r6, 8(r1)
/* 8046D1F4 0046A134 98 A1 00 0A */ stb r5, 0xa(r1)
/* 8046D1F8 0046A138 98 81 00 0B */ stb r4, 0xb(r1)
/* 8046D1FC 0046A13C 98 61 00 09 */ stb r3, 9(r1)
/* 8046D200 0046A140 90 01 00 0C */ stw r0, 0xc(r1)
/* 8046D204 0046A144 48 00 01 18 */ b .L_8046D31C
.L_8046D208:
/* 8046D208 0046A148 38 C0 00 0E */ li r6, 0xe
/* 8046D20C 0046A14C 38 A0 00 08 */ li r5, 8
/* 8046D210 0046A150 38 80 00 05 */ li r4, 5
/* 8046D214 0046A154 38 60 00 00 */ li r3, 0
/* 8046D218 0046A158 38 00 30 52 */ li r0, 0x3052
/* 8046D21C 0046A15C 98 C1 00 08 */ stb r6, 8(r1)
/* 8046D220 0046A160 98 A1 00 0A */ stb r5, 0xa(r1)
/* 8046D224 0046A164 98 81 00 0B */ stb r4, 0xb(r1)
/* 8046D228 0046A168 98 61 00 09 */ stb r3, 9(r1)
/* 8046D22C 0046A16C 90 01 00 0C */ stw r0, 0xc(r1)
/* 8046D230 0046A170 48 00 00 EC */ b .L_8046D31C
.L_8046D234:
/* 8046D234 0046A174 3C 60 80 4A */ lis r3, lbl_8049DA08@ha
/* 8046D238 0046A178 3C A0 80 4A */ lis r5, lbl_8049DA1C@ha
/* 8046D23C 0046A17C 38 63 DA 08 */ addi r3, r3, lbl_8049DA08@l
/* 8046D240 0046A180 38 80 00 3E */ li r4, 0x3e
/* 8046D244 0046A184 38 A5 DA 1C */ addi r5, r5, lbl_8049DA1C@l
/* 8046D248 0046A188 4C C6 31 82 */ crclr 6
/* 8046D24C 0046A18C 4B BB D3 F5 */ bl panic_f__12JUTExceptionFPCciPCce
/* 8046D250 0046A190 48 00 00 CC */ b .L_8046D31C
.L_8046D254:
/* 8046D254 0046A194 57 C0 06 3E */ clrlwi r0, r30, 0x18
/* 8046D258 0046A198 2C 00 00 01 */ cmpwi r0, 1
/* 8046D25C 0046A19C 41 82 00 3C */ beq .L_8046D298
/* 8046D260 0046A1A0 40 80 00 10 */ bge .L_8046D270
/* 8046D264 0046A1A4 2C 00 00 00 */ cmpwi r0, 0
/* 8046D268 0046A1A8 40 80 00 14 */ bge .L_8046D27C
/* 8046D26C 0046A1AC 48 00 00 74 */ b .L_8046D2E0
.L_8046D270:
/* 8046D270 0046A1B0 2C 00 00 03 */ cmpwi r0, 3
/* 8046D274 0046A1B4 40 80 00 6C */ bge .L_8046D2E0
/* 8046D278 0046A1B8 48 00 00 44 */ b .L_8046D2BC
.L_8046D27C:
/* 8046D27C 0046A1BC 38 80 00 64 */ li r4, 0x64
/* 8046D280 0046A1C0 38 60 00 46 */ li r3, 0x46
/* 8046D284 0046A1C4 38 00 00 3C */ li r0, 0x3c
/* 8046D288 0046A1C8 98 81 00 08 */ stb r4, 8(r1)
/* 8046D28C 0046A1CC 98 61 00 0B */ stb r3, 0xb(r1)
/* 8046D290 0046A1D0 98 01 00 09 */ stb r0, 9(r1)
/* 8046D294 0046A1D4 48 00 00 88 */ b .L_8046D31C
.L_8046D298:
/* 8046D298 0046A1D8 38 A0 00 46 */ li r5, 0x46
/* 8046D29C 0046A1DC 38 80 00 3C */ li r4, 0x3c
/* 8046D2A0 0046A1E0 38 60 00 28 */ li r3, 0x28
/* 8046D2A4 0046A1E4 38 00 00 1E */ li r0, 0x1e
/* 8046D2A8 0046A1E8 98 A1 00 08 */ stb r5, 8(r1)
/* 8046D2AC 0046A1EC 98 81 00 0A */ stb r4, 0xa(r1)
/* 8046D2B0 0046A1F0 98 61 00 0B */ stb r3, 0xb(r1)
/* 8046D2B4 0046A1F4 98 01 00 09 */ stb r0, 9(r1)
/* 8046D2B8 0046A1F8 48 00 00 64 */ b .L_8046D31C
.L_8046D2BC:
/* 8046D2BC 0046A1FC 38 A0 00 28 */ li r5, 0x28
/* 8046D2C0 0046A200 38 80 00 1E */ li r4, 0x1e
/* 8046D2C4 0046A204 38 60 00 0A */ li r3, 0xa
/* 8046D2C8 0046A208 38 00 00 00 */ li r0, 0
/* 8046D2CC 0046A20C 98 A1 00 08 */ stb r5, 8(r1)
/* 8046D2D0 0046A210 98 81 00 0A */ stb r4, 0xa(r1)
/* 8046D2D4 0046A214 98 61 00 0B */ stb r3, 0xb(r1)
/* 8046D2D8 0046A218 98 01 00 09 */ stb r0, 9(r1)
/* 8046D2DC 0046A21C 48 00 00 40 */ b .L_8046D31C
.L_8046D2E0:
/* 8046D2E0 0046A220 3C 60 80 4A */ lis r3, lbl_8049DA08@ha
/* 8046D2E4 0046A224 3C A0 80 4A */ lis r5, lbl_8049DA1C@ha
/* 8046D2E8 0046A228 38 63 DA 08 */ addi r3, r3, lbl_8049DA08@l
/* 8046D2EC 0046A22C 38 80 00 5F */ li r4, 0x5f
/* 8046D2F0 0046A230 38 A5 DA 1C */ addi r5, r5, lbl_8049DA1C@l
/* 8046D2F4 0046A234 4C C6 31 82 */ crclr 6
/* 8046D2F8 0046A238 4B BB D3 49 */ bl panic_f__12JUTExceptionFPCciPCce
/* 8046D2FC 0046A23C 48 00 00 20 */ b .L_8046D31C
.L_8046D300:
/* 8046D300 0046A240 3C 60 80 4A */ lis r3, lbl_8049DA08@ha
/* 8046D304 0046A244 3C A0 80 4A */ lis r5, lbl_8049DA1C@ha
/* 8046D308 0046A248 38 63 DA 08 */ addi r3, r3, lbl_8049DA08@l
/* 8046D30C 0046A24C 38 80 00 64 */ li r4, 0x64
/* 8046D310 0046A250 38 A5 DA 1C */ addi r5, r5, lbl_8049DA1C@l
/* 8046D314 0046A254 4C C6 31 82 */ crclr 6
/* 8046D318 0046A258 4B BB D3 29 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046D31C:
/* 8046D31C 0046A25C 88 01 00 08 */ lbz r0, 8(r1)
/* 8046D320 0046A260 98 1F 00 00 */ stb r0, 0(r31)
/* 8046D324 0046A264 88 01 00 09 */ lbz r0, 9(r1)
/* 8046D328 0046A268 98 1F 00 01 */ stb r0, 1(r31)
/* 8046D32C 0046A26C 88 01 00 0A */ lbz r0, 0xa(r1)
/* 8046D330 0046A270 98 1F 00 02 */ stb r0, 2(r31)
/* 8046D334 0046A274 88 01 00 0B */ lbz r0, 0xb(r1)
/* 8046D338 0046A278 98 1F 00 03 */ stb r0, 3(r31)
/* 8046D33C 0046A27C 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8046D340 0046A280 90 1F 00 04 */ stw r0, 4(r31)
/* 8046D344 0046A284 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8046D348 0046A288 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8046D34C 0046A28C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8046D350 0046A290 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8046D354 0046A294 7C 08 03 A6 */ mtlr r0
/* 8046D358 0046A298 38 21 00 20 */ addi r1, r1, 0x20
/* 8046D35C 0046A29C 4E 80 00 20 */ blr
.endfn partInit__Q23PSM14ClusterFactoryFUc
.fn __ct__Q23PSM14WorldMapRocketFv, global
/* 8046D360 0046A2A0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046D364 0046A2A4 7C 08 02 A6 */ mflr r0
/* 8046D368 0046A2A8 38 80 00 00 */ li r4, 0
/* 8046D36C 0046A2AC 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046D370 0046A2B0 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046D374 0046A2B4 7C 7F 1B 78 */ mr r31, r3
/* 8046D378 0046A2B8 4B C4 CE 75 */ bl __ct__10JADHioNodeFPCc
/* 8046D37C 0046A2BC 3C 60 80 4F */ lis r3, __vt__Q23PSM14WorldMapRocket@ha
/* 8046D380 0046A2C0 38 00 00 00 */ li r0, 0
/* 8046D384 0046A2C4 38 63 F8 74 */ addi r3, r3, __vt__Q23PSM14WorldMapRocket@l
/* 8046D388 0046A2C8 C0 22 29 80 */ lfs f1, lbl_80520CE0@sda21(r2)
/* 8046D38C 0046A2CC 90 7F 00 00 */ stw r3, 0(r31)
/* 8046D390 0046A2D0 7F E3 FB 78 */ mr r3, r31
/* 8046D394 0046A2D4 C0 02 29 84 */ lfs f0, lbl_80520CE4@sda21(r2)
/* 8046D398 0046A2D8 90 1F 00 04 */ stw r0, 4(r31)
/* 8046D39C 0046A2DC C0 42 29 88 */ lfs f2, lbl_80520CE8@sda21(r2)
/* 8046D3A0 0046A2E0 D0 3F 00 08 */ stfs f1, 8(r31)
/* 8046D3A4 0046A2E4 C0 22 29 8C */ lfs f1, lbl_80520CEC@sda21(r2)
/* 8046D3A8 0046A2E8 D0 1F 00 0C */ stfs f0, 0xc(r31)
/* 8046D3AC 0046A2EC C0 02 29 90 */ lfs f0, lbl_80520CF0@sda21(r2)
/* 8046D3B0 0046A2F0 D0 5F 00 10 */ stfs f2, 0x10(r31)
/* 8046D3B4 0046A2F4 D0 3F 00 14 */ stfs f1, 0x14(r31)
/* 8046D3B8 0046A2F8 D0 1F 00 18 */ stfs f0, 0x18(r31)
/* 8046D3BC 0046A2FC D0 5F 00 1C */ stfs f2, 0x1c(r31)
/* 8046D3C0 0046A300 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046D3C4 0046A304 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046D3C8 0046A308 7C 08 03 A6 */ mtlr r0
/* 8046D3CC 0046A30C 38 21 00 10 */ addi r1, r1, 0x10
/* 8046D3D0 0046A310 4E 80 00 20 */ blr
.endfn __ct__Q23PSM14WorldMapRocketFv
.fn __dt__Q23PSM14WorldMapRocketFv, global
/* 8046D3D4 0046A314 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046D3D8 0046A318 7C 08 02 A6 */ mflr r0
/* 8046D3DC 0046A31C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046D3E0 0046A320 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046D3E4 0046A324 7C 9F 23 78 */ mr r31, r4
/* 8046D3E8 0046A328 93 C1 00 08 */ stw r30, 8(r1)
/* 8046D3EC 0046A32C 7C 7E 1B 79 */ or. r30, r3, r3
/* 8046D3F0 0046A330 41 82 00 28 */ beq .L_8046D418
/* 8046D3F4 0046A334 3C A0 80 4F */ lis r5, __vt__Q23PSM14WorldMapRocket@ha
/* 8046D3F8 0046A338 38 80 00 00 */ li r4, 0
/* 8046D3FC 0046A33C 38 05 F8 74 */ addi r0, r5, __vt__Q23PSM14WorldMapRocket@l
/* 8046D400 0046A340 90 1E 00 00 */ stw r0, 0(r30)
/* 8046D404 0046A344 4B C4 CD F9 */ bl __dt__10JADHioNodeFv
/* 8046D408 0046A348 7F E0 07 35 */ extsh. r0, r31
/* 8046D40C 0046A34C 40 81 00 0C */ ble .L_8046D418
/* 8046D410 0046A350 7F C3 F3 78 */ mr r3, r30
/* 8046D414 0046A354 4B BB 6C A1 */ bl __dl__FPv
.L_8046D418:
/* 8046D418 0046A358 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046D41C 0046A35C 7F C3 F3 78 */ mr r3, r30
/* 8046D420 0046A360 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046D424 0046A364 83 C1 00 08 */ lwz r30, 8(r1)
/* 8046D428 0046A368 7C 08 03 A6 */ mtlr r0
/* 8046D42C 0046A36C 38 21 00 10 */ addi r1, r1, 0x10
/* 8046D430 0046A370 4E 80 00 20 */ blr
.endfn __dt__Q23PSM14WorldMapRocketFv
.fn startRocketSE__Q23PSM14WorldMapRocketFff, global
/* 8046D434 0046A374 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8046D438 0046A378 7C 08 02 A6 */ mflr r0
/* 8046D43C 0046A37C 90 01 00 34 */ stw r0, 0x34(r1)
/* 8046D440 0046A380 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8046D444 0046A384 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8046D448 0046A388 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 8046D44C 0046A38C F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 8046D450 0046A390 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046D454 0046A394 93 C1 00 08 */ stw r30, 8(r1)
/* 8046D458 0046A398 FF C0 08 90 */ fmr f30, f1
/* 8046D45C 0046A39C 7C 7E 1B 78 */ mr r30, r3
/* 8046D460 0046A3A0 FF E0 10 90 */ fmr f31, f2
/* 8046D464 0046A3A4 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13)
/* 8046D468 0046A3A8 38 80 10 21 */ li r4, 0x1021
/* 8046D46C 0046A3AC 38 A0 00 00 */ li r5, 0
/* 8046D470 0046A3B0 4B EC B1 C1 */ bl playSystemSe__Q28PSSystem5SysIFFUlUl
/* 8046D474 0046A3B4 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046D478 0046A3B8 41 82 04 20 */ beq .L_8046D898
/* 8046D47C 0046A3BC FC 20 F0 90 */ fmr f1, f30
/* 8046D480 0046A3C0 C0 5E 00 08 */ lfs f2, 8(r30)
/* 8046D484 0046A3C4 C0 7E 00 0C */ lfs f3, 0xc(r30)
/* 8046D488 0046A3C8 38 60 00 00 */ li r3, 0
/* 8046D48C 0046A3CC C0 82 29 80 */ lfs f4, lbl_80520CE0@sda21(r2)
/* 8046D490 0046A3D0 C0 A2 29 94 */ lfs f5, lbl_80520CF4@sda21(r2)
/* 8046D494 0046A3D4 4B C4 CD B1 */ bl linearTransform__7JALCalcFfffffb
/* 8046D498 0046A3D8 C0 C2 29 98 */ lfs f6, lbl_80520CF8@sda21(r2)
/* 8046D49C 0046A3DC FC 01 30 40 */ fcmpo cr0, f1, f6
/* 8046D4A0 0046A3E0 40 80 00 20 */ bge .L_8046D4C0
/* 8046D4A4 0046A3E4 C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046D4A8 0046A3E8 FC 60 30 90 */ fmr f3, f6
/* 8046D4AC 0046A3EC C0 9E 00 10 */ lfs f4, 0x10(r30)
/* 8046D4B0 0046A3F0 38 60 00 01 */ li r3, 1
/* 8046D4B4 0046A3F4 FC A0 10 90 */ fmr f5, f2
/* 8046D4B8 0046A3F8 4B C4 CD F1 */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046D4BC 0046A3FC 48 00 00 20 */ b .L_8046D4DC
.L_8046D4C0:
/* 8046D4C0 0046A400 C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046D4C4 0046A404 FC 40 30 90 */ fmr f2, f6
/* 8046D4C8 0046A408 FC A0 30 90 */ fmr f5, f6
/* 8046D4CC 0046A40C C0 9E 00 10 */ lfs f4, 0x10(r30)
/* 8046D4D0 0046A410 FC C0 18 90 */ fmr f6, f3
/* 8046D4D4 0046A414 38 60 00 00 */ li r3, 0
/* 8046D4D8 0046A418 4B C4 CD D1 */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
.L_8046D4DC:
/* 8046D4DC 0046A41C FF C0 08 90 */ fmr f30, f1
/* 8046D4E0 0046A420 C0 5E 00 14 */ lfs f2, 0x14(r30)
/* 8046D4E4 0046A424 FC 20 F8 90 */ fmr f1, f31
/* 8046D4E8 0046A428 C0 7E 00 18 */ lfs f3, 0x18(r30)
/* 8046D4EC 0046A42C C0 82 29 80 */ lfs f4, lbl_80520CE0@sda21(r2)
/* 8046D4F0 0046A430 38 60 00 00 */ li r3, 0
/* 8046D4F4 0046A434 C0 A2 29 94 */ lfs f5, lbl_80520CF4@sda21(r2)
/* 8046D4F8 0046A438 4B C4 CD 4D */ bl linearTransform__7JALCalcFfffffb
/* 8046D4FC 0046A43C C0 C2 29 98 */ lfs f6, lbl_80520CF8@sda21(r2)
/* 8046D500 0046A440 FC 01 30 40 */ fcmpo cr0, f1, f6
/* 8046D504 0046A444 40 80 00 24 */ bge .L_8046D528
/* 8046D508 0046A448 C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046D50C 0046A44C FC 60 30 90 */ fmr f3, f6
/* 8046D510 0046A450 C0 9E 00 1C */ lfs f4, 0x1c(r30)
/* 8046D514 0046A454 38 60 00 01 */ li r3, 1
/* 8046D518 0046A458 FC A0 10 90 */ fmr f5, f2
/* 8046D51C 0046A45C 4B C4 CD 8D */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046D520 0046A460 FF E0 08 90 */ fmr f31, f1
/* 8046D524 0046A464 48 00 00 24 */ b .L_8046D548
.L_8046D528:
/* 8046D528 0046A468 C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046D52C 0046A46C FC 40 30 90 */ fmr f2, f6
/* 8046D530 0046A470 FC A0 30 90 */ fmr f5, f6
/* 8046D534 0046A474 C0 9E 00 1C */ lfs f4, 0x1c(r30)
/* 8046D538 0046A478 FC C0 18 90 */ fmr f6, f3
/* 8046D53C 0046A47C 38 60 00 00 */ li r3, 0
/* 8046D540 0046A480 4B C4 CD 69 */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046D544 0046A484 FF E0 08 90 */ fmr f31, f1
.L_8046D548:
/* 8046D548 0046A488 80 1E 00 04 */ lwz r0, 4(r30)
/* 8046D54C 0046A48C 2C 00 00 03 */ cmpwi r0, 3
/* 8046D550 0046A490 41 82 00 44 */ beq .L_8046D594
/* 8046D554 0046A494 7F E3 FB 78 */ mr r3, r31
/* 8046D558 0046A498 FC 20 F0 90 */ fmr f1, f30
/* 8046D55C 0046A49C 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D560 0046A4A0 38 80 00 00 */ li r4, 0
/* 8046D564 0046A4A4 38 A0 00 00 */ li r5, 0
/* 8046D568 0046A4A8 81 8C 00 24 */ lwz r12, 0x24(r12)
/* 8046D56C 0046A4AC 7D 89 03 A6 */ mtctr r12
/* 8046D570 0046A4B0 4E 80 04 21 */ bctrl
/* 8046D574 0046A4B4 7F E3 FB 78 */ mr r3, r31
/* 8046D578 0046A4B8 FC 20 F8 90 */ fmr f1, f31
/* 8046D57C 0046A4BC 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D580 0046A4C0 38 80 00 00 */ li r4, 0
/* 8046D584 0046A4C4 38 A0 00 00 */ li r5, 0
/* 8046D588 0046A4C8 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046D58C 0046A4CC 7D 89 03 A6 */ mtctr r12
/* 8046D590 0046A4D0 4E 80 04 21 */ bctrl
.L_8046D594:
/* 8046D594 0046A4D4 80 1E 00 04 */ lwz r0, 4(r30)
/* 8046D598 0046A4D8 28 00 00 07 */ cmplwi r0, 7
/* 8046D59C 0046A4DC 41 81 02 FC */ bgt .L_8046D898
/* 8046D5A0 0046A4E0 3C 60 80 4F */ lis r3, lbl_804EF6F0@ha
/* 8046D5A4 0046A4E4 54 00 10 3A */ slwi r0, r0, 2
/* 8046D5A8 0046A4E8 38 63 F6 F0 */ addi r3, r3, lbl_804EF6F0@l
/* 8046D5AC 0046A4EC 7C 03 00 2E */ lwzx r0, r3, r0
/* 8046D5B0 0046A4F0 7C 09 03 A6 */ mtctr r0
/* 8046D5B4 0046A4F4 4E 80 04 20 */ bctr
.L_8046D5B8:
/* 8046D5B8 0046A4F8 7F E3 FB 78 */ mr r3, r31
/* 8046D5BC 0046A4FC C0 22 29 94 */ lfs f1, lbl_80520CF4@sda21(r2)
/* 8046D5C0 0046A500 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D5C4 0046A504 38 80 00 02 */ li r4, 2
/* 8046D5C8 0046A508 38 A0 00 00 */ li r5, 0
/* 8046D5CC 0046A50C 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D5D0 0046A510 7D 89 03 A6 */ mtctr r12
/* 8046D5D4 0046A514 4E 80 04 21 */ bctrl
/* 8046D5D8 0046A518 7F E3 FB 78 */ mr r3, r31
/* 8046D5DC 0046A51C C0 22 29 9C */ lfs f1, lbl_80520CFC@sda21(r2)
/* 8046D5E0 0046A520 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D5E4 0046A524 38 80 00 02 */ li r4, 2
/* 8046D5E8 0046A528 38 A0 00 00 */ li r5, 0
/* 8046D5EC 0046A52C 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046D5F0 0046A530 7D 89 03 A6 */ mtctr r12
/* 8046D5F4 0046A534 4E 80 04 21 */ bctrl
/* 8046D5F8 0046A538 7F E3 FB 78 */ mr r3, r31
/* 8046D5FC 0046A53C 38 80 00 00 */ li r4, 0
/* 8046D600 0046A540 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D604 0046A544 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8046D608 0046A548 7D 89 03 A6 */ mtctr r12
/* 8046D60C 0046A54C 4E 80 04 21 */ bctrl
/* 8046D610 0046A550 C0 02 29 A0 */ lfs f0, lbl_80520D00@sda21(r2)
/* 8046D614 0046A554 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8046D618 0046A558 4C 41 13 82 */ cror 2, 1, 2
/* 8046D61C 0046A55C 40 82 02 7C */ bne .L_8046D898
/* 8046D620 0046A560 38 00 00 04 */ li r0, 4
/* 8046D624 0046A564 90 1E 00 04 */ stw r0, 4(r30)
/* 8046D628 0046A568 48 00 02 70 */ b .L_8046D898
.L_8046D62C:
/* 8046D62C 0046A56C 7F E3 FB 78 */ mr r3, r31
/* 8046D630 0046A570 C0 22 29 94 */ lfs f1, lbl_80520CF4@sda21(r2)
/* 8046D634 0046A574 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D638 0046A578 38 80 00 02 */ li r4, 2
/* 8046D63C 0046A57C 38 A0 00 00 */ li r5, 0
/* 8046D640 0046A580 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D644 0046A584 7D 89 03 A6 */ mtctr r12
/* 8046D648 0046A588 4E 80 04 21 */ bctrl
/* 8046D64C 0046A58C 7F E3 FB 78 */ mr r3, r31
/* 8046D650 0046A590 C0 22 29 9C */ lfs f1, lbl_80520CFC@sda21(r2)
/* 8046D654 0046A594 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D658 0046A598 38 80 00 02 */ li r4, 2
/* 8046D65C 0046A59C 38 A0 00 00 */ li r5, 0
/* 8046D660 0046A5A0 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046D664 0046A5A4 7D 89 03 A6 */ mtctr r12
/* 8046D668 0046A5A8 4E 80 04 21 */ bctrl
/* 8046D66C 0046A5AC 7F E3 FB 78 */ mr r3, r31
/* 8046D670 0046A5B0 38 80 00 00 */ li r4, 0
/* 8046D674 0046A5B4 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D678 0046A5B8 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8046D67C 0046A5BC 7D 89 03 A6 */ mtctr r12
/* 8046D680 0046A5C0 4E 80 04 21 */ bctrl
/* 8046D684 0046A5C4 C0 02 29 A0 */ lfs f0, lbl_80520D00@sda21(r2)
/* 8046D688 0046A5C8 FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8046D68C 0046A5CC 4C 41 13 82 */ cror 2, 1, 2
/* 8046D690 0046A5D0 40 82 02 08 */ bne .L_8046D898
/* 8046D694 0046A5D4 38 00 00 04 */ li r0, 4
/* 8046D698 0046A5D8 90 1E 00 04 */ stw r0, 4(r30)
/* 8046D69C 0046A5DC 48 00 01 FC */ b .L_8046D898
.L_8046D6A0:
/* 8046D6A0 0046A5E0 7F E3 FB 78 */ mr r3, r31
/* 8046D6A4 0046A5E4 C0 22 29 94 */ lfs f1, lbl_80520CF4@sda21(r2)
/* 8046D6A8 0046A5E8 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D6AC 0046A5EC 38 80 00 05 */ li r4, 5
/* 8046D6B0 0046A5F0 38 A0 00 00 */ li r5, 0
/* 8046D6B4 0046A5F4 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D6B8 0046A5F8 7D 89 03 A6 */ mtctr r12
/* 8046D6BC 0046A5FC 4E 80 04 21 */ bctrl
/* 8046D6C0 0046A600 7F E3 FB 78 */ mr r3, r31
/* 8046D6C4 0046A604 C0 22 29 A4 */ lfs f1, lbl_80520D04@sda21(r2)
/* 8046D6C8 0046A608 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D6CC 0046A60C 38 80 00 05 */ li r4, 5
/* 8046D6D0 0046A610 38 A0 00 00 */ li r5, 0
/* 8046D6D4 0046A614 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046D6D8 0046A618 7D 89 03 A6 */ mtctr r12
/* 8046D6DC 0046A61C 4E 80 04 21 */ bctrl
/* 8046D6E0 0046A620 7F E3 FB 78 */ mr r3, r31
/* 8046D6E4 0046A624 38 80 00 00 */ li r4, 0
/* 8046D6E8 0046A628 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D6EC 0046A62C 81 8C 00 30 */ lwz r12, 0x30(r12)
/* 8046D6F0 0046A630 7D 89 03 A6 */ mtctr r12
/* 8046D6F4 0046A634 4E 80 04 21 */ bctrl
/* 8046D6F8 0046A638 C0 02 29 A8 */ lfs f0, lbl_80520D08@sda21(r2)
/* 8046D6FC 0046A63C FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8046D700 0046A640 4C 41 13 82 */ cror 2, 1, 2
/* 8046D704 0046A644 40 82 01 94 */ bne .L_8046D898
/* 8046D708 0046A648 38 00 00 04 */ li r0, 4
/* 8046D70C 0046A64C 90 1E 00 04 */ stw r0, 4(r30)
/* 8046D710 0046A650 48 00 01 88 */ b .L_8046D898
.L_8046D714:
/* 8046D714 0046A654 7F E3 FB 78 */ mr r3, r31
/* 8046D718 0046A658 C0 22 29 98 */ lfs f1, lbl_80520CF8@sda21(r2)
/* 8046D71C 0046A65C 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D720 0046A660 38 80 00 1E */ li r4, 0x1e
/* 8046D724 0046A664 38 A0 00 00 */ li r5, 0
/* 8046D728 0046A668 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D72C 0046A66C 7D 89 03 A6 */ mtctr r12
/* 8046D730 0046A670 4E 80 04 21 */ bctrl
/* 8046D734 0046A674 7F E3 FB 78 */ mr r3, r31
/* 8046D738 0046A678 C0 22 29 AC */ lfs f1, lbl_80520D0C@sda21(r2)
/* 8046D73C 0046A67C 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D740 0046A680 38 80 00 1E */ li r4, 0x1e
/* 8046D744 0046A684 38 A0 00 00 */ li r5, 0
/* 8046D748 0046A688 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046D74C 0046A68C 7D 89 03 A6 */ mtctr r12
/* 8046D750 0046A690 4E 80 04 21 */ bctrl
/* 8046D754 0046A694 48 00 01 44 */ b .L_8046D898
.L_8046D758:
/* 8046D758 0046A698 7F E3 FB 78 */ mr r3, r31
/* 8046D75C 0046A69C C0 22 29 B0 */ lfs f1, lbl_80520D10@sda21(r2)
/* 8046D760 0046A6A0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D764 0046A6A4 38 80 00 0A */ li r4, 0xa
/* 8046D768 0046A6A8 38 A0 00 00 */ li r5, 0
/* 8046D76C 0046A6AC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D770 0046A6B0 7D 89 03 A6 */ mtctr r12
/* 8046D774 0046A6B4 4E 80 04 21 */ bctrl
/* 8046D778 0046A6B8 7F E3 FB 78 */ mr r3, r31
/* 8046D77C 0046A6BC C0 22 29 94 */ lfs f1, lbl_80520CF4@sda21(r2)
/* 8046D780 0046A6C0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D784 0046A6C4 38 80 00 0A */ li r4, 0xa
/* 8046D788 0046A6C8 38 A0 00 00 */ li r5, 0
/* 8046D78C 0046A6CC 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046D790 0046A6D0 7D 89 03 A6 */ mtctr r12
/* 8046D794 0046A6D4 4E 80 04 21 */ bctrl
/* 8046D798 0046A6D8 48 00 01 00 */ b .L_8046D898
.L_8046D79C:
/* 8046D79C 0046A6DC 88 0D 9C A4 */ lbz r0, init$3527@sda21(r13)
/* 8046D7A0 0046A6E0 7C 00 07 75 */ extsb. r0, r0
/* 8046D7A4 0046A6E4 40 82 00 28 */ bne .L_8046D7CC
/* 8046D7A8 0046A6E8 7F E3 FB 78 */ mr r3, r31
/* 8046D7AC 0046A6EC 38 80 00 00 */ li r4, 0
/* 8046D7B0 0046A6F0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D7B4 0046A6F4 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046D7B8 0046A6F8 7D 89 03 A6 */ mtctr r12
/* 8046D7BC 0046A6FC 4E 80 04 21 */ bctrl
/* 8046D7C0 0046A700 38 00 00 01 */ li r0, 1
/* 8046D7C4 0046A704 D0 2D 9C A0 */ stfs f1, tmpVol$3526@sda21(r13)
/* 8046D7C8 0046A708 98 0D 9C A4 */ stb r0, init$3527@sda21(r13)
.L_8046D7CC:
/* 8046D7CC 0046A70C 7F E3 FB 78 */ mr r3, r31
/* 8046D7D0 0046A710 C0 22 29 B4 */ lfs f1, lbl_80520D14@sda21(r2)
/* 8046D7D4 0046A714 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D7D8 0046A718 38 80 00 02 */ li r4, 2
/* 8046D7DC 0046A71C 38 A0 00 00 */ li r5, 0
/* 8046D7E0 0046A720 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D7E4 0046A724 7D 89 03 A6 */ mtctr r12
/* 8046D7E8 0046A728 4E 80 04 21 */ bctrl
/* 8046D7EC 0046A72C 48 00 00 AC */ b .L_8046D898
.L_8046D7F0:
/* 8046D7F0 0046A730 7F E3 FB 78 */ mr r3, r31
/* 8046D7F4 0046A734 C0 2D 9C A0 */ lfs f1, tmpVol$3526@sda21(r13)
/* 8046D7F8 0046A738 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D7FC 0046A73C 38 80 00 05 */ li r4, 5
/* 8046D800 0046A740 38 A0 00 00 */ li r5, 0
/* 8046D804 0046A744 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D808 0046A748 7D 89 03 A6 */ mtctr r12
/* 8046D80C 0046A74C 4E 80 04 21 */ bctrl
/* 8046D810 0046A750 7F E3 FB 78 */ mr r3, r31
/* 8046D814 0046A754 38 80 00 00 */ li r4, 0
/* 8046D818 0046A758 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D81C 0046A75C 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046D820 0046A760 7D 89 03 A6 */ mtctr r12
/* 8046D824 0046A764 4E 80 04 21 */ bctrl
/* 8046D828 0046A768 C0 4D 9C A0 */ lfs f2, tmpVol$3526@sda21(r13)
/* 8046D82C 0046A76C FC 02 08 00 */ fcmpu cr0, f2, f1
/* 8046D830 0046A770 40 82 00 68 */ bne .L_8046D898
/* 8046D834 0046A774 C0 02 29 98 */ lfs f0, lbl_80520CF8@sda21(r2)
/* 8046D838 0046A778 FC 02 00 40 */ fcmpo cr0, f2, f0
/* 8046D83C 0046A77C 40 80 00 10 */ bge .L_8046D84C
/* 8046D840 0046A780 38 00 00 05 */ li r0, 5
/* 8046D844 0046A784 90 1E 00 04 */ stw r0, 4(r30)
/* 8046D848 0046A788 48 00 00 50 */ b .L_8046D898
.L_8046D84C:
/* 8046D84C 0046A78C 38 00 00 04 */ li r0, 4
/* 8046D850 0046A790 90 1E 00 04 */ stw r0, 4(r30)
/* 8046D854 0046A794 48 00 00 44 */ b .L_8046D898
.L_8046D858:
/* 8046D858 0046A798 7F E3 FB 78 */ mr r3, r31
/* 8046D85C 0046A79C C0 22 29 80 */ lfs f1, lbl_80520CE0@sda21(r2)
/* 8046D860 0046A7A0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D864 0046A7A4 38 80 00 00 */ li r4, 0
/* 8046D868 0046A7A8 38 A0 00 00 */ li r5, 0
/* 8046D86C 0046A7AC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046D870 0046A7B0 7D 89 03 A6 */ mtctr r12
/* 8046D874 0046A7B4 4E 80 04 21 */ bctrl
/* 8046D878 0046A7B8 7F E3 FB 78 */ mr r3, r31
/* 8046D87C 0046A7BC C0 22 29 80 */ lfs f1, lbl_80520CE0@sda21(r2)
/* 8046D880 0046A7C0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046D884 0046A7C4 38 80 00 00 */ li r4, 0
/* 8046D888 0046A7C8 38 A0 00 00 */ li r5, 0
/* 8046D88C 0046A7CC 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046D890 0046A7D0 7D 89 03 A6 */ mtctr r12
/* 8046D894 0046A7D4 4E 80 04 21 */ bctrl
.L_8046D898:
/* 8046D898 0046A7D8 7F E3 FB 78 */ mr r3, r31
/* 8046D89C 0046A7DC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8046D8A0 0046A7E0 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8046D8A4 0046A7E4 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 8046D8A8 0046A7E8 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 8046D8AC 0046A7EC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046D8B0 0046A7F0 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8046D8B4 0046A7F4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8046D8B8 0046A7F8 7C 08 03 A6 */ mtlr r0
/* 8046D8BC 0046A7FC 38 21 00 30 */ addi r1, r1, 0x30
/* 8046D8C0 0046A800 4E 80 00 20 */ blr
.endfn startRocketSE__Q23PSM14WorldMapRocketFff
.fn stateChange__Q23PSM14WorldMapRocketFQ33PSM14WorldMapRocket11rocketState, global
/* 8046D8C4 0046A804 90 83 00 04 */ stw r4, 4(r3)
/* 8046D8C8 0046A808 4E 80 00 20 */ blr
.endfn stateChange__Q23PSM14WorldMapRocketFQ33PSM14WorldMapRocket11rocketState
.fn __ct__Q23PSM11PikiHummingFv, global
/* 8046D8CC 0046A80C 4E 80 00 20 */ blr
.endfn __ct__Q23PSM11PikiHummingFv
.fn __ct__Q23PSM14PikiHummingMgrFv, global
/* 8046D8D0 0046A810 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046D8D4 0046A814 7C 08 02 A6 */ mflr r0
/* 8046D8D8 0046A818 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046D8DC 0046A81C 38 00 00 0A */ li r0, 0xa
/* 8046D8E0 0046A820 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046D8E4 0046A824 7C 7F 1B 78 */ mr r31, r3
/* 8046D8E8 0046A828 93 C1 00 08 */ stw r30, 8(r1)
/* 8046D8EC 0046A82C 90 03 00 00 */ stw r0, 0(r3)
/* 8046D8F0 0046A830 38 00 00 00 */ li r0, 0
/* 8046D8F4 0046A834 38 60 00 64 */ li r3, 0x64
/* 8046D8F8 0046A838 90 1F 00 04 */ stw r0, 4(r31)
/* 8046D8FC 0046A83C 90 1F 00 08 */ stw r0, 8(r31)
/* 8046D900 0046A840 4B BB 66 AD */ bl __nwa__FUl
/* 8046D904 0046A844 3C 80 80 47 */ lis r4, __ct__Q23PSM11PikiHummingFv@ha
/* 8046D908 0046A848 38 A0 00 00 */ li r5, 0
/* 8046D90C 0046A84C 38 84 D8 CC */ addi r4, r4, __ct__Q23PSM11PikiHummingFv@l
/* 8046D910 0046A850 38 C0 00 1C */ li r6, 0x1c
/* 8046D914 0046A854 38 E0 00 03 */ li r7, 3
/* 8046D918 0046A858 4B C5 40 D9 */ bl __construct_new_array
/* 8046D91C 0046A85C 90 7F 00 0C */ stw r3, 0xc(r31)
/* 8046D920 0046A860 39 80 00 00 */ li r12, 0
/* 8046D924 0046A864 38 00 28 7E */ li r0, 0x287e
/* 8046D928 0046A868 38 60 00 48 */ li r3, 0x48
/* 8046D92C 0046A86C 83 DF 00 0C */ lwz r30, 0xc(r31)
/* 8046D930 0046A870 39 40 00 04 */ li r10, 4
/* 8046D934 0046A874 39 60 FF FF */ li r11, -1
/* 8046D938 0046A878 39 20 00 01 */ li r9, 1
/* 8046D93C 0046A87C 91 9E 00 14 */ stw r12, 0x14(r30)
/* 8046D940 0046A880 39 00 28 85 */ li r8, 0x2885
/* 8046D944 0046A884 38 C0 01 2C */ li r6, 0x12c
/* 8046D948 0046A888 38 E0 00 02 */ li r7, 2
/* 8046D94C 0046A88C 90 1E 00 04 */ stw r0, 4(r30)
/* 8046D950 0046A890 38 A0 28 82 */ li r5, 0x2882
/* 8046D954 0046A894 38 80 00 A0 */ li r4, 0xa0
/* 8046D958 0046A898 38 00 00 03 */ li r0, 3
/* 8046D95C 0046A89C 90 7E 00 08 */ stw r3, 8(r30)
/* 8046D960 0046A8A0 7F E3 FB 78 */ mr r3, r31
/* 8046D964 0046A8A4 91 5E 00 0C */ stw r10, 0xc(r30)
/* 8046D968 0046A8A8 91 9E 00 00 */ stw r12, 0(r30)
/* 8046D96C 0046A8AC 99 9E 00 18 */ stb r12, 0x18(r30)
/* 8046D970 0046A8B0 91 7E 00 10 */ stw r11, 0x10(r30)
/* 8046D974 0046A8B4 81 5F 00 0C */ lwz r10, 0xc(r31)
/* 8046D978 0046A8B8 91 2A 00 30 */ stw r9, 0x30(r10)
/* 8046D97C 0046A8BC 91 0A 00 20 */ stw r8, 0x20(r10)
/* 8046D980 0046A8C0 90 CA 00 24 */ stw r6, 0x24(r10)
/* 8046D984 0046A8C4 90 EA 00 28 */ stw r7, 0x28(r10)
/* 8046D988 0046A8C8 91 8A 00 1C */ stw r12, 0x1c(r10)
/* 8046D98C 0046A8CC 99 8A 00 34 */ stb r12, 0x34(r10)
/* 8046D990 0046A8D0 91 6A 00 2C */ stw r11, 0x2c(r10)
/* 8046D994 0046A8D4 80 DF 00 0C */ lwz r6, 0xc(r31)
/* 8046D998 0046A8D8 90 E6 00 4C */ stw r7, 0x4c(r6)
/* 8046D99C 0046A8DC 90 A6 00 3C */ stw r5, 0x3c(r6)
/* 8046D9A0 0046A8E0 90 86 00 40 */ stw r4, 0x40(r6)
/* 8046D9A4 0046A8E4 90 06 00 44 */ stw r0, 0x44(r6)
/* 8046D9A8 0046A8E8 91 86 00 38 */ stw r12, 0x38(r6)
/* 8046D9AC 0046A8EC 99 86 00 50 */ stb r12, 0x50(r6)
/* 8046D9B0 0046A8F0 91 66 00 48 */ stw r11, 0x48(r6)
/* 8046D9B4 0046A8F4 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046D9B8 0046A8F8 83 C1 00 08 */ lwz r30, 8(r1)
/* 8046D9BC 0046A8FC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046D9C0 0046A900 7C 08 03 A6 */ mtlr r0
/* 8046D9C4 0046A904 38 21 00 10 */ addi r1, r1, 0x10
/* 8046D9C8 0046A908 4E 80 00 20 */ blr
.endfn __ct__Q23PSM14PikiHummingMgrFv
.fn exec__Q23PSM14PikiHummingMgrFv, global
/* 8046D9CC 0046A90C 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8046D9D0 0046A910 7C 08 02 A6 */ mflr r0
/* 8046D9D4 0046A914 38 80 00 00 */ li r4, 0
/* 8046D9D8 0046A918 3C A0 80 4B */ lis r5, "__vt__22Iterator<Q24Game4Navi>"@ha
/* 8046D9DC 0046A91C 90 01 00 44 */ stw r0, 0x44(r1)
/* 8046D9E0 0046A920 38 A5 BC B4 */ addi r5, r5, "__vt__22Iterator<Q24Game4Navi>"@l
/* 8046D9E4 0046A924 28 04 00 00 */ cmplwi r4, 0
/* 8046D9E8 0046A928 3C C0 80 4A */ lis r6, lbl_8049DA08@ha
/* 8046D9EC 0046A92C BF 21 00 24 */ stmw r25, 0x24(r1)
/* 8046D9F0 0046A930 7C 7A 1B 78 */ mr r26, r3
/* 8046D9F4 0046A934 3B C6 DA 08 */ addi r30, r6, lbl_8049DA08@l
/* 8046D9F8 0046A938 3B A0 00 00 */ li r29, 0
/* 8046D9FC 0046A93C 80 0D 92 E0 */ lwz r0, naviMgr__4Game@sda21(r13)
/* 8046DA00 0046A940 90 A1 00 08 */ stw r5, 8(r1)
/* 8046DA04 0046A944 90 81 00 14 */ stw r4, 0x14(r1)
/* 8046DA08 0046A948 90 81 00 0C */ stw r4, 0xc(r1)
/* 8046DA0C 0046A94C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8046DA10 0046A950 40 82 00 20 */ bne .L_8046DA30
/* 8046DA14 0046A954 7C 03 03 78 */ mr r3, r0
/* 8046DA18 0046A958 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DA1C 0046A95C 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8046DA20 0046A960 7D 89 03 A6 */ mtctr r12
/* 8046DA24 0046A964 4E 80 04 21 */ bctrl
/* 8046DA28 0046A968 90 61 00 0C */ stw r3, 0xc(r1)
/* 8046DA2C 0046A96C 48 00 01 84 */ b .L_8046DBB0
.L_8046DA30:
/* 8046DA30 0046A970 7C 03 03 78 */ mr r3, r0
/* 8046DA34 0046A974 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DA38 0046A978 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8046DA3C 0046A97C 7D 89 03 A6 */ mtctr r12
/* 8046DA40 0046A980 4E 80 04 21 */ bctrl
/* 8046DA44 0046A984 90 61 00 0C */ stw r3, 0xc(r1)
/* 8046DA48 0046A988 48 00 00 58 */ b .L_8046DAA0
.L_8046DA4C:
/* 8046DA4C 0046A98C 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DA50 0046A990 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DA54 0046A994 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DA58 0046A998 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046DA5C 0046A99C 7D 89 03 A6 */ mtctr r12
/* 8046DA60 0046A9A0 4E 80 04 21 */ bctrl
/* 8046DA64 0046A9A4 7C 64 1B 78 */ mr r4, r3
/* 8046DA68 0046A9A8 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8046DA6C 0046A9AC 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DA70 0046A9B0 81 8C 00 08 */ lwz r12, 8(r12)
/* 8046DA74 0046A9B4 7D 89 03 A6 */ mtctr r12
/* 8046DA78 0046A9B8 4E 80 04 21 */ bctrl
/* 8046DA7C 0046A9BC 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DA80 0046A9C0 40 82 01 30 */ bne .L_8046DBB0
/* 8046DA84 0046A9C4 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DA88 0046A9C8 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DA8C 0046A9CC 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DA90 0046A9D0 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8046DA94 0046A9D4 7D 89 03 A6 */ mtctr r12
/* 8046DA98 0046A9D8 4E 80 04 21 */ bctrl
/* 8046DA9C 0046A9DC 90 61 00 0C */ stw r3, 0xc(r1)
.L_8046DAA0:
/* 8046DAA0 0046A9E0 81 81 00 08 */ lwz r12, 8(r1)
/* 8046DAA4 0046A9E4 38 61 00 08 */ addi r3, r1, 8
/* 8046DAA8 0046A9E8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8046DAAC 0046A9EC 7D 89 03 A6 */ mtctr r12
/* 8046DAB0 0046A9F0 4E 80 04 21 */ bctrl
/* 8046DAB4 0046A9F4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DAB8 0046A9F8 41 82 FF 94 */ beq .L_8046DA4C
/* 8046DABC 0046A9FC 48 00 00 F4 */ b .L_8046DBB0
.L_8046DAC0:
/* 8046DAC0 0046AA00 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DAC4 0046AA04 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DAC8 0046AA08 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046DACC 0046AA0C 7D 89 03 A6 */ mtctr r12
/* 8046DAD0 0046AA10 4E 80 04 21 */ bctrl
/* 8046DAD4 0046AA14 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DAD8 0046AA18 81 8C 02 1C */ lwz r12, 0x21c(r12)
/* 8046DADC 0046AA1C 7D 89 03 A6 */ mtctr r12
/* 8046DAE0 0046AA20 4E 80 04 21 */ bctrl
/* 8046DAE4 0046AA24 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DAE8 0046AA28 41 82 00 0C */ beq .L_8046DAF4
/* 8046DAEC 0046AA2C 3B A0 00 01 */ li r29, 1
/* 8046DAF0 0046AA30 48 00 00 E0 */ b .L_8046DBD0
.L_8046DAF4:
/* 8046DAF4 0046AA34 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046DAF8 0046AA38 28 00 00 00 */ cmplwi r0, 0
/* 8046DAFC 0046AA3C 40 82 00 24 */ bne .L_8046DB20
/* 8046DB00 0046AA40 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DB04 0046AA44 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DB08 0046AA48 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DB0C 0046AA4C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8046DB10 0046AA50 7D 89 03 A6 */ mtctr r12
/* 8046DB14 0046AA54 4E 80 04 21 */ bctrl
/* 8046DB18 0046AA58 90 61 00 0C */ stw r3, 0xc(r1)
/* 8046DB1C 0046AA5C 48 00 00 94 */ b .L_8046DBB0
.L_8046DB20:
/* 8046DB20 0046AA60 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DB24 0046AA64 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DB28 0046AA68 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DB2C 0046AA6C 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8046DB30 0046AA70 7D 89 03 A6 */ mtctr r12
/* 8046DB34 0046AA74 4E 80 04 21 */ bctrl
/* 8046DB38 0046AA78 90 61 00 0C */ stw r3, 0xc(r1)
/* 8046DB3C 0046AA7C 48 00 00 58 */ b .L_8046DB94
.L_8046DB40:
/* 8046DB40 0046AA80 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DB44 0046AA84 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DB48 0046AA88 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DB4C 0046AA8C 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046DB50 0046AA90 7D 89 03 A6 */ mtctr r12
/* 8046DB54 0046AA94 4E 80 04 21 */ bctrl
/* 8046DB58 0046AA98 7C 64 1B 78 */ mr r4, r3
/* 8046DB5C 0046AA9C 80 61 00 14 */ lwz r3, 0x14(r1)
/* 8046DB60 0046AAA0 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DB64 0046AAA4 81 8C 00 08 */ lwz r12, 8(r12)
/* 8046DB68 0046AAA8 7D 89 03 A6 */ mtctr r12
/* 8046DB6C 0046AAAC 4E 80 04 21 */ bctrl
/* 8046DB70 0046AAB0 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DB74 0046AAB4 40 82 00 3C */ bne .L_8046DBB0
/* 8046DB78 0046AAB8 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DB7C 0046AABC 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DB80 0046AAC0 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DB84 0046AAC4 81 8C 00 14 */ lwz r12, 0x14(r12)
/* 8046DB88 0046AAC8 7D 89 03 A6 */ mtctr r12
/* 8046DB8C 0046AACC 4E 80 04 21 */ bctrl
/* 8046DB90 0046AAD0 90 61 00 0C */ stw r3, 0xc(r1)
.L_8046DB94:
/* 8046DB94 0046AAD4 81 81 00 08 */ lwz r12, 8(r1)
/* 8046DB98 0046AAD8 38 61 00 08 */ addi r3, r1, 8
/* 8046DB9C 0046AADC 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8046DBA0 0046AAE0 7D 89 03 A6 */ mtctr r12
/* 8046DBA4 0046AAE4 4E 80 04 21 */ bctrl
/* 8046DBA8 0046AAE8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DBAC 0046AAEC 41 82 FF 94 */ beq .L_8046DB40
.L_8046DBB0:
/* 8046DBB0 0046AAF0 80 61 00 10 */ lwz r3, 0x10(r1)
/* 8046DBB4 0046AAF4 81 83 00 00 */ lwz r12, 0(r3)
/* 8046DBB8 0046AAF8 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046DBBC 0046AAFC 7D 89 03 A6 */ mtctr r12
/* 8046DBC0 0046AB00 4E 80 04 21 */ bctrl
/* 8046DBC4 0046AB04 80 81 00 0C */ lwz r4, 0xc(r1)
/* 8046DBC8 0046AB08 7C 04 18 40 */ cmplw r4, r3
/* 8046DBCC 0046AB0C 40 82 FE F4 */ bne .L_8046DAC0
.L_8046DBD0:
/* 8046DBD0 0046AB10 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13)
/* 8046DBD4 0046AB14 3B 80 00 00 */ li r28, 0
/* 8046DBD8 0046AB18 4B CE D0 49 */ bl getActiveNavi__Q24Game7NaviMgrFv
/* 8046DBDC 0046AB1C 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046DBE0 0046AB20 41 82 01 F4 */ beq .L_8046DDD4
/* 8046DBE4 0046AB24 A3 7F 02 DC */ lhz r27, 0x2dc(r31)
/* 8046DBE8 0046AB28 38 00 00 00 */ li r0, 0
/* 8046DBEC 0046AB2C 2C 1B 00 00 */ cmpwi r27, 0
/* 8046DBF0 0046AB30 41 80 00 10 */ blt .L_8046DC00
/* 8046DBF4 0046AB34 2C 1B 00 01 */ cmpwi r27, 1
/* 8046DBF8 0046AB38 41 81 00 08 */ bgt .L_8046DC00
/* 8046DBFC 0046AB3C 38 00 00 01 */ li r0, 1
.L_8046DC00:
/* 8046DC00 0046AB40 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8046DC04 0046AB44 40 82 00 18 */ bne .L_8046DC1C
/* 8046DC08 0046AB48 38 7E 00 00 */ addi r3, r30, 0
/* 8046DC0C 0046AB4C 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DC10 0046AB50 38 80 01 8A */ li r4, 0x18a
/* 8046DC14 0046AB54 4C C6 31 82 */ crclr 6
/* 8046DC18 0046AB58 4B BB CA 29 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DC1C:
/* 8046DC1C 0046AB5C 2C 1B 00 00 */ cmpwi r27, 0
/* 8046DC20 0046AB60 38 00 00 00 */ li r0, 0
/* 8046DC24 0046AB64 41 80 00 10 */ blt .L_8046DC34
/* 8046DC28 0046AB68 2C 1B 00 07 */ cmpwi r27, 7
/* 8046DC2C 0046AB6C 40 80 00 08 */ bge .L_8046DC34
/* 8046DC30 0046AB70 38 00 00 01 */ li r0, 1
.L_8046DC34:
/* 8046DC34 0046AB74 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8046DC38 0046AB78 40 82 00 18 */ bne .L_8046DC50
/* 8046DC3C 0046AB7C 38 7E 00 20 */ addi r3, r30, 0x20
/* 8046DC40 0046AB80 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DC44 0046AB84 38 80 00 77 */ li r4, 0x77
/* 8046DC48 0046AB88 4C C6 31 82 */ crclr 6
/* 8046DC4C 0046AB8C 4B BB C9 F5 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DC50:
/* 8046DC50 0046AB90 3C 60 80 51 */ lis r3, formationPikis__Q24Game8GameStat@ha
/* 8046DC54 0046AB94 57 65 28 34 */ slwi r5, r27, 5
/* 8046DC58 0046AB98 38 03 22 EC */ addi r0, r3, formationPikis__Q24Game8GameStat@l
/* 8046DC5C 0046AB9C 38 80 00 01 */ li r4, 1
/* 8046DC60 0046ABA0 7F 20 2A 14 */ add r25, r0, r5
/* 8046DC64 0046ABA4 7F 23 CB 78 */ mr r3, r25
/* 8046DC68 0046ABA8 81 99 00 00 */ lwz r12, 0(r25)
/* 8046DC6C 0046ABAC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046DC70 0046ABB0 7D 89 03 A6 */ mtctr r12
/* 8046DC74 0046ABB4 4E 80 04 21 */ bctrl
/* 8046DC78 0046ABB8 2C 03 00 14 */ cmpwi r3, 0x14
/* 8046DC7C 0046ABBC 40 82 01 58 */ bne .L_8046DDD4
/* 8046DC80 0046ABC0 2C 1B 00 00 */ cmpwi r27, 0
/* 8046DC84 0046ABC4 38 00 00 00 */ li r0, 0
/* 8046DC88 0046ABC8 41 80 00 10 */ blt .L_8046DC98
/* 8046DC8C 0046ABCC 2C 1B 00 07 */ cmpwi r27, 7
/* 8046DC90 0046ABD0 40 80 00 08 */ bge .L_8046DC98
/* 8046DC94 0046ABD4 38 00 00 01 */ li r0, 1
.L_8046DC98:
/* 8046DC98 0046ABD8 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8046DC9C 0046ABDC 40 82 00 18 */ bne .L_8046DCB4
/* 8046DCA0 0046ABE0 38 7E 00 20 */ addi r3, r30, 0x20
/* 8046DCA4 0046ABE4 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DCA8 0046ABE8 38 80 00 77 */ li r4, 0x77
/* 8046DCAC 0046ABEC 4C C6 31 82 */ crclr 6
/* 8046DCB0 0046ABF0 4B BB C9 91 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DCB4:
/* 8046DCB4 0046ABF4 7F 23 CB 78 */ mr r3, r25
/* 8046DCB8 0046ABF8 38 80 00 00 */ li r4, 0
/* 8046DCBC 0046ABFC 81 99 00 00 */ lwz r12, 0(r25)
/* 8046DCC0 0046AC00 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046DCC4 0046AC04 7D 89 03 A6 */ mtctr r12
/* 8046DCC8 0046AC08 4E 80 04 21 */ bctrl
/* 8046DCCC 0046AC0C 2C 03 00 14 */ cmpwi r3, 0x14
/* 8046DCD0 0046AC10 40 82 01 04 */ bne .L_8046DDD4
/* 8046DCD4 0046AC14 2C 1B 00 00 */ cmpwi r27, 0
/* 8046DCD8 0046AC18 38 00 00 00 */ li r0, 0
/* 8046DCDC 0046AC1C 41 80 00 10 */ blt .L_8046DCEC
/* 8046DCE0 0046AC20 2C 1B 00 07 */ cmpwi r27, 7
/* 8046DCE4 0046AC24 40 80 00 08 */ bge .L_8046DCEC
/* 8046DCE8 0046AC28 38 00 00 01 */ li r0, 1
.L_8046DCEC:
/* 8046DCEC 0046AC2C 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8046DCF0 0046AC30 40 82 00 18 */ bne .L_8046DD08
/* 8046DCF4 0046AC34 38 7E 00 20 */ addi r3, r30, 0x20
/* 8046DCF8 0046AC38 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DCFC 0046AC3C 38 80 00 77 */ li r4, 0x77
/* 8046DD00 0046AC40 4C C6 31 82 */ crclr 6
/* 8046DD04 0046AC44 4B BB C9 3D */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DD08:
/* 8046DD08 0046AC48 7F 23 CB 78 */ mr r3, r25
/* 8046DD0C 0046AC4C 38 80 00 02 */ li r4, 2
/* 8046DD10 0046AC50 81 99 00 00 */ lwz r12, 0(r25)
/* 8046DD14 0046AC54 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046DD18 0046AC58 7D 89 03 A6 */ mtctr r12
/* 8046DD1C 0046AC5C 4E 80 04 21 */ bctrl
/* 8046DD20 0046AC60 2C 03 00 14 */ cmpwi r3, 0x14
/* 8046DD24 0046AC64 40 82 00 B0 */ bne .L_8046DDD4
/* 8046DD28 0046AC68 2C 1B 00 00 */ cmpwi r27, 0
/* 8046DD2C 0046AC6C 38 00 00 00 */ li r0, 0
/* 8046DD30 0046AC70 41 80 00 10 */ blt .L_8046DD40
/* 8046DD34 0046AC74 2C 1B 00 07 */ cmpwi r27, 7
/* 8046DD38 0046AC78 40 80 00 08 */ bge .L_8046DD40
/* 8046DD3C 0046AC7C 38 00 00 01 */ li r0, 1
.L_8046DD40:
/* 8046DD40 0046AC80 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8046DD44 0046AC84 40 82 00 18 */ bne .L_8046DD5C
/* 8046DD48 0046AC88 38 7E 00 20 */ addi r3, r30, 0x20
/* 8046DD4C 0046AC8C 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DD50 0046AC90 38 80 00 77 */ li r4, 0x77
/* 8046DD54 0046AC94 4C C6 31 82 */ crclr 6
/* 8046DD58 0046AC98 4B BB C8 E9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DD5C:
/* 8046DD5C 0046AC9C 7F 23 CB 78 */ mr r3, r25
/* 8046DD60 0046ACA0 38 80 00 03 */ li r4, 3
/* 8046DD64 0046ACA4 81 99 00 00 */ lwz r12, 0(r25)
/* 8046DD68 0046ACA8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046DD6C 0046ACAC 7D 89 03 A6 */ mtctr r12
/* 8046DD70 0046ACB0 4E 80 04 21 */ bctrl
/* 8046DD74 0046ACB4 2C 03 00 14 */ cmpwi r3, 0x14
/* 8046DD78 0046ACB8 40 82 00 5C */ bne .L_8046DDD4
/* 8046DD7C 0046ACBC 2C 1B 00 00 */ cmpwi r27, 0
/* 8046DD80 0046ACC0 38 00 00 00 */ li r0, 0
/* 8046DD84 0046ACC4 41 80 00 10 */ blt .L_8046DD94
/* 8046DD88 0046ACC8 2C 1B 00 07 */ cmpwi r27, 7
/* 8046DD8C 0046ACCC 40 80 00 08 */ bge .L_8046DD94
/* 8046DD90 0046ACD0 38 00 00 01 */ li r0, 1
.L_8046DD94:
/* 8046DD94 0046ACD4 54 00 06 3F */ clrlwi. r0, r0, 0x18
/* 8046DD98 0046ACD8 40 82 00 18 */ bne .L_8046DDB0
/* 8046DD9C 0046ACDC 38 7E 00 20 */ addi r3, r30, 0x20
/* 8046DDA0 0046ACE0 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DDA4 0046ACE4 38 80 00 77 */ li r4, 0x77
/* 8046DDA8 0046ACE8 4C C6 31 82 */ crclr 6
/* 8046DDAC 0046ACEC 4B BB C8 95 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DDB0:
/* 8046DDB0 0046ACF0 7F 23 CB 78 */ mr r3, r25
/* 8046DDB4 0046ACF4 38 80 00 04 */ li r4, 4
/* 8046DDB8 0046ACF8 81 99 00 00 */ lwz r12, 0(r25)
/* 8046DDBC 0046ACFC 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046DDC0 0046AD00 7D 89 03 A6 */ mtctr r12
/* 8046DDC4 0046AD04 4E 80 04 21 */ bctrl
/* 8046DDC8 0046AD08 2C 03 00 14 */ cmpwi r3, 0x14
/* 8046DDCC 0046AD0C 40 82 00 08 */ bne .L_8046DDD4
/* 8046DDD0 0046AD10 3B 80 00 01 */ li r28, 1
.L_8046DDD4:
/* 8046DDD4 0046AD14 2C 1C 00 01 */ cmpwi r28, 1
/* 8046DDD8 0046AD18 41 82 00 E8 */ beq .L_8046DEC0
/* 8046DDDC 0046AD1C 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046DDE0 0046AD20 28 00 00 00 */ cmplwi r0, 0
/* 8046DDE4 0046AD24 40 82 00 18 */ bne .L_8046DDFC
/* 8046DDE8 0046AD28 38 7E 00 2C */ addi r3, r30, 0x2c
/* 8046DDEC 0046AD2C 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DDF0 0046AD30 38 80 01 D3 */ li r4, 0x1d3
/* 8046DDF4 0046AD34 4C C6 31 82 */ crclr 6
/* 8046DDF8 0046AD38 4B BB C8 49 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DDFC:
/* 8046DDFC 0046AD3C 83 6D 98 80 */ lwz r27, spSceneMgr__8PSSystem@sda21(r13)
/* 8046DE00 0046AD40 28 1B 00 00 */ cmplwi r27, 0
/* 8046DE04 0046AD44 40 82 00 18 */ bne .L_8046DE1C
/* 8046DE08 0046AD48 38 7E 00 2C */ addi r3, r30, 0x2c
/* 8046DE0C 0046AD4C 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DE10 0046AD50 38 80 01 DC */ li r4, 0x1dc
/* 8046DE14 0046AD54 4C C6 31 82 */ crclr 6
/* 8046DE18 0046AD58 4B BB C8 29 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DE1C:
/* 8046DE1C 0046AD5C 80 1B 00 04 */ lwz r0, 4(r27)
/* 8046DE20 0046AD60 28 00 00 00 */ cmplwi r0, 0
/* 8046DE24 0046AD64 40 82 00 18 */ bne .L_8046DE3C
/* 8046DE28 0046AD68 38 7E 00 38 */ addi r3, r30, 0x38
/* 8046DE2C 0046AD6C 38 BE 00 14 */ addi r5, r30, 0x14
/* 8046DE30 0046AD70 38 80 00 CF */ li r4, 0xcf
/* 8046DE34 0046AD74 4C C6 31 82 */ crclr 6
/* 8046DE38 0046AD78 4B BB C8 09 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DE3C:
/* 8046DE3C 0046AD7C 80 7B 00 04 */ lwz r3, 4(r27)
/* 8046DE40 0046AD80 83 63 00 04 */ lwz r27, 4(r3)
/* 8046DE44 0046AD84 28 1B 00 00 */ cmplwi r27, 0
/* 8046DE48 0046AD88 40 82 00 18 */ bne .L_8046DE60
/* 8046DE4C 0046AD8C 38 7E 00 38 */ addi r3, r30, 0x38
/* 8046DE50 0046AD90 38 BE 00 44 */ addi r5, r30, 0x44
/* 8046DE54 0046AD94 38 80 00 D1 */ li r4, 0xd1
/* 8046DE58 0046AD98 4C C6 31 82 */ crclr 6
/* 8046DE5C 0046AD9C 4B BB C7 E5 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046DE60:
/* 8046DE60 0046ADA0 7F 63 DB 78 */ mr r3, r27
/* 8046DE64 0046ADA4 81 9B 00 00 */ lwz r12, 0(r27)
/* 8046DE68 0046ADA8 81 8C 00 40 */ lwz r12, 0x40(r12)
/* 8046DE6C 0046ADAC 7D 89 03 A6 */ mtctr r12
/* 8046DE70 0046ADB0 4E 80 04 21 */ bctrl
/* 8046DE74 0046ADB4 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DE78 0046ADB8 41 82 00 08 */ beq .L_8046DE80
/* 8046DE7C 0046ADBC 48 00 00 08 */ b .L_8046DE84
.L_8046DE80:
/* 8046DE80 0046ADC0 3B 60 00 00 */ li r27, 0
.L_8046DE84:
/* 8046DE84 0046ADC4 7F 63 DB 78 */ mr r3, r27
/* 8046DE88 0046ADC8 81 9B 00 00 */ lwz r12, 0(r27)
/* 8046DE8C 0046ADCC 81 8C 00 6C */ lwz r12, 0x6c(r12)
/* 8046DE90 0046ADD0 7D 89 03 A6 */ mtctr r12
/* 8046DE94 0046ADD4 4E 80 04 21 */ bctrl
/* 8046DE98 0046ADD8 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046DE9C 0046ADDC 41 82 00 24 */ beq .L_8046DEC0
/* 8046DEA0 0046ADE0 7F 63 DB 78 */ mr r3, r27
/* 8046DEA4 0046ADE4 81 9B 00 00 */ lwz r12, 0(r27)
/* 8046DEA8 0046ADE8 81 8C 00 70 */ lwz r12, 0x70(r12)
/* 8046DEAC 0046ADEC 7D 89 03 A6 */ mtctr r12
/* 8046DEB0 0046ADF0 4E 80 04 21 */ bctrl
/* 8046DEB4 0046ADF4 28 03 00 3C */ cmplwi r3, 0x3c
/* 8046DEB8 0046ADF8 40 81 00 08 */ ble .L_8046DEC0
/* 8046DEBC 0046ADFC 3B 80 00 02 */ li r28, 2
.L_8046DEC0:
/* 8046DEC0 0046AE00 28 1F 00 00 */ cmplwi r31, 0
/* 8046DEC4 0046AE04 41 82 00 30 */ beq .L_8046DEF4
/* 8046DEC8 0046AE08 80 7F 02 54 */ lwz r3, 0x254(r31)
/* 8046DECC 0046AE0C 28 03 00 00 */ cmplwi r3, 0
/* 8046DED0 0046AE10 41 82 00 24 */ beq .L_8046DEF4
/* 8046DED4 0046AE14 80 03 00 BC */ lwz r0, 0xbc(r3)
/* 8046DED8 0046AE18 2C 00 00 00 */ cmpwi r0, 0
/* 8046DEDC 0046AE1C 40 81 00 18 */ ble .L_8046DEF4
/* 8046DEE0 0046AE20 57 A0 06 3F */ clrlwi. r0, r29, 0x18
/* 8046DEE4 0046AE24 41 82 00 10 */ beq .L_8046DEF4
/* 8046DEE8 0046AE28 38 00 00 01 */ li r0, 1
/* 8046DEEC 0046AE2C 98 1A 00 10 */ stb r0, 0x10(r26)
/* 8046DEF0 0046AE30 48 00 00 0C */ b .L_8046DEFC
.L_8046DEF4:
/* 8046DEF4 0046AE34 38 00 00 00 */ li r0, 0
/* 8046DEF8 0046AE38 98 1A 00 10 */ stb r0, 0x10(r26)
.L_8046DEFC:
/* 8046DEFC 0046AE3C 93 9A 00 04 */ stw r28, 4(r26)
/* 8046DF00 0046AE40 38 60 00 00 */ li r3, 0
/* 8046DF04 0046AE44 48 00 00 C4 */ b .L_8046DFC8
.L_8046DF08:
/* 8046DF08 0046AE48 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 8046DF0C 0046AE4C 80 9A 00 0C */ lwz r4, 0xc(r26)
/* 8046DF10 0046AE50 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 8046DF14 0046AE54 80 DA 00 04 */ lwz r6, 4(r26)
/* 8046DF18 0046AE58 89 1A 00 10 */ lbz r8, 0x10(r26)
/* 8046DF1C 0046AE5C 38 A0 00 01 */ li r5, 1
/* 8046DF20 0046AE60 7C E4 02 14 */ add r7, r4, r0
/* 8046DF24 0046AE64 80 07 00 14 */ lwz r0, 0x14(r7)
/* 8046DF28 0046AE68 7C 00 30 50 */ subf r0, r0, r6
/* 8046DF2C 0046AE6C 7C 00 00 34 */ cntlzw r0, r0
/* 8046DF30 0046AE70 54 00 DE 3F */ rlwinm. r0, r0, 0x1b, 0x18, 0x1f
/* 8046DF34 0046AE74 41 82 00 0C */ beq .L_8046DF40
/* 8046DF38 0046AE78 28 08 00 00 */ cmplwi r8, 0
/* 8046DF3C 0046AE7C 40 82 00 1C */ bne .L_8046DF58
.L_8046DF40:
/* 8046DF40 0046AE80 80 07 00 10 */ lwz r0, 0x10(r7)
/* 8046DF44 0046AE84 2C 00 FF FF */ cmpwi r0, -1
/* 8046DF48 0046AE88 40 82 00 0C */ bne .L_8046DF54
/* 8046DF4C 0046AE8C 38 00 00 00 */ li r0, 0
/* 8046DF50 0046AE90 90 07 00 00 */ stw r0, 0(r7)
.L_8046DF54:
/* 8046DF54 0046AE94 38 A0 00 00 */ li r5, 0
.L_8046DF58:
/* 8046DF58 0046AE98 38 C0 00 00 */ li r6, 0
/* 8046DF5C 0046AE9C 54 A0 06 3F */ clrlwi. r0, r5, 0x18
/* 8046DF60 0046AEA0 98 C7 00 18 */ stb r6, 0x18(r7)
/* 8046DF64 0046AEA4 41 82 00 34 */ beq .L_8046DF98
/* 8046DF68 0046AEA8 80 A7 00 00 */ lwz r5, 0(r7)
/* 8046DF6C 0046AEAC 80 87 00 08 */ lwz r4, 8(r7)
/* 8046DF70 0046AEB0 7C 05 23 96 */ divwu r0, r5, r4
/* 8046DF74 0046AEB4 7C 00 21 D6 */ mullw r0, r0, r4
/* 8046DF78 0046AEB8 7C 00 28 51 */ subf. r0, r0, r5
/* 8046DF7C 0046AEBC 40 82 00 10 */ bne .L_8046DF8C
/* 8046DF80 0046AEC0 38 00 00 01 */ li r0, 1
/* 8046DF84 0046AEC4 98 07 00 18 */ stb r0, 0x18(r7)
/* 8046DF88 0046AEC8 90 C7 00 00 */ stw r6, 0(r7)
.L_8046DF8C:
/* 8046DF8C 0046AECC 80 87 00 00 */ lwz r4, 0(r7)
/* 8046DF90 0046AED0 38 04 00 01 */ addi r0, r4, 1
/* 8046DF94 0046AED4 90 07 00 00 */ stw r0, 0(r7)
.L_8046DF98:
/* 8046DF98 0046AED8 80 87 00 10 */ lwz r4, 0x10(r7)
/* 8046DF9C 0046AEDC 2C 04 00 00 */ cmpwi r4, 0
/* 8046DFA0 0046AEE0 41 80 00 24 */ blt .L_8046DFC4
/* 8046DFA4 0046AEE4 38 04 00 01 */ addi r0, r4, 1
/* 8046DFA8 0046AEE8 90 07 00 10 */ stw r0, 0x10(r7)
/* 8046DFAC 0046AEEC 80 87 00 10 */ lwz r4, 0x10(r7)
/* 8046DFB0 0046AEF0 80 07 00 08 */ lwz r0, 8(r7)
/* 8046DFB4 0046AEF4 7C 04 00 00 */ cmpw r4, r0
/* 8046DFB8 0046AEF8 41 80 00 0C */ blt .L_8046DFC4
/* 8046DFBC 0046AEFC 38 00 FF FF */ li r0, -1
/* 8046DFC0 0046AF00 90 07 00 10 */ stw r0, 0x10(r7)
.L_8046DFC4:
/* 8046DFC4 0046AF04 38 63 00 01 */ addi r3, r3, 1
.L_8046DFC8:
/* 8046DFC8 0046AF08 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 8046DFCC 0046AF0C 28 00 00 03 */ cmplwi r0, 3
/* 8046DFD0 0046AF10 41 80 FF 38 */ blt .L_8046DF08
/* 8046DFD4 0046AF14 38 00 00 00 */ li r0, 0
/* 8046DFD8 0046AF18 90 1A 00 08 */ stw r0, 8(r26)
/* 8046DFDC 0046AF1C BB 21 00 24 */ lmw r25, 0x24(r1)
/* 8046DFE0 0046AF20 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8046DFE4 0046AF24 7C 08 03 A6 */ mtlr r0
/* 8046DFE8 0046AF28 38 21 00 40 */ addi r1, r1, 0x40
/* 8046DFEC 0046AF2C 4E 80 00 20 */ blr
.endfn exec__Q23PSM14PikiHummingMgrFv
.fn play__Q23PSM14PikiHummingMgrFPQ23PSM4Piki, global
/* 8046DFF0 0046AF30 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046DFF4 0046AF34 7C 08 02 A6 */ mflr r0
/* 8046DFF8 0046AF38 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046DFFC 0046AF3C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046E000 0046AF40 7C 9F 23 78 */ mr r31, r4
/* 8046E004 0046AF44 93 C1 00 08 */ stw r30, 8(r1)
/* 8046E008 0046AF48 88 03 00 10 */ lbz r0, 0x10(r3)
/* 8046E00C 0046AF4C 28 00 00 00 */ cmplwi r0, 0
/* 8046E010 0046AF50 41 82 00 8C */ beq .L_8046E09C
/* 8046E014 0046AF54 80 9F 00 74 */ lwz r4, 0x74(r31)
/* 8046E018 0046AF58 80 03 00 00 */ lwz r0, 0(r3)
/* 8046E01C 0046AF5C 7C 04 00 40 */ cmplw r4, r0
/* 8046E020 0046AF60 41 80 00 7C */ blt .L_8046E09C
/* 8046E024 0046AF64 80 83 00 08 */ lwz r4, 8(r3)
/* 8046E028 0046AF68 38 04 00 01 */ addi r0, r4, 1
/* 8046E02C 0046AF6C 90 03 00 08 */ stw r0, 8(r3)
/* 8046E030 0046AF70 80 03 00 08 */ lwz r0, 8(r3)
/* 8046E034 0046AF74 2C 00 00 04 */ cmpwi r0, 4
/* 8046E038 0046AF78 40 80 00 64 */ bge .L_8046E09C
/* 8046E03C 0046AF7C 80 03 00 04 */ lwz r0, 4(r3)
/* 8046E040 0046AF80 80 63 00 0C */ lwz r3, 0xc(r3)
/* 8046E044 0046AF84 1C 00 00 1C */ mulli r0, r0, 0x1c
/* 8046E048 0046AF88 7F C3 02 14 */ add r30, r3, r0
/* 8046E04C 0046AF8C 88 1E 00 18 */ lbz r0, 0x18(r30)
/* 8046E050 0046AF90 28 00 00 00 */ cmplwi r0, 0
/* 8046E054 0046AF94 41 82 00 48 */ beq .L_8046E09C
/* 8046E058 0046AF98 80 7F 00 2C */ lwz r3, 0x2c(r31)
/* 8046E05C 0046AF9C 4B CD 9D 69 */ bl getFormationSlotID__Q24Game4PikiFv
/* 8046E060 0046AFA0 80 BE 00 0C */ lwz r5, 0xc(r30)
/* 8046E064 0046AFA4 28 1F 00 00 */ cmplwi r31, 0
/* 8046E068 0046AFA8 80 DE 00 04 */ lwz r6, 4(r30)
/* 8046E06C 0046AFAC 7F E4 FB 78 */ mr r4, r31
/* 8046E070 0046AFB0 7C 03 2B 96 */ divwu r0, r3, r5
/* 8046E074 0046AFB4 7C 00 29 D6 */ mullw r0, r0, r5
/* 8046E078 0046AFB8 7C 00 18 50 */ subf r0, r0, r3
/* 8046E07C 0046AFBC 7C A6 02 14 */ add r5, r6, r0
/* 8046E080 0046AFC0 41 82 00 08 */ beq .L_8046E088
/* 8046E084 0046AFC4 38 9F 00 30 */ addi r4, r31, 0x30
.L_8046E088:
/* 8046E088 0046AFC8 7F E3 FB 78 */ mr r3, r31
/* 8046E08C 0046AFCC 38 C0 00 00 */ li r6, 0
/* 8046E090 0046AFD0 4B FF 46 35 */ bl startPikiSound__Q23PSM4PikiFPQ27JAInter6ObjectUlUl
/* 8046E094 0046AFD4 38 00 00 00 */ li r0, 0
/* 8046E098 0046AFD8 90 1E 00 10 */ stw r0, 0x10(r30)
.L_8046E09C:
/* 8046E09C 0046AFDC 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046E0A0 0046AFE0 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046E0A4 0046AFE4 83 C1 00 08 */ lwz r30, 8(r1)
/* 8046E0A8 0046AFE8 7C 08 03 A6 */ mtlr r0
/* 8046E0AC 0046AFEC 38 21 00 10 */ addi r1, r1, 0x10
/* 8046E0B0 0046AFF0 4E 80 00 20 */ blr
.endfn play__Q23PSM14PikiHummingMgrFPQ23PSM4Piki
.fn PSStartSoundVec__FUlP3Vec, global
/* 8046E0B4 0046AFF4 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8046E0B8 0046AFF8 7C 08 02 A6 */ mflr r0
/* 8046E0BC 0046AFFC 3C A0 80 4A */ lis r5, lbl_8049DA08@ha
/* 8046E0C0 0046B000 90 01 00 24 */ stw r0, 0x24(r1)
/* 8046E0C4 0046B004 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8046E0C8 0046B008 3B E5 DA 08 */ addi r31, r5, lbl_8049DA08@l
/* 8046E0CC 0046B00C 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8046E0D0 0046B010 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8046E0D4 0046B014 7C 9D 23 78 */ mr r29, r4
/* 8046E0D8 0046B018 93 81 00 10 */ stw r28, 0x10(r1)
/* 8046E0DC 0046B01C 7C 7C 1B 78 */ mr r28, r3
/* 8046E0E0 0046B020 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046E0E4 0046B024 28 00 00 00 */ cmplwi r0, 0
/* 8046E0E8 0046B028 40 82 00 18 */ bne .L_8046E100
/* 8046E0EC 0046B02C 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046E0F0 0046B030 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E0F4 0046B034 38 80 01 D3 */ li r4, 0x1d3
/* 8046E0F8 0046B038 4C C6 31 82 */ crclr 6
/* 8046E0FC 0046B03C 4B BB C5 45 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E100:
/* 8046E100 0046B040 83 CD 98 80 */ lwz r30, spSceneMgr__8PSSystem@sda21(r13)
/* 8046E104 0046B044 28 1E 00 00 */ cmplwi r30, 0
/* 8046E108 0046B048 40 82 00 18 */ bne .L_8046E120
/* 8046E10C 0046B04C 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046E110 0046B050 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E114 0046B054 38 80 01 DC */ li r4, 0x1dc
/* 8046E118 0046B058 4C C6 31 82 */ crclr 6
/* 8046E11C 0046B05C 4B BB C5 25 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E120:
/* 8046E120 0046B060 80 1E 00 08 */ lwz r0, 8(r30)
/* 8046E124 0046B064 28 00 00 00 */ cmplwi r0, 0
/* 8046E128 0046B068 40 82 00 18 */ bne .L_8046E140
/* 8046E12C 0046B06C 38 7F 00 38 */ addi r3, r31, 0x38
/* 8046E130 0046B070 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E134 0046B074 38 80 00 A1 */ li r4, 0xa1
/* 8046E138 0046B078 4C C6 31 82 */ crclr 6
/* 8046E13C 0046B07C 4B BB C5 05 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E140:
/* 8046E140 0046B080 80 7E 00 08 */ lwz r3, 8(r30)
/* 8046E144 0046B084 7F 85 E3 78 */ mr r5, r28
/* 8046E148 0046B088 38 80 00 00 */ li r4, 0
/* 8046E14C 0046B08C 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E150 0046B090 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 8046E154 0046B094 7D 89 03 A6 */ mtctr r12
/* 8046E158 0046B098 4E 80 04 21 */ bctrl
/* 8046E15C 0046B09C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046E160 0046B0A0 40 82 00 0C */ bne .L_8046E16C
/* 8046E164 0046B0A4 38 60 00 00 */ li r3, 0
/* 8046E168 0046B0A8 48 00 00 88 */ b .L_8046E1F0
.L_8046E16C:
/* 8046E16C 0046B0AC 80 0D 91 B4 */ lwz r0, "sInstance__Q28PSSystem34SingletonBase<Q23PSM11ObjCalcBase>"@sda21(r13)
/* 8046E170 0046B0B0 28 00 00 00 */ cmplwi r0, 0
/* 8046E174 0046B0B4 40 82 00 18 */ bne .L_8046E18C
/* 8046E178 0046B0B8 38 7F 00 68 */ addi r3, r31, 0x68
/* 8046E17C 0046B0BC 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E180 0046B0C0 38 80 00 89 */ li r4, 0x89
/* 8046E184 0046B0C4 4C C6 31 82 */ crclr 6
/* 8046E188 0046B0C8 4B BB C4 B9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E18C:
/* 8046E18C 0046B0CC 80 6D 91 B4 */ lwz r3, "sInstance__Q28PSSystem34SingletonBase<Q23PSM11ObjCalcBase>"@sda21(r13)
/* 8046E190 0046B0D0 7F A4 EB 78 */ mr r4, r29
/* 8046E194 0046B0D4 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E198 0046B0D8 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8046E19C 0046B0DC 7D 89 03 A6 */ mtctr r12
/* 8046E1A0 0046B0E0 4E 80 04 21 */ bctrl
/* 8046E1A4 0046B0E4 28 1D 00 00 */ cmplwi r29, 0
/* 8046E1A8 0046B0E8 7C 7E 1B 78 */ mr r30, r3
/* 8046E1AC 0046B0EC 40 82 00 18 */ bne .L_8046E1C4
/* 8046E1B0 0046B0F0 38 7F 00 00 */ addi r3, r31, 0
/* 8046E1B4 0046B0F4 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E1B8 0046B0F8 38 80 02 0A */ li r4, 0x20a
/* 8046E1BC 0046B0FC 4C C6 31 82 */ crclr 6
/* 8046E1C0 0046B100 4B BB C4 81 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E1C4:
/* 8046E1C4 0046B104 38 00 00 00 */ li r0, 0
/* 8046E1C8 0046B108 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13)
/* 8046E1CC 0046B10C 90 01 00 08 */ stw r0, 8(r1)
/* 8046E1D0 0046B110 7F 85 E3 78 */ mr r5, r28
/* 8046E1D4 0046B114 7F A6 EB 78 */ mr r6, r29
/* 8046E1D8 0046B118 7F C9 F3 78 */ mr r9, r30
/* 8046E1DC 0046B11C 38 81 00 08 */ addi r4, r1, 8
/* 8046E1E0 0046B120 38 E0 00 00 */ li r7, 0
/* 8046E1E4 0046B124 39 00 00 00 */ li r8, 0
/* 8046E1E8 0046B128 48 00 10 65 */ bl "startSoundVecReturnHandleT<8JAISound>__8JAIBasicFPP8JAISoundUlP3VecUlUlUc"
/* 8046E1EC 0046B12C 80 61 00 08 */ lwz r3, 8(r1)
.L_8046E1F0:
/* 8046E1F0 0046B130 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8046E1F4 0046B134 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8046E1F8 0046B138 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8046E1FC 0046B13C 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8046E200 0046B140 83 81 00 10 */ lwz r28, 0x10(r1)
/* 8046E204 0046B144 7C 08 03 A6 */ mtlr r0
/* 8046E208 0046B148 38 21 00 20 */ addi r1, r1, 0x20
/* 8046E20C 0046B14C 4E 80 00 20 */ blr
.endfn PSStartSoundVec__FUlP3Vec
.fn newPSCluster_SijimiChou__FPQ24Game8Creature, global
/* 8046E210 0046B150 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8046E214 0046B154 7C 08 02 A6 */ mflr r0
/* 8046E218 0046B158 38 80 00 03 */ li r4, 3
/* 8046E21C 0046B15C 90 01 00 24 */ stw r0, 0x24(r1)
/* 8046E220 0046B160 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8046E224 0046B164 7C 7F 1B 78 */ mr r31, r3
/* 8046E228 0046B168 38 61 00 08 */ addi r3, r1, 8
/* 8046E22C 0046B16C 4B ED 2D 25 */ bl __ct__Q38PSSystem9ClusterSe7FactoryFUc
/* 8046E230 0046B170 3C 60 80 4F */ lis r3, __vt__Q23PSM14ClusterFactory@ha
/* 8046E234 0046B174 38 00 00 00 */ li r0, 0
/* 8046E238 0046B178 38 83 F8 64 */ addi r4, r3, __vt__Q23PSM14ClusterFactory@l
/* 8046E23C 0046B17C 90 01 00 10 */ stw r0, 0x10(r1)
/* 8046E240 0046B180 38 60 00 74 */ li r3, 0x74
/* 8046E244 0046B184 90 81 00 08 */ stw r4, 8(r1)
/* 8046E248 0046B188 4B BB 5C 5D */ bl __nw__FUl
/* 8046E24C 0046B18C 7C 60 1B 79 */ or. r0, r3, r3
/* 8046E250 0046B190 41 82 00 14 */ beq .L_8046E264
/* 8046E254 0046B194 7F E4 FB 78 */ mr r4, r31
/* 8046E258 0046B198 38 A1 00 08 */ addi r5, r1, 8
/* 8046E25C 0046B19C 4B FF 4D D9 */ bl __ct__Q23PSM7ClusterFPQ24Game8CreatureRQ38PSSystem9ClusterSe7Factory
/* 8046E260 0046B1A0 7C 60 1B 78 */ mr r0, r3
.L_8046E264:
/* 8046E264 0046B1A4 7C 03 03 78 */ mr r3, r0
/* 8046E268 0046B1A8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8046E26C 0046B1AC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8046E270 0046B1B0 7C 08 03 A6 */ mtlr r0
/* 8046E274 0046B1B4 38 21 00 20 */ addi r1, r1, 0x20
/* 8046E278 0046B1B8 4E 80 00 20 */ blr
.endfn newPSCluster_SijimiChou__FPQ24Game8Creature
.fn PSStartEnemyGhostSE__FPQ24Game9EnemyBasef, global
/* 8046E27C 0046B1BC 94 21 FF D0 */ stwu r1, -0x30(r1)
/* 8046E280 0046B1C0 7C 08 02 A6 */ mflr r0
/* 8046E284 0046B1C4 90 01 00 34 */ stw r0, 0x34(r1)
/* 8046E288 0046B1C8 DB E1 00 20 */ stfd f31, 0x20(r1)
/* 8046E28C 0046B1CC F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0
/* 8046E290 0046B1D0 DB C1 00 10 */ stfd f30, 0x10(r1)
/* 8046E294 0046B1D4 F3 C1 00 18 */ psq_st f30, 24(r1), 0, qr0
/* 8046E298 0046B1D8 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046E29C 0046B1DC 93 C1 00 08 */ stw r30, 8(r1)
/* 8046E2A0 0046B1E0 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E2A4 0046B1E4 7C 7E 1B 78 */ mr r30, r3
/* 8046E2A8 0046B1E8 81 8C 00 F4 */ lwz r12, 0xf4(r12)
/* 8046E2AC 0046B1EC 7D 89 03 A6 */ mtctr r12
/* 8046E2B0 0046B1F0 4E 80 04 21 */ bctrl
/* 8046E2B4 0046B1F4 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E2B8 0046B1F8 38 80 58 0A */ li r4, 0x580a
/* 8046E2BC 0046B1FC 38 A0 00 00 */ li r5, 0
/* 8046E2C0 0046B200 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046E2C4 0046B204 7D 89 03 A6 */ mtctr r12
/* 8046E2C8 0046B208 4E 80 04 21 */ bctrl
/* 8046E2CC 0046B20C 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E2D0 0046B210 41 82 01 18 */ beq .L_8046E3E8
/* 8046E2D4 0046B214 7F C3 F3 78 */ mr r3, r30
/* 8046E2D8 0046B218 C3 E2 29 80 */ lfs f31, lbl_80520CE0@sda21(r2)
/* 8046E2DC 0046B21C 81 9E 00 00 */ lwz r12, 0(r30)
/* 8046E2E0 0046B220 FF C0 F8 90 */ fmr f30, f31
/* 8046E2E4 0046B224 81 8C 02 58 */ lwz r12, 0x258(r12)
/* 8046E2E8 0046B228 7D 89 03 A6 */ mtctr r12
/* 8046E2EC 0046B22C 4E 80 04 21 */ bctrl
/* 8046E2F0 0046B230 28 03 00 54 */ cmplwi r3, 0x54
/* 8046E2F4 0046B234 41 81 00 B4 */ bgt .L_8046E3A8
/* 8046E2F8 0046B238 3C 80 80 4F */ lis r4, lbl_804EF710@ha
/* 8046E2FC 0046B23C 54 60 10 3A */ slwi r0, r3, 2
/* 8046E300 0046B240 38 64 F7 10 */ addi r3, r4, lbl_804EF710@l
/* 8046E304 0046B244 7C 03 00 2E */ lwzx r0, r3, r0
/* 8046E308 0046B248 7C 09 03 A6 */ mtctr r0
/* 8046E30C 0046B24C 4E 80 04 20 */ bctr
.L_8046E310:
/* 8046E310 0046B250 C3 E2 29 94 */ lfs f31, lbl_80520CF4@sda21(r2)
/* 8046E314 0046B254 C3 C2 29 B8 */ lfs f30, lbl_80520D18@sda21(r2)
/* 8046E318 0046B258 48 00 00 90 */ b .L_8046E3A8
.L_8046E31C:
/* 8046E31C 0046B25C C3 E2 29 94 */ lfs f31, lbl_80520CF4@sda21(r2)
/* 8046E320 0046B260 C3 C2 29 BC */ lfs f30, lbl_80520D1C@sda21(r2)
/* 8046E324 0046B264 48 00 00 84 */ b .L_8046E3A8
.L_8046E328:
/* 8046E328 0046B268 C3 E2 29 94 */ lfs f31, lbl_80520CF4@sda21(r2)
/* 8046E32C 0046B26C FF C0 F8 90 */ fmr f30, f31
/* 8046E330 0046B270 48 00 00 78 */ b .L_8046E3A8
.L_8046E334:
/* 8046E334 0046B274 C3 E2 29 94 */ lfs f31, lbl_80520CF4@sda21(r2)
/* 8046E338 0046B278 C3 C2 29 C0 */ lfs f30, lbl_80520D20@sda21(r2)
/* 8046E33C 0046B27C 48 00 00 6C */ b .L_8046E3A8
.L_8046E340:
/* 8046E340 0046B280 C3 E2 29 94 */ lfs f31, lbl_80520CF4@sda21(r2)
/* 8046E344 0046B284 C3 C2 29 C4 */ lfs f30, lbl_80520D24@sda21(r2)
/* 8046E348 0046B288 48 00 00 60 */ b .L_8046E3A8
.L_8046E34C:
/* 8046E34C 0046B28C C3 E2 29 BC */ lfs f31, lbl_80520D1C@sda21(r2)
/* 8046E350 0046B290 C3 C2 29 C8 */ lfs f30, lbl_80520D28@sda21(r2)
/* 8046E354 0046B294 48 00 00 54 */ b .L_8046E3A8
.L_8046E358:
/* 8046E358 0046B298 C3 E2 29 B8 */ lfs f31, lbl_80520D18@sda21(r2)
/* 8046E35C 0046B29C C3 C2 29 CC */ lfs f30, lbl_80520D2C@sda21(r2)
/* 8046E360 0046B2A0 48 00 00 48 */ b .L_8046E3A8
.L_8046E364:
/* 8046E364 0046B2A4 C3 E2 29 D0 */ lfs f31, lbl_80520D30@sda21(r2)
/* 8046E368 0046B2A8 C3 C2 29 AC */ lfs f30, lbl_80520D0C@sda21(r2)
/* 8046E36C 0046B2AC 48 00 00 3C */ b .L_8046E3A8
.L_8046E370:
/* 8046E370 0046B2B0 C3 E2 29 D4 */ lfs f31, lbl_80520D34@sda21(r2)
/* 8046E374 0046B2B4 C3 C2 29 D8 */ lfs f30, lbl_80520D38@sda21(r2)
/* 8046E378 0046B2B8 48 00 00 30 */ b .L_8046E3A8
.L_8046E37C:
/* 8046E37C 0046B2BC C3 E2 29 D4 */ lfs f31, lbl_80520D34@sda21(r2)
/* 8046E380 0046B2C0 C3 C2 29 DC */ lfs f30, lbl_80520D3C@sda21(r2)
/* 8046E384 0046B2C4 48 00 00 24 */ b .L_8046E3A8
.L_8046E388:
/* 8046E388 0046B2C8 C3 E2 29 D4 */ lfs f31, lbl_80520D34@sda21(r2)
/* 8046E38C 0046B2CC C3 C2 29 E0 */ lfs f30, lbl_80520D40@sda21(r2)
/* 8046E390 0046B2D0 48 00 00 18 */ b .L_8046E3A8
.L_8046E394:
/* 8046E394 0046B2D4 C3 E2 29 98 */ lfs f31, lbl_80520CF8@sda21(r2)
/* 8046E398 0046B2D8 C3 C2 29 A0 */ lfs f30, lbl_80520D00@sda21(r2)
/* 8046E39C 0046B2DC 48 00 00 0C */ b .L_8046E3A8
.L_8046E3A0:
/* 8046E3A0 0046B2E0 C3 E2 29 E4 */ lfs f31, lbl_80520D44@sda21(r2)
/* 8046E3A4 0046B2E4 C3 C2 29 A8 */ lfs f30, lbl_80520D08@sda21(r2)
.L_8046E3A8:
/* 8046E3A8 0046B2E8 7F E3 FB 78 */ mr r3, r31
/* 8046E3AC 0046B2EC FC 20 F8 90 */ fmr f1, f31
/* 8046E3B0 0046B2F0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E3B4 0046B2F4 38 80 00 00 */ li r4, 0
/* 8046E3B8 0046B2F8 38 A0 00 00 */ li r5, 0
/* 8046E3BC 0046B2FC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046E3C0 0046B300 7D 89 03 A6 */ mtctr r12
/* 8046E3C4 0046B304 4E 80 04 21 */ bctrl
/* 8046E3C8 0046B308 7F E3 FB 78 */ mr r3, r31
/* 8046E3CC 0046B30C FC 20 F0 90 */ fmr f1, f30
/* 8046E3D0 0046B310 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E3D4 0046B314 38 80 00 00 */ li r4, 0
/* 8046E3D8 0046B318 38 A0 00 00 */ li r5, 0
/* 8046E3DC 0046B31C 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E3E0 0046B320 7D 89 03 A6 */ mtctr r12
/* 8046E3E4 0046B324 4E 80 04 21 */ bctrl
.L_8046E3E8:
/* 8046E3E8 0046B328 7F E3 FB 78 */ mr r3, r31
/* 8046E3EC 0046B32C E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0
/* 8046E3F0 0046B330 CB E1 00 20 */ lfd f31, 0x20(r1)
/* 8046E3F4 0046B334 E3 C1 00 18 */ psq_l f30, 24(r1), 0, qr0
/* 8046E3F8 0046B338 CB C1 00 10 */ lfd f30, 0x10(r1)
/* 8046E3FC 0046B33C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046E400 0046B340 80 01 00 34 */ lwz r0, 0x34(r1)
/* 8046E404 0046B344 83 C1 00 08 */ lwz r30, 8(r1)
/* 8046E408 0046B348 7C 08 03 A6 */ mtlr r0
/* 8046E40C 0046B34C 38 21 00 30 */ addi r1, r1, 0x30
/* 8046E410 0046B350 4E 80 00 20 */ blr
.endfn PSStartEnemyGhostSE__FPQ24Game9EnemyBasef
.fn PSStartEnemyFatalHitSE__FPQ24Game9EnemyBasef, global
/* 8046E414 0046B354 94 21 FF B0 */ stwu r1, -0x50(r1)
/* 8046E418 0046B358 7C 08 02 A6 */ mflr r0
/* 8046E41C 0046B35C 90 01 00 54 */ stw r0, 0x54(r1)
/* 8046E420 0046B360 DB E1 00 40 */ stfd f31, 0x40(r1)
/* 8046E424 0046B364 F3 E1 00 48 */ psq_st f31, 72(r1), 0, qr0
/* 8046E428 0046B368 DB C1 00 30 */ stfd f30, 0x30(r1)
/* 8046E42C 0046B36C F3 C1 00 38 */ psq_st f30, 56(r1), 0, qr0
/* 8046E430 0046B370 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8046E434 0046B374 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8046E438 0046B378 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8046E43C 0046B37C 93 81 00 20 */ stw r28, 0x20(r1)
/* 8046E440 0046B380 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E444 0046B384 3C 80 80 4A */ lis r4, lbl_8049DA08@ha
/* 8046E448 0046B388 7C 7C 1B 78 */ mr r28, r3
/* 8046E44C 0046B38C 81 8C 01 00 */ lwz r12, 0x100(r12)
/* 8046E450 0046B390 3B E4 DA 08 */ addi r31, r4, lbl_8049DA08@l
/* 8046E454 0046B394 7D 89 03 A6 */ mtctr r12
/* 8046E458 0046B398 4E 80 04 21 */ bctrl
/* 8046E45C 0046B39C 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046E460 0046B3A0 7C 7D 1B 78 */ mr r29, r3
/* 8046E464 0046B3A4 28 00 00 00 */ cmplwi r0, 0
/* 8046E468 0046B3A8 40 82 00 18 */ bne .L_8046E480
/* 8046E46C 0046B3AC 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046E470 0046B3B0 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E474 0046B3B4 38 80 01 D3 */ li r4, 0x1d3
/* 8046E478 0046B3B8 4C C6 31 82 */ crclr 6
/* 8046E47C 0046B3BC 4B BB C1 C5 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E480:
/* 8046E480 0046B3C0 83 CD 98 80 */ lwz r30, spSceneMgr__8PSSystem@sda21(r13)
/* 8046E484 0046B3C4 28 1E 00 00 */ cmplwi r30, 0
/* 8046E488 0046B3C8 40 82 00 18 */ bne .L_8046E4A0
/* 8046E48C 0046B3CC 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046E490 0046B3D0 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E494 0046B3D4 38 80 01 DC */ li r4, 0x1dc
/* 8046E498 0046B3D8 4C C6 31 82 */ crclr 6
/* 8046E49C 0046B3DC 4B BB C1 A5 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E4A0:
/* 8046E4A0 0046B3E0 80 1E 00 08 */ lwz r0, 8(r30)
/* 8046E4A4 0046B3E4 28 00 00 00 */ cmplwi r0, 0
/* 8046E4A8 0046B3E8 40 82 00 18 */ bne .L_8046E4C0
/* 8046E4AC 0046B3EC 38 7F 00 38 */ addi r3, r31, 0x38
/* 8046E4B0 0046B3F0 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E4B4 0046B3F4 38 80 00 A1 */ li r4, 0xa1
/* 8046E4B8 0046B3F8 4C C6 31 82 */ crclr 6
/* 8046E4BC 0046B3FC 4B BB C1 85 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E4C0:
/* 8046E4C0 0046B400 80 7E 00 08 */ lwz r3, 8(r30)
/* 8046E4C4 0046B404 38 80 00 00 */ li r4, 0
/* 8046E4C8 0046B408 38 A0 58 0B */ li r5, 0x580b
/* 8046E4CC 0046B40C 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E4D0 0046B410 81 8C 00 38 */ lwz r12, 0x38(r12)
/* 8046E4D4 0046B414 7D 89 03 A6 */ mtctr r12
/* 8046E4D8 0046B418 4E 80 04 21 */ bctrl
/* 8046E4DC 0046B41C 54 60 06 3F */ clrlwi. r0, r3, 0x18
/* 8046E4E0 0046B420 40 82 00 0C */ bne .L_8046E4EC
/* 8046E4E4 0046B424 3B E0 00 00 */ li r31, 0
/* 8046E4E8 0046B428 48 00 00 88 */ b .L_8046E570
.L_8046E4EC:
/* 8046E4EC 0046B42C 80 0D 91 B4 */ lwz r0, "sInstance__Q28PSSystem34SingletonBase<Q23PSM11ObjCalcBase>"@sda21(r13)
/* 8046E4F0 0046B430 28 00 00 00 */ cmplwi r0, 0
/* 8046E4F4 0046B434 40 82 00 18 */ bne .L_8046E50C
/* 8046E4F8 0046B438 38 7F 00 68 */ addi r3, r31, 0x68
/* 8046E4FC 0046B43C 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E500 0046B440 38 80 00 89 */ li r4, 0x89
/* 8046E504 0046B444 4C C6 31 82 */ crclr 6
/* 8046E508 0046B448 4B BB C1 39 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E50C:
/* 8046E50C 0046B44C 80 6D 91 B4 */ lwz r3, "sInstance__Q28PSSystem34SingletonBase<Q23PSM11ObjCalcBase>"@sda21(r13)
/* 8046E510 0046B450 7F A4 EB 78 */ mr r4, r29
/* 8046E514 0046B454 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E518 0046B458 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8046E51C 0046B45C 7D 89 03 A6 */ mtctr r12
/* 8046E520 0046B460 4E 80 04 21 */ bctrl
/* 8046E524 0046B464 28 1D 00 00 */ cmplwi r29, 0
/* 8046E528 0046B468 7C 7E 1B 78 */ mr r30, r3
/* 8046E52C 0046B46C 40 82 00 18 */ bne .L_8046E544
/* 8046E530 0046B470 38 7F 00 00 */ addi r3, r31, 0
/* 8046E534 0046B474 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046E538 0046B478 38 80 02 0A */ li r4, 0x20a
/* 8046E53C 0046B47C 4C C6 31 82 */ crclr 6
/* 8046E540 0046B480 4B BB C1 01 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E544:
/* 8046E544 0046B484 38 00 00 00 */ li r0, 0
/* 8046E548 0046B488 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13)
/* 8046E54C 0046B48C 90 01 00 08 */ stw r0, 8(r1)
/* 8046E550 0046B490 7F A6 EB 78 */ mr r6, r29
/* 8046E554 0046B494 7F C9 F3 78 */ mr r9, r30
/* 8046E558 0046B498 38 81 00 08 */ addi r4, r1, 8
/* 8046E55C 0046B49C 38 A0 58 0B */ li r5, 0x580b
/* 8046E560 0046B4A0 38 E0 00 00 */ li r7, 0
/* 8046E564 0046B4A4 39 00 00 00 */ li r8, 0
/* 8046E568 0046B4A8 48 00 0C E5 */ bl "startSoundVecReturnHandleT<8JAISound>__8JAIBasicFPP8JAISoundUlP3VecUlUlUc"
/* 8046E56C 0046B4AC 83 E1 00 08 */ lwz r31, 8(r1)
.L_8046E570:
/* 8046E570 0046B4B0 28 1F 00 00 */ cmplwi r31, 0
/* 8046E574 0046B4B4 41 82 00 E8 */ beq .L_8046E65C
/* 8046E578 0046B4B8 7F 83 E3 78 */ mr r3, r28
/* 8046E57C 0046B4BC 38 81 00 0C */ addi r4, r1, 0xc
/* 8046E580 0046B4C0 81 9C 00 00 */ lwz r12, 0(r28)
/* 8046E584 0046B4C4 81 8C 00 10 */ lwz r12, 0x10(r12)
/* 8046E588 0046B4C8 7D 89 03 A6 */ mtctr r12
/* 8046E58C 0046B4CC 4E 80 04 21 */ bctrl
/* 8046E590 0046B4D0 C3 E1 00 18 */ lfs f31, 0x18(r1)
/* 8046E594 0046B4D4 38 60 00 00 */ li r3, 0
/* 8046E598 0046B4D8 C0 42 29 E8 */ lfs f2, lbl_80520D48@sda21(r2)
/* 8046E59C 0046B4DC FC 20 F8 90 */ fmr f1, f31
/* 8046E5A0 0046B4E0 C0 62 29 EC */ lfs f3, lbl_80520D4C@sda21(r2)
/* 8046E5A4 0046B4E4 FC 80 10 90 */ fmr f4, f2
/* 8046E5A8 0046B4E8 C0 A2 29 98 */ lfs f5, lbl_80520CF8@sda21(r2)
/* 8046E5AC 0046B4EC C0 C2 29 AC */ lfs f6, lbl_80520D0C@sda21(r2)
/* 8046E5B0 0046B4F0 4B C4 BC F9 */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046E5B4 0046B4F4 FF C0 08 90 */ fmr f30, f1
/* 8046E5B8 0046B4F8 C0 02 29 94 */ lfs f0, lbl_80520CF4@sda21(r2)
/* 8046E5BC 0046B4FC FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 8046E5C0 0046B500 40 81 00 08 */ ble .L_8046E5C8
/* 8046E5C4 0046B504 FF C0 00 90 */ fmr f30, f0
.L_8046E5C8:
/* 8046E5C8 0046B508 C0 02 29 98 */ lfs f0, lbl_80520CF8@sda21(r2)
/* 8046E5CC 0046B50C FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 8046E5D0 0046B510 40 80 00 08 */ bge .L_8046E5D8
/* 8046E5D4 0046B514 FF C0 00 90 */ fmr f30, f0
.L_8046E5D8:
/* 8046E5D8 0046B518 C0 62 29 E8 */ lfs f3, lbl_80520D48@sda21(r2)
/* 8046E5DC 0046B51C FC 20 F8 90 */ fmr f1, f31
/* 8046E5E0 0046B520 C0 42 29 EC */ lfs f2, lbl_80520D4C@sda21(r2)
/* 8046E5E4 0046B524 38 60 00 01 */ li r3, 1
/* 8046E5E8 0046B528 FC 80 18 90 */ fmr f4, f3
/* 8046E5EC 0046B52C C0 A2 29 D0 */ lfs f5, lbl_80520D30@sda21(r2)
/* 8046E5F0 0046B530 C0 C2 29 DC */ lfs f6, lbl_80520D3C@sda21(r2)
/* 8046E5F4 0046B534 4B C4 BC B5 */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046E5F8 0046B538 FF E0 08 90 */ fmr f31, f1
/* 8046E5FC 0046B53C C0 02 29 DC */ lfs f0, lbl_80520D3C@sda21(r2)
/* 8046E600 0046B540 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E604 0046B544 40 81 00 08 */ ble .L_8046E60C
/* 8046E608 0046B548 FF E0 00 90 */ fmr f31, f0
.L_8046E60C:
/* 8046E60C 0046B54C C0 02 29 D0 */ lfs f0, lbl_80520D30@sda21(r2)
/* 8046E610 0046B550 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E614 0046B554 40 80 00 08 */ bge .L_8046E61C
/* 8046E618 0046B558 FF E0 00 90 */ fmr f31, f0
.L_8046E61C:
/* 8046E61C 0046B55C 7F E3 FB 78 */ mr r3, r31
/* 8046E620 0046B560 FC 20 F0 90 */ fmr f1, f30
/* 8046E624 0046B564 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E628 0046B568 38 80 00 00 */ li r4, 0
/* 8046E62C 0046B56C 38 A0 00 00 */ li r5, 0
/* 8046E630 0046B570 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046E634 0046B574 7D 89 03 A6 */ mtctr r12
/* 8046E638 0046B578 4E 80 04 21 */ bctrl
/* 8046E63C 0046B57C 7F E3 FB 78 */ mr r3, r31
/* 8046E640 0046B580 FC 20 F8 90 */ fmr f1, f31
/* 8046E644 0046B584 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E648 0046B588 38 80 00 00 */ li r4, 0
/* 8046E64C 0046B58C 38 A0 00 00 */ li r5, 0
/* 8046E650 0046B590 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E654 0046B594 7D 89 03 A6 */ mtctr r12
/* 8046E658 0046B598 4E 80 04 21 */ bctrl
.L_8046E65C:
/* 8046E65C 0046B59C 7F E3 FB 78 */ mr r3, r31
/* 8046E660 0046B5A0 E3 E1 00 48 */ psq_l f31, 72(r1), 0, qr0
/* 8046E664 0046B5A4 CB E1 00 40 */ lfd f31, 0x40(r1)
/* 8046E668 0046B5A8 E3 C1 00 38 */ psq_l f30, 56(r1), 0, qr0
/* 8046E66C 0046B5AC CB C1 00 30 */ lfd f30, 0x30(r1)
/* 8046E670 0046B5B0 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8046E674 0046B5B4 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8046E678 0046B5B8 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8046E67C 0046B5BC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 8046E680 0046B5C0 83 81 00 20 */ lwz r28, 0x20(r1)
/* 8046E684 0046B5C4 7C 08 03 A6 */ mtlr r0
/* 8046E688 0046B5C8 38 21 00 50 */ addi r1, r1, 0x50
/* 8046E68C 0046B5CC 4E 80 00 20 */ blr
.endfn PSStartEnemyFatalHitSE__FPQ24Game9EnemyBasef
.fn PSStartEnemyDownSmokeSE__FPQ24Game9EnemyBasef, global
/* 8046E690 0046B5D0 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8046E694 0046B5D4 7C 08 02 A6 */ mflr r0
/* 8046E698 0046B5D8 90 01 00 24 */ stw r0, 0x24(r1)
/* 8046E69C 0046B5DC DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8046E6A0 0046B5E0 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8046E6A4 0046B5E4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046E6A8 0046B5E8 FF E0 08 90 */ fmr f31, f1
/* 8046E6AC 0046B5EC C0 02 29 80 */ lfs f0, lbl_80520CE0@sda21(r2)
/* 8046E6B0 0046B5F0 FC 00 F8 00 */ fcmpu cr0, f0, f31
/* 8046E6B4 0046B5F4 41 82 00 0C */ beq .L_8046E6C0
/* 8046E6B8 0046B5F8 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E6BC 0046B5FC 40 80 00 0C */ bge .L_8046E6C8
.L_8046E6C0:
/* 8046E6C0 0046B600 38 60 00 00 */ li r3, 0
/* 8046E6C4 0046B604 48 00 01 60 */ b .L_8046E824
.L_8046E6C8:
/* 8046E6C8 0046B608 C0 02 29 B0 */ lfs f0, lbl_80520D10@sda21(r2)
/* 8046E6CC 0046B60C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E6D0 0046B610 40 80 00 70 */ bge .L_8046E740
/* 8046E6D4 0046B614 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E6D8 0046B618 81 8C 00 F4 */ lwz r12, 0xf4(r12)
/* 8046E6DC 0046B61C 7D 89 03 A6 */ mtctr r12
/* 8046E6E0 0046B620 4E 80 04 21 */ bctrl
/* 8046E6E4 0046B624 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E6E8 0046B628 38 80 38 08 */ li r4, 0x3808
/* 8046E6EC 0046B62C 38 A0 00 00 */ li r5, 0
/* 8046E6F0 0046B630 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046E6F4 0046B634 7D 89 03 A6 */ mtctr r12
/* 8046E6F8 0046B638 4E 80 04 21 */ bctrl
/* 8046E6FC 0046B63C 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E700 0046B640 41 82 01 20 */ beq .L_8046E820
/* 8046E704 0046B644 FC 20 F8 90 */ fmr f1, f31
/* 8046E708 0046B648 C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046E70C 0046B64C C0 62 29 B0 */ lfs f3, lbl_80520D10@sda21(r2)
/* 8046E710 0046B650 38 60 00 00 */ li r3, 0
/* 8046E714 0046B654 C0 82 29 94 */ lfs f4, lbl_80520CF4@sda21(r2)
/* 8046E718 0046B658 C0 A2 29 B8 */ lfs f5, lbl_80520D18@sda21(r2)
/* 8046E71C 0046B65C 4B C4 BB 29 */ bl linearTransform__7JALCalcFfffffb
/* 8046E720 0046B660 7F E3 FB 78 */ mr r3, r31
/* 8046E724 0046B664 38 80 00 00 */ li r4, 0
/* 8046E728 0046B668 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E72C 0046B66C 38 A0 00 00 */ li r5, 0
/* 8046E730 0046B670 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E734 0046B674 7D 89 03 A6 */ mtctr r12
/* 8046E738 0046B678 4E 80 04 21 */ bctrl
/* 8046E73C 0046B67C 48 00 00 E4 */ b .L_8046E820
.L_8046E740:
/* 8046E740 0046B680 C0 02 29 D0 */ lfs f0, lbl_80520D30@sda21(r2)
/* 8046E744 0046B684 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E748 0046B688 40 80 00 70 */ bge .L_8046E7B8
/* 8046E74C 0046B68C 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E750 0046B690 81 8C 00 F4 */ lwz r12, 0xf4(r12)
/* 8046E754 0046B694 7D 89 03 A6 */ mtctr r12
/* 8046E758 0046B698 4E 80 04 21 */ bctrl
/* 8046E75C 0046B69C 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E760 0046B6A0 38 80 38 09 */ li r4, 0x3809
/* 8046E764 0046B6A4 38 A0 00 00 */ li r5, 0
/* 8046E768 0046B6A8 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046E76C 0046B6AC 7D 89 03 A6 */ mtctr r12
/* 8046E770 0046B6B0 4E 80 04 21 */ bctrl
/* 8046E774 0046B6B4 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E778 0046B6B8 41 82 00 A8 */ beq .L_8046E820
/* 8046E77C 0046B6BC FC 20 F8 90 */ fmr f1, f31
/* 8046E780 0046B6C0 C0 42 29 B0 */ lfs f2, lbl_80520D10@sda21(r2)
/* 8046E784 0046B6C4 C0 62 29 D0 */ lfs f3, lbl_80520D30@sda21(r2)
/* 8046E788 0046B6C8 38 60 00 00 */ li r3, 0
/* 8046E78C 0046B6CC C0 82 29 AC */ lfs f4, lbl_80520D0C@sda21(r2)
/* 8046E790 0046B6D0 C0 A2 29 D4 */ lfs f5, lbl_80520D34@sda21(r2)
/* 8046E794 0046B6D4 4B C4 BA B1 */ bl linearTransform__7JALCalcFfffffb
/* 8046E798 0046B6D8 7F E3 FB 78 */ mr r3, r31
/* 8046E79C 0046B6DC 38 80 00 00 */ li r4, 0
/* 8046E7A0 0046B6E0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E7A4 0046B6E4 38 A0 00 00 */ li r5, 0
/* 8046E7A8 0046B6E8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E7AC 0046B6EC 7D 89 03 A6 */ mtctr r12
/* 8046E7B0 0046B6F0 4E 80 04 21 */ bctrl
/* 8046E7B4 0046B6F4 48 00 00 6C */ b .L_8046E820
.L_8046E7B8:
/* 8046E7B8 0046B6F8 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E7BC 0046B6FC 81 8C 00 F4 */ lwz r12, 0xf4(r12)
/* 8046E7C0 0046B700 7D 89 03 A6 */ mtctr r12
/* 8046E7C4 0046B704 4E 80 04 21 */ bctrl
/* 8046E7C8 0046B708 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E7CC 0046B70C 38 80 38 0A */ li r4, 0x380a
/* 8046E7D0 0046B710 38 A0 00 00 */ li r5, 0
/* 8046E7D4 0046B714 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046E7D8 0046B718 7D 89 03 A6 */ mtctr r12
/* 8046E7DC 0046B71C 4E 80 04 21 */ bctrl
/* 8046E7E0 0046B720 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E7E4 0046B724 41 82 00 3C */ beq .L_8046E820
/* 8046E7E8 0046B728 FC 20 F8 90 */ fmr f1, f31
/* 8046E7EC 0046B72C C0 42 29 D0 */ lfs f2, lbl_80520D30@sda21(r2)
/* 8046E7F0 0046B730 C0 62 29 A0 */ lfs f3, lbl_80520D00@sda21(r2)
/* 8046E7F4 0046B734 38 60 00 00 */ li r3, 0
/* 8046E7F8 0046B738 C0 82 29 AC */ lfs f4, lbl_80520D0C@sda21(r2)
/* 8046E7FC 0046B73C C0 A2 29 B8 */ lfs f5, lbl_80520D18@sda21(r2)
/* 8046E800 0046B740 4B C4 BA 45 */ bl linearTransform__7JALCalcFfffffb
/* 8046E804 0046B744 7F E3 FB 78 */ mr r3, r31
/* 8046E808 0046B748 38 80 00 00 */ li r4, 0
/* 8046E80C 0046B74C 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E810 0046B750 38 A0 00 00 */ li r5, 0
/* 8046E814 0046B754 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E818 0046B758 7D 89 03 A6 */ mtctr r12
/* 8046E81C 0046B75C 4E 80 04 21 */ bctrl
.L_8046E820:
/* 8046E820 0046B760 7F E3 FB 78 */ mr r3, r31
.L_8046E824:
/* 8046E824 0046B764 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8046E828 0046B768 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8046E82C 0046B76C CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8046E830 0046B770 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046E834 0046B774 7C 08 03 A6 */ mtlr r0
/* 8046E838 0046B778 38 21 00 20 */ addi r1, r1, 0x20
/* 8046E83C 0046B77C 4E 80 00 20 */ blr
.endfn PSStartEnemyDownSmokeSE__FPQ24Game9EnemyBasef
.fn PSStartEnemyDownWatSE__FPQ24Game9EnemyBasef, global
/* 8046E840 0046B780 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8046E844 0046B784 7C 08 02 A6 */ mflr r0
/* 8046E848 0046B788 90 01 00 24 */ stw r0, 0x24(r1)
/* 8046E84C 0046B78C DB E1 00 10 */ stfd f31, 0x10(r1)
/* 8046E850 0046B790 F3 E1 00 18 */ psq_st f31, 24(r1), 0, qr0
/* 8046E854 0046B794 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046E858 0046B798 FF E0 08 90 */ fmr f31, f1
/* 8046E85C 0046B79C C0 02 29 80 */ lfs f0, lbl_80520CE0@sda21(r2)
/* 8046E860 0046B7A0 FC 00 F8 00 */ fcmpu cr0, f0, f31
/* 8046E864 0046B7A4 41 82 00 0C */ beq .L_8046E870
/* 8046E868 0046B7A8 FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E86C 0046B7AC 40 80 00 0C */ bge .L_8046E878
.L_8046E870:
/* 8046E870 0046B7B0 38 60 00 00 */ li r3, 0
/* 8046E874 0046B7B4 48 00 01 B0 */ b .L_8046EA24
.L_8046E878:
/* 8046E878 0046B7B8 C0 02 29 B0 */ lfs f0, lbl_80520D10@sda21(r2)
/* 8046E87C 0046B7BC FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E880 0046B7C0 40 80 00 98 */ bge .L_8046E918
/* 8046E884 0046B7C4 83 E3 02 8C */ lwz r31, 0x28c(r3)
/* 8046E888 0046B7C8 28 1F 00 00 */ cmplwi r31, 0
/* 8046E88C 0046B7CC 41 82 00 08 */ beq .L_8046E894
/* 8046E890 0046B7D0 3B FF 00 30 */ addi r31, r31, 0x30
.L_8046E894:
/* 8046E894 0046B7D4 80 0D 91 C8 */ lwz r0, "sInstance__Q28PSSystem30SingletonBase<Q26PSGame5SeMgr>"@sda21(r13)
/* 8046E898 0046B7D8 28 00 00 00 */ cmplwi r0, 0
/* 8046E89C 0046B7DC 40 82 00 20 */ bne .L_8046E8BC
/* 8046E8A0 0046B7E0 3C 60 80 4A */ lis r3, lbl_8049DA34@ha
/* 8046E8A4 0046B7E4 3C A0 80 4A */ lis r5, lbl_8049DA1C@ha
/* 8046E8A8 0046B7E8 38 63 DA 34 */ addi r3, r3, lbl_8049DA34@l
/* 8046E8AC 0046B7EC 38 80 02 37 */ li r4, 0x237
/* 8046E8B0 0046B7F0 38 A5 DA 1C */ addi r5, r5, lbl_8049DA1C@l
/* 8046E8B4 0046B7F4 4C C6 31 82 */ crclr 6
/* 8046E8B8 0046B7F8 4B BB BD 89 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E8BC:
/* 8046E8BC 0046B7FC 80 6D 91 C8 */ lwz r3, "sInstance__Q28PSSystem30SingletonBase<Q26PSGame5SeMgr>"@sda21(r13)
/* 8046E8C0 0046B800 7F E4 FB 78 */ mr r4, r31
/* 8046E8C4 0046B804 38 A0 38 0B */ li r5, 0x380b
/* 8046E8C8 0046B808 38 C0 00 00 */ li r6, 0
/* 8046E8CC 0046B80C 80 63 00 1C */ lwz r3, 0x1c(r3)
/* 8046E8D0 0046B810 4B ED 0F E9 */ bl startSound__Q26PSGame5SetSeFPQ27JAInter6ObjectUlUl
/* 8046E8D4 0046B814 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E8D8 0046B818 41 82 01 48 */ beq .L_8046EA20
/* 8046E8DC 0046B81C FC 20 F8 90 */ fmr f1, f31
/* 8046E8E0 0046B820 C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046E8E4 0046B824 C0 62 29 B0 */ lfs f3, lbl_80520D10@sda21(r2)
/* 8046E8E8 0046B828 38 60 00 00 */ li r3, 0
/* 8046E8EC 0046B82C C0 82 29 94 */ lfs f4, lbl_80520CF4@sda21(r2)
/* 8046E8F0 0046B830 C0 A2 29 B8 */ lfs f5, lbl_80520D18@sda21(r2)
/* 8046E8F4 0046B834 4B C4 B9 51 */ bl linearTransform__7JALCalcFfffffb
/* 8046E8F8 0046B838 7F E3 FB 78 */ mr r3, r31
/* 8046E8FC 0046B83C 38 80 00 00 */ li r4, 0
/* 8046E900 0046B840 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E904 0046B844 38 A0 00 00 */ li r5, 0
/* 8046E908 0046B848 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E90C 0046B84C 7D 89 03 A6 */ mtctr r12
/* 8046E910 0046B850 4E 80 04 21 */ bctrl
/* 8046E914 0046B854 48 00 01 0C */ b .L_8046EA20
.L_8046E918:
/* 8046E918 0046B858 C0 02 29 D0 */ lfs f0, lbl_80520D30@sda21(r2)
/* 8046E91C 0046B85C FC 1F 00 40 */ fcmpo cr0, f31, f0
/* 8046E920 0046B860 40 80 00 98 */ bge .L_8046E9B8
/* 8046E924 0046B864 83 E3 02 8C */ lwz r31, 0x28c(r3)
/* 8046E928 0046B868 28 1F 00 00 */ cmplwi r31, 0
/* 8046E92C 0046B86C 41 82 00 08 */ beq .L_8046E934
/* 8046E930 0046B870 3B FF 00 30 */ addi r31, r31, 0x30
.L_8046E934:
/* 8046E934 0046B874 80 0D 91 C8 */ lwz r0, "sInstance__Q28PSSystem30SingletonBase<Q26PSGame5SeMgr>"@sda21(r13)
/* 8046E938 0046B878 28 00 00 00 */ cmplwi r0, 0
/* 8046E93C 0046B87C 40 82 00 20 */ bne .L_8046E95C
/* 8046E940 0046B880 3C 60 80 4A */ lis r3, lbl_8049DA34@ha
/* 8046E944 0046B884 3C A0 80 4A */ lis r5, lbl_8049DA1C@ha
/* 8046E948 0046B888 38 63 DA 34 */ addi r3, r3, lbl_8049DA34@l
/* 8046E94C 0046B88C 38 80 02 37 */ li r4, 0x237
/* 8046E950 0046B890 38 A5 DA 1C */ addi r5, r5, lbl_8049DA1C@l
/* 8046E954 0046B894 4C C6 31 82 */ crclr 6
/* 8046E958 0046B898 4B BB BC E9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046E95C:
/* 8046E95C 0046B89C 80 6D 91 C8 */ lwz r3, "sInstance__Q28PSSystem30SingletonBase<Q26PSGame5SeMgr>"@sda21(r13)
/* 8046E960 0046B8A0 7F E4 FB 78 */ mr r4, r31
/* 8046E964 0046B8A4 38 A0 38 0C */ li r5, 0x380c
/* 8046E968 0046B8A8 38 C0 00 00 */ li r6, 0
/* 8046E96C 0046B8AC 80 63 00 1C */ lwz r3, 0x1c(r3)
/* 8046E970 0046B8B0 4B ED 0F 49 */ bl startSound__Q26PSGame5SetSeFPQ27JAInter6ObjectUlUl
/* 8046E974 0046B8B4 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E978 0046B8B8 41 82 00 A8 */ beq .L_8046EA20
/* 8046E97C 0046B8BC FC 20 F8 90 */ fmr f1, f31
/* 8046E980 0046B8C0 C0 42 29 B0 */ lfs f2, lbl_80520D10@sda21(r2)
/* 8046E984 0046B8C4 C0 62 29 D0 */ lfs f3, lbl_80520D30@sda21(r2)
/* 8046E988 0046B8C8 38 60 00 00 */ li r3, 0
/* 8046E98C 0046B8CC C0 82 29 AC */ lfs f4, lbl_80520D0C@sda21(r2)
/* 8046E990 0046B8D0 C0 A2 29 D4 */ lfs f5, lbl_80520D34@sda21(r2)
/* 8046E994 0046B8D4 4B C4 B8 B1 */ bl linearTransform__7JALCalcFfffffb
/* 8046E998 0046B8D8 7F E3 FB 78 */ mr r3, r31
/* 8046E99C 0046B8DC 38 80 00 00 */ li r4, 0
/* 8046E9A0 0046B8E0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046E9A4 0046B8E4 38 A0 00 00 */ li r5, 0
/* 8046E9A8 0046B8E8 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046E9AC 0046B8EC 7D 89 03 A6 */ mtctr r12
/* 8046E9B0 0046B8F0 4E 80 04 21 */ bctrl
/* 8046E9B4 0046B8F4 48 00 00 6C */ b .L_8046EA20
.L_8046E9B8:
/* 8046E9B8 0046B8F8 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E9BC 0046B8FC 81 8C 00 F4 */ lwz r12, 0xf4(r12)
/* 8046E9C0 0046B900 7D 89 03 A6 */ mtctr r12
/* 8046E9C4 0046B904 4E 80 04 21 */ bctrl
/* 8046E9C8 0046B908 81 83 00 00 */ lwz r12, 0(r3)
/* 8046E9CC 0046B90C 38 80 38 0D */ li r4, 0x380d
/* 8046E9D0 0046B910 38 A0 00 00 */ li r5, 0
/* 8046E9D4 0046B914 81 8C 00 0C */ lwz r12, 0xc(r12)
/* 8046E9D8 0046B918 7D 89 03 A6 */ mtctr r12
/* 8046E9DC 0046B91C 4E 80 04 21 */ bctrl
/* 8046E9E0 0046B920 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046E9E4 0046B924 41 82 00 3C */ beq .L_8046EA20
/* 8046E9E8 0046B928 FC 20 F8 90 */ fmr f1, f31
/* 8046E9EC 0046B92C C0 42 29 D0 */ lfs f2, lbl_80520D30@sda21(r2)
/* 8046E9F0 0046B930 C0 62 29 AC */ lfs f3, lbl_80520D0C@sda21(r2)
/* 8046E9F4 0046B934 38 60 00 00 */ li r3, 0
/* 8046E9F8 0046B938 C0 82 29 E0 */ lfs f4, lbl_80520D40@sda21(r2)
/* 8046E9FC 0046B93C C0 A2 29 B8 */ lfs f5, lbl_80520D18@sda21(r2)
/* 8046EA00 0046B940 4B C4 B8 45 */ bl linearTransform__7JALCalcFfffffb
/* 8046EA04 0046B944 7F E3 FB 78 */ mr r3, r31
/* 8046EA08 0046B948 38 80 00 00 */ li r4, 0
/* 8046EA0C 0046B94C 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046EA10 0046B950 38 A0 00 00 */ li r5, 0
/* 8046EA14 0046B954 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046EA18 0046B958 7D 89 03 A6 */ mtctr r12
/* 8046EA1C 0046B95C 4E 80 04 21 */ bctrl
.L_8046EA20:
/* 8046EA20 0046B960 7F E3 FB 78 */ mr r3, r31
.L_8046EA24:
/* 8046EA24 0046B964 E3 E1 00 18 */ psq_l f31, 24(r1), 0, qr0
/* 8046EA28 0046B968 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8046EA2C 0046B96C CB E1 00 10 */ lfd f31, 0x10(r1)
/* 8046EA30 0046B970 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046EA34 0046B974 7C 08 03 A6 */ mtlr r0
/* 8046EA38 0046B978 38 21 00 20 */ addi r1, r1, 0x20
/* 8046EA3C 0046B97C 4E 80 00 20 */ blr
.endfn PSStartEnemyDownWatSE__FPQ24Game9EnemyBasef
.fn PSStartTreasureLaderSE__Ff, global
/* 8046EA40 0046B980 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8046EA44 0046B984 7C 08 02 A6 */ mflr r0
/* 8046EA48 0046B988 90 01 00 44 */ stw r0, 0x44(r1)
/* 8046EA4C 0046B98C DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8046EA50 0046B990 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8046EA54 0046B994 DB C1 00 20 */ stfd f30, 0x20(r1)
/* 8046EA58 0046B998 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0
/* 8046EA5C 0046B99C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8046EA60 0046B9A0 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8046EA64 0046B9A4 93 A1 00 14 */ stw r29, 0x14(r1)
/* 8046EA68 0046B9A8 FF C0 08 90 */ fmr f30, f1
/* 8046EA6C 0046B9AC 3C 80 80 4A */ lis r4, lbl_8049DA08@ha
/* 8046EA70 0046B9B0 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13)
/* 8046EA74 0046B9B4 3B E4 DA 08 */ addi r31, r4, lbl_8049DA08@l
/* 8046EA78 0046B9B8 38 80 18 74 */ li r4, 0x1874
/* 8046EA7C 0046B9BC 38 A0 00 00 */ li r5, 0
/* 8046EA80 0046B9C0 4B EC 9B B1 */ bl playSystemSe__Q28PSSystem5SysIFFUlUl
/* 8046EA84 0046B9C4 7C 7D 1B 79 */ or. r29, r3, r3
/* 8046EA88 0046B9C8 41 82 01 E8 */ beq .L_8046EC70
/* 8046EA8C 0046B9CC C0 0D 86 B0 */ lfs f0, sTreasureLader_PitchDistance@sda21(r13)
/* 8046EA90 0046B9D0 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 8046EA94 0046B9D4 40 80 00 28 */ bge .L_8046EABC
/* 8046EA98 0046B9D8 FC 20 F0 90 */ fmr f1, f30
/* 8046EA9C 0046B9DC C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046EAA0 0046B9E0 FC 60 00 90 */ fmr f3, f0
/* 8046EAA4 0046B9E4 C0 8D 86 B8 */ lfs f4, sTreasureLader_DistanceExp@sda21(r13)
/* 8046EAA8 0046B9E8 C0 AD 86 BC */ lfs f5, sTreasureLader_MinimumVolume@sda21(r13)
/* 8046EAAC 0046B9EC 38 60 00 01 */ li r3, 1
/* 8046EAB0 0046B9F0 C0 C2 29 94 */ lfs f6, lbl_80520CF4@sda21(r2)
/* 8046EAB4 0046B9F4 4B C4 B7 F5 */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046EAB8 0046B9F8 48 00 00 20 */ b .L_8046EAD8
.L_8046EABC:
/* 8046EABC 0046B9FC C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046EAC0 0046BA00 FC 20 F0 90 */ fmr f1, f30
/* 8046EAC4 0046BA04 FC 40 00 90 */ fmr f2, f0
/* 8046EAC8 0046BA08 C0 A2 29 D0 */ lfs f5, lbl_80520D30@sda21(r2)
/* 8046EACC 0046BA0C FC 80 18 90 */ fmr f4, f3
/* 8046EAD0 0046BA10 38 60 00 00 */ li r3, 0
/* 8046EAD4 0046BA14 4B C4 B7 71 */ bl linearTransform__7JALCalcFfffffb
.L_8046EAD8:
/* 8046EAD8 0046BA18 FF E0 08 90 */ fmr f31, f1
/* 8046EADC 0046BA1C C0 42 29 B0 */ lfs f2, lbl_80520D10@sda21(r2)
/* 8046EAE0 0046BA20 FC 20 F0 90 */ fmr f1, f30
/* 8046EAE4 0046BA24 C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046EAE8 0046BA28 C0 82 29 80 */ lfs f4, lbl_80520CE0@sda21(r2)
/* 8046EAEC 0046BA2C 38 60 00 00 */ li r3, 0
/* 8046EAF0 0046BA30 C0 A2 29 F0 */ lfs f5, lbl_80520D50@sda21(r2)
/* 8046EAF4 0046BA34 4B C4 B7 51 */ bl linearTransform__7JALCalcFfffffb
/* 8046EAF8 0046BA38 FC 00 08 1E */ fctiwz f0, f1
/* 8046EAFC 0046BA3C D8 01 00 08 */ stfd f0, 8(r1)
/* 8046EB00 0046BA40 80 A1 00 0C */ lwz r5, 0xc(r1)
/* 8046EB04 0046BA44 54 A0 04 3E */ clrlwi r0, r5, 0x10
/* 8046EB08 0046BA48 28 00 00 80 */ cmplwi r0, 0x80
/* 8046EB0C 0046BA4C 40 81 00 08 */ ble .L_8046EB14
/* 8046EB10 0046BA50 38 A0 00 7F */ li r5, 0x7f
.L_8046EB14:
/* 8046EB14 0046BA54 81 9D 00 10 */ lwz r12, 0x10(r29)
/* 8046EB18 0046BA58 7F A3 EB 78 */ mr r3, r29
/* 8046EB1C 0046BA5C 38 80 00 0C */ li r4, 0xc
/* 8046EB20 0046BA60 81 8C 00 08 */ lwz r12, 8(r12)
/* 8046EB24 0046BA64 7D 89 03 A6 */ mtctr r12
/* 8046EB28 0046BA68 4E 80 04 21 */ bctrl
/* 8046EB2C 0046BA6C 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046EB30 0046BA70 28 00 00 00 */ cmplwi r0, 0
/* 8046EB34 0046BA74 40 82 00 18 */ bne .L_8046EB4C
/* 8046EB38 0046BA78 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046EB3C 0046BA7C 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EB40 0046BA80 38 80 01 D3 */ li r4, 0x1d3
/* 8046EB44 0046BA84 4C C6 31 82 */ crclr 6
/* 8046EB48 0046BA88 4B BB BA F9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EB4C:
/* 8046EB4C 0046BA8C 83 CD 98 80 */ lwz r30, spSceneMgr__8PSSystem@sda21(r13)
/* 8046EB50 0046BA90 28 1E 00 00 */ cmplwi r30, 0
/* 8046EB54 0046BA94 40 82 00 18 */ bne .L_8046EB6C
/* 8046EB58 0046BA98 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046EB5C 0046BA9C 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EB60 0046BAA0 38 80 01 DC */ li r4, 0x1dc
/* 8046EB64 0046BAA4 4C C6 31 82 */ crclr 6
/* 8046EB68 0046BAA8 4B BB BA D9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EB6C:
/* 8046EB6C 0046BAAC 80 1E 00 04 */ lwz r0, 4(r30)
/* 8046EB70 0046BAB0 28 00 00 00 */ cmplwi r0, 0
/* 8046EB74 0046BAB4 40 82 00 18 */ bne .L_8046EB8C
/* 8046EB78 0046BAB8 38 7F 00 38 */ addi r3, r31, 0x38
/* 8046EB7C 0046BABC 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EB80 0046BAC0 38 80 00 C7 */ li r4, 0xc7
/* 8046EB84 0046BAC4 4C C6 31 82 */ crclr 6
/* 8046EB88 0046BAC8 4B BB BA B9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EB8C:
/* 8046EB8C 0046BACC 80 7E 00 04 */ lwz r3, 4(r30)
/* 8046EB90 0046BAD0 80 63 00 04 */ lwz r3, 4(r3)
/* 8046EB94 0046BAD4 28 03 00 00 */ cmplwi r3, 0
/* 8046EB98 0046BAD8 40 82 00 0C */ bne .L_8046EBA4
/* 8046EB9C 0046BADC 3B E0 00 00 */ li r31, 0
/* 8046EBA0 0046BAE0 48 00 00 0C */ b .L_8046EBAC
.L_8046EBA4:
/* 8046EBA4 0046BAE4 4B EC 6A DD */ bl getMiddleBossBgm__Q26PSGame8PikSceneFv
/* 8046EBA8 0046BAE8 7C 7F 1B 78 */ mr r31, r3
.L_8046EBAC:
/* 8046EBAC 0046BAEC 28 1F 00 00 */ cmplwi r31, 0
/* 8046EBB0 0046BAF0 41 82 00 74 */ beq .L_8046EC24
/* 8046EBB4 0046BAF4 7F E3 FB 78 */ mr r3, r31
/* 8046EBB8 0046BAF8 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046EBBC 0046BAFC 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046EBC0 0046BB00 7D 89 03 A6 */ mtctr r12
/* 8046EBC4 0046BB04 4E 80 04 21 */ bctrl
/* 8046EBC8 0046BB08 80 03 00 00 */ lwz r0, 0(r3)
/* 8046EBCC 0046BB0C 28 00 00 00 */ cmplwi r0, 0
/* 8046EBD0 0046BB10 41 82 00 54 */ beq .L_8046EC24
/* 8046EBD4 0046BB14 7F E3 FB 78 */ mr r3, r31
/* 8046EBD8 0046BB18 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046EBDC 0046BB1C 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046EBE0 0046BB20 7D 89 03 A6 */ mtctr r12
/* 8046EBE4 0046BB24 4E 80 04 21 */ bctrl
/* 8046EBE8 0046BB28 80 63 00 00 */ lwz r3, 0(r3)
/* 8046EBEC 0046BB2C 38 80 00 00 */ li r4, 0
/* 8046EBF0 0046BB30 81 83 00 10 */ lwz r12, 0x10(r3)
/* 8046EBF4 0046BB34 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046EBF8 0046BB38 7D 89 03 A6 */ mtctr r12
/* 8046EBFC 0046BB3C 4E 80 04 21 */ bctrl
/* 8046EC00 0046BB40 C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046EC04 0046BB44 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8046EC08 0046BB48 40 81 00 1C */ ble .L_8046EC24
/* 8046EC0C 0046BB4C C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046EC10 0046BB50 38 60 00 01 */ li r3, 1
/* 8046EC14 0046BB54 C0 A2 29 F4 */ lfs f5, lbl_80520D54@sda21(r2)
/* 8046EC18 0046BB58 FC 80 18 90 */ fmr f4, f3
/* 8046EC1C 0046BB5C 4B C4 B6 29 */ bl linearTransform__7JALCalcFfffffb
/* 8046EC20 0046BB60 EF FF 00 72 */ fmuls f31, f31, f1
.L_8046EC24:
/* 8046EC24 0046BB64 7F A3 EB 78 */ mr r3, r29
/* 8046EC28 0046BB68 FC 20 F8 90 */ fmr f1, f31
/* 8046EC2C 0046BB6C 81 9D 00 10 */ lwz r12, 0x10(r29)
/* 8046EC30 0046BB70 38 80 00 00 */ li r4, 0
/* 8046EC34 0046BB74 38 A0 00 00 */ li r5, 0
/* 8046EC38 0046BB78 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046EC3C 0046BB7C 7D 89 03 A6 */ mtctr r12
/* 8046EC40 0046BB80 4E 80 04 21 */ bctrl
/* 8046EC44 0046BB84 C0 0D 86 B0 */ lfs f0, sTreasureLader_PitchDistance@sda21(r13)
/* 8046EC48 0046BB88 FC 1E 00 40 */ fcmpo cr0, f30, f0
/* 8046EC4C 0046BB8C 40 81 00 24 */ ble .L_8046EC70
/* 8046EC50 0046BB90 7F A3 EB 78 */ mr r3, r29
/* 8046EC54 0046BB94 C0 2D 86 B4 */ lfs f1, sTreasureLader_Pitch@sda21(r13)
/* 8046EC58 0046BB98 81 9D 00 10 */ lwz r12, 0x10(r29)
/* 8046EC5C 0046BB9C 38 80 00 00 */ li r4, 0
/* 8046EC60 0046BBA0 38 A0 00 00 */ li r5, 0
/* 8046EC64 0046BBA4 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046EC68 0046BBA8 7D 89 03 A6 */ mtctr r12
/* 8046EC6C 0046BBAC 4E 80 04 21 */ bctrl
.L_8046EC70:
/* 8046EC70 0046BBB0 7F A3 EB 78 */ mr r3, r29
/* 8046EC74 0046BBB4 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8046EC78 0046BBB8 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8046EC7C 0046BBBC E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0
/* 8046EC80 0046BBC0 CB C1 00 20 */ lfd f30, 0x20(r1)
/* 8046EC84 0046BBC4 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8046EC88 0046BBC8 83 C1 00 18 */ lwz r30, 0x18(r1)
/* 8046EC8C 0046BBCC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8046EC90 0046BBD0 83 A1 00 14 */ lwz r29, 0x14(r1)
/* 8046EC94 0046BBD4 7C 08 03 A6 */ mtlr r0
/* 8046EC98 0046BBD8 38 21 00 40 */ addi r1, r1, 0x40
/* 8046EC9C 0046BBDC 4E 80 00 20 */ blr
.endfn PSStartTreasureLaderSE__Ff
.fn PSStartTresureLaderNoiseSE__FUcff, global
/* 8046ECA0 0046BBE0 94 21 FF C0 */ stwu r1, -0x40(r1)
/* 8046ECA4 0046BBE4 7C 08 02 A6 */ mflr r0
/* 8046ECA8 0046BBE8 90 01 00 44 */ stw r0, 0x44(r1)
/* 8046ECAC 0046BBEC DB E1 00 30 */ stfd f31, 0x30(r1)
/* 8046ECB0 0046BBF0 F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0
/* 8046ECB4 0046BBF4 93 E1 00 2C */ stw r31, 0x2c(r1)
/* 8046ECB8 0046BBF8 93 C1 00 28 */ stw r30, 0x28(r1)
/* 8046ECBC 0046BBFC 93 A1 00 24 */ stw r29, 0x24(r1)
/* 8046ECC0 0046BC00 54 60 06 3E */ clrlwi r0, r3, 0x18
/* 8046ECC4 0046BC04 3C 60 80 4A */ lis r3, lbl_8049DA08@ha
/* 8046ECC8 0046BC08 FF E0 08 90 */ fmr f31, f1
/* 8046ECCC 0046BC0C 2C 00 00 04 */ cmpwi r0, 4
/* 8046ECD0 0046BC10 3B E3 DA 08 */ addi r31, r3, lbl_8049DA08@l
/* 8046ECD4 0046BC14 3B C0 00 00 */ li r30, 0
/* 8046ECD8 0046BC18 41 82 01 F8 */ beq .L_8046EED0
/* 8046ECDC 0046BC1C 40 80 03 EC */ bge .L_8046F0C8
/* 8046ECE0 0046BC20 2C 00 00 03 */ cmpwi r0, 3
/* 8046ECE4 0046BC24 40 80 00 0C */ bge .L_8046ECF0
/* 8046ECE8 0046BC28 48 00 03 E0 */ b .L_8046F0C8
/* 8046ECEC 0046BC2C 48 00 03 DC */ b .L_8046F0C8
.L_8046ECF0:
/* 8046ECF0 0046BC30 A0 6D 9C A6 */ lhz r3, sLaderNoiseTimer@sda21(r13)
/* 8046ECF4 0046BC34 A8 0D 9C A8 */ lha r0, sLaderNoiseWait@sda21(r13)
/* 8046ECF8 0046BC38 38 83 00 01 */ addi r4, r3, 1
/* 8046ECFC 0046BC3C 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 8046ED00 0046BC40 B0 8D 9C A6 */ sth r4, sLaderNoiseTimer@sda21(r13)
/* 8046ED04 0046BC44 7C 03 00 00 */ cmpw r3, r0
/* 8046ED08 0046BC48 40 81 00 80 */ ble .L_8046ED88
/* 8046ED0C 0046BC4C 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13)
/* 8046ED10 0046BC50 38 80 18 87 */ li r4, 0x1887
/* 8046ED14 0046BC54 38 A0 00 00 */ li r5, 0
/* 8046ED18 0046BC58 4B EC 99 19 */ bl playSystemSe__Q28PSSystem5SysIFFUlUl
/* 8046ED1C 0046BC5C A8 8D 86 C6 */ lha r4, sLaderNoiseFuefukiTimerRandam@sda21(r13)
/* 8046ED20 0046BC60 3C 00 43 30 */ lis r0, 0x4330
/* 8046ED24 0046BC64 90 01 00 08 */ stw r0, 8(r1)
/* 8046ED28 0046BC68 7C 7E 1B 78 */ mr r30, r3
/* 8046ED2C 0046BC6C 6C 80 80 00 */ xoris r0, r4, 0x8000
/* 8046ED30 0046BC70 C8 22 29 F8 */ lfd f1, lbl_80520D58@sda21(r2)
/* 8046ED34 0046BC74 90 01 00 0C */ stw r0, 0xc(r1)
/* 8046ED38 0046BC78 C0 42 8D 18 */ lfs f2, cEqualCSlope__7JALCalc@sda21(r2)
/* 8046ED3C 0046BC7C C8 01 00 08 */ lfd f0, 8(r1)
/* 8046ED40 0046BC80 C0 62 8D 1C */ lfs f3, cEqualPSlope__7JALCalc@sda21(r2)
/* 8046ED44 0046BC84 EC 20 08 28 */ fsubs f1, f0, f1
/* 8046ED48 0046BC88 4B C4 B6 ED */ bl getRandom__7JALCalcFfff
/* 8046ED4C 0046BC8C A8 8D 86 C4 */ lha r4, sLaderNoiseFuefukiTimerCenter@sda21(r13)
/* 8046ED50 0046BC90 3C 60 43 30 */ lis r3, 0x4330
/* 8046ED54 0046BC94 38 00 00 00 */ li r0, 0
/* 8046ED58 0046BC98 90 61 00 10 */ stw r3, 0x10(r1)
/* 8046ED5C 0046BC9C 6C 83 80 00 */ xoris r3, r4, 0x8000
/* 8046ED60 0046BCA0 C8 42 29 F8 */ lfd f2, lbl_80520D58@sda21(r2)
/* 8046ED64 0046BCA4 90 61 00 14 */ stw r3, 0x14(r1)
/* 8046ED68 0046BCA8 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 8046ED6C 0046BCAC B0 0D 9C A6 */ sth r0, sLaderNoiseTimer@sda21(r13)
/* 8046ED70 0046BCB0 EC 00 10 28 */ fsubs f0, f0, f2
/* 8046ED74 0046BCB4 EC 00 08 2A */ fadds f0, f0, f1
/* 8046ED78 0046BCB8 FC 00 00 1E */ fctiwz f0, f0
/* 8046ED7C 0046BCBC D8 01 00 18 */ stfd f0, 0x18(r1)
/* 8046ED80 0046BCC0 80 01 00 1C */ lwz r0, 0x1c(r1)
/* 8046ED84 0046BCC4 B0 0D 9C A8 */ sth r0, sLaderNoiseWait@sda21(r13)
.L_8046ED88:
/* 8046ED88 0046BCC8 28 1E 00 00 */ cmplwi r30, 0
/* 8046ED8C 0046BCCC 41 82 03 3C */ beq .L_8046F0C8
/* 8046ED90 0046BCD0 FC 20 F8 90 */ fmr f1, f31
/* 8046ED94 0046BCD4 C0 4D 9C AC */ lfs f2, sLaderNoiseFuefukiSensMin@sda21(r13)
/* 8046ED98 0046BCD8 C0 6D 86 C8 */ lfs f3, sLaderNoiseFuefukiSensMax@sda21(r13)
/* 8046ED9C 0046BCDC 38 60 00 01 */ li r3, 1
/* 8046EDA0 0046BCE0 C0 8D 86 C0 */ lfs f4, sLaderNoiseVolumeExp@sda21(r13)
/* 8046EDA4 0046BCE4 C0 AD 86 CC */ lfs f5, sLaderNoiseFuefukiVolumeMin@sda21(r13)
/* 8046EDA8 0046BCE8 C0 CD 86 D0 */ lfs f6, sLaderNoiseFuefukiVolumeMax@sda21(r13)
/* 8046EDAC 0046BCEC 4B C4 B4 FD */ bl getParamByExp__7JALCalcFffffffQ27JALCalc9CurveSign
/* 8046EDB0 0046BCF0 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046EDB4 0046BCF4 FF E0 08 90 */ fmr f31, f1
/* 8046EDB8 0046BCF8 28 00 00 00 */ cmplwi r0, 0
/* 8046EDBC 0046BCFC 40 82 00 18 */ bne .L_8046EDD4
/* 8046EDC0 0046BD00 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046EDC4 0046BD04 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EDC8 0046BD08 38 80 01 D3 */ li r4, 0x1d3
/* 8046EDCC 0046BD0C 4C C6 31 82 */ crclr 6
/* 8046EDD0 0046BD10 4B BB B8 71 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EDD4:
/* 8046EDD4 0046BD14 83 AD 98 80 */ lwz r29, spSceneMgr__8PSSystem@sda21(r13)
/* 8046EDD8 0046BD18 28 1D 00 00 */ cmplwi r29, 0
/* 8046EDDC 0046BD1C 40 82 00 18 */ bne .L_8046EDF4
/* 8046EDE0 0046BD20 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046EDE4 0046BD24 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EDE8 0046BD28 38 80 01 DC */ li r4, 0x1dc
/* 8046EDEC 0046BD2C 4C C6 31 82 */ crclr 6
/* 8046EDF0 0046BD30 4B BB B8 51 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EDF4:
/* 8046EDF4 0046BD34 80 1D 00 04 */ lwz r0, 4(r29)
/* 8046EDF8 0046BD38 28 00 00 00 */ cmplwi r0, 0
/* 8046EDFC 0046BD3C 40 82 00 18 */ bne .L_8046EE14
/* 8046EE00 0046BD40 38 7F 00 38 */ addi r3, r31, 0x38
/* 8046EE04 0046BD44 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EE08 0046BD48 38 80 00 C7 */ li r4, 0xc7
/* 8046EE0C 0046BD4C 4C C6 31 82 */ crclr 6
/* 8046EE10 0046BD50 4B BB B8 31 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EE14:
/* 8046EE14 0046BD54 80 7D 00 04 */ lwz r3, 4(r29)
/* 8046EE18 0046BD58 80 63 00 04 */ lwz r3, 4(r3)
/* 8046EE1C 0046BD5C 28 03 00 00 */ cmplwi r3, 0
/* 8046EE20 0046BD60 40 82 00 0C */ bne .L_8046EE2C
/* 8046EE24 0046BD64 3B E0 00 00 */ li r31, 0
/* 8046EE28 0046BD68 48 00 00 0C */ b .L_8046EE34
.L_8046EE2C:
/* 8046EE2C 0046BD6C 4B EC 68 55 */ bl getMiddleBossBgm__Q26PSGame8PikSceneFv
/* 8046EE30 0046BD70 7C 7F 1B 78 */ mr r31, r3
.L_8046EE34:
/* 8046EE34 0046BD74 28 1F 00 00 */ cmplwi r31, 0
/* 8046EE38 0046BD78 41 82 00 74 */ beq .L_8046EEAC
/* 8046EE3C 0046BD7C 7F E3 FB 78 */ mr r3, r31
/* 8046EE40 0046BD80 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046EE44 0046BD84 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046EE48 0046BD88 7D 89 03 A6 */ mtctr r12
/* 8046EE4C 0046BD8C 4E 80 04 21 */ bctrl
/* 8046EE50 0046BD90 80 03 00 00 */ lwz r0, 0(r3)
/* 8046EE54 0046BD94 28 00 00 00 */ cmplwi r0, 0
/* 8046EE58 0046BD98 41 82 00 54 */ beq .L_8046EEAC
/* 8046EE5C 0046BD9C 7F E3 FB 78 */ mr r3, r31
/* 8046EE60 0046BDA0 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046EE64 0046BDA4 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046EE68 0046BDA8 7D 89 03 A6 */ mtctr r12
/* 8046EE6C 0046BDAC 4E 80 04 21 */ bctrl
/* 8046EE70 0046BDB0 80 63 00 00 */ lwz r3, 0(r3)
/* 8046EE74 0046BDB4 38 80 00 00 */ li r4, 0
/* 8046EE78 0046BDB8 81 83 00 10 */ lwz r12, 0x10(r3)
/* 8046EE7C 0046BDBC 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046EE80 0046BDC0 7D 89 03 A6 */ mtctr r12
/* 8046EE84 0046BDC4 4E 80 04 21 */ bctrl
/* 8046EE88 0046BDC8 C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046EE8C 0046BDCC FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8046EE90 0046BDD0 40 81 00 1C */ ble .L_8046EEAC
/* 8046EE94 0046BDD4 C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046EE98 0046BDD8 38 60 00 01 */ li r3, 1
/* 8046EE9C 0046BDDC C0 A2 29 F4 */ lfs f5, lbl_80520D54@sda21(r2)
/* 8046EEA0 0046BDE0 FC 80 18 90 */ fmr f4, f3
/* 8046EEA4 0046BDE4 4B C4 B3 A1 */ bl linearTransform__7JALCalcFfffffb
/* 8046EEA8 0046BDE8 EF FF 00 72 */ fmuls f31, f31, f1
.L_8046EEAC:
/* 8046EEAC 0046BDEC 7F C3 F3 78 */ mr r3, r30
/* 8046EEB0 0046BDF0 FC 20 F8 90 */ fmr f1, f31
/* 8046EEB4 0046BDF4 81 9E 00 10 */ lwz r12, 0x10(r30)
/* 8046EEB8 0046BDF8 38 80 00 00 */ li r4, 0
/* 8046EEBC 0046BDFC 38 A0 00 00 */ li r5, 0
/* 8046EEC0 0046BE00 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046EEC4 0046BE04 7D 89 03 A6 */ mtctr r12
/* 8046EEC8 0046BE08 4E 80 04 21 */ bctrl
/* 8046EECC 0046BE0C 48 00 01 FC */ b .L_8046F0C8
.L_8046EED0:
/* 8046EED0 0046BE10 A0 6D 9C A6 */ lhz r3, sLaderNoiseTimer@sda21(r13)
/* 8046EED4 0046BE14 A8 0D 9C A8 */ lha r0, sLaderNoiseWait@sda21(r13)
/* 8046EED8 0046BE18 38 83 00 01 */ addi r4, r3, 1
/* 8046EEDC 0046BE1C 54 83 04 3E */ clrlwi r3, r4, 0x10
/* 8046EEE0 0046BE20 B0 8D 9C A6 */ sth r4, sLaderNoiseTimer@sda21(r13)
/* 8046EEE4 0046BE24 7C 03 00 00 */ cmpw r3, r0
/* 8046EEE8 0046BE28 40 81 00 A8 */ ble .L_8046EF90
/* 8046EEEC 0046BE2C 80 6D 98 58 */ lwz r3, spSysIF__8PSSystem@sda21(r13)
/* 8046EEF0 0046BE30 38 80 18 87 */ li r4, 0x1887
/* 8046EEF4 0046BE34 38 A0 00 00 */ li r5, 0
/* 8046EEF8 0046BE38 4B EC 97 39 */ bl playSystemSe__Q28PSSystem5SysIFFUlUl
/* 8046EEFC 0046BE3C 3C 80 2A AB */ lis r4, 0x2AAAAAAB@ha
/* 8046EF00 0046BE40 A8 AD 86 C6 */ lha r5, sLaderNoiseFuefukiTimerRandam@sda21(r13)
/* 8046EF04 0046BE44 38 84 AA AB */ addi r4, r4, 0x2AAAAAAB@l
/* 8046EF08 0046BE48 3C 00 43 30 */ lis r0, 0x4330
/* 8046EF0C 0046BE4C 7C 84 28 96 */ mulhw r4, r4, r5
/* 8046EF10 0046BE50 90 01 00 18 */ stw r0, 0x18(r1)
/* 8046EF14 0046BE54 C8 22 29 F8 */ lfd f1, lbl_80520D58@sda21(r2)
/* 8046EF18 0046BE58 7C 7E 1B 78 */ mr r30, r3
/* 8046EF1C 0046BE5C C0 42 8D 18 */ lfs f2, cEqualCSlope__7JALCalc@sda21(r2)
/* 8046EF20 0046BE60 C0 62 8D 1C */ lfs f3, cEqualPSlope__7JALCalc@sda21(r2)
/* 8046EF24 0046BE64 54 80 0F FE */ srwi r0, r4, 0x1f
/* 8046EF28 0046BE68 7C 04 02 14 */ add r0, r4, r0
/* 8046EF2C 0046BE6C 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8046EF30 0046BE70 90 01 00 1C */ stw r0, 0x1c(r1)
/* 8046EF34 0046BE74 C8 01 00 18 */ lfd f0, 0x18(r1)
/* 8046EF38 0046BE78 EC 20 08 28 */ fsubs f1, f0, f1
/* 8046EF3C 0046BE7C 4B C4 B4 F9 */ bl getRandom__7JALCalcFfff
/* 8046EF40 0046BE80 3C 60 2A AB */ lis r3, 0x2AAAAAAB@ha
/* 8046EF44 0046BE84 A8 0D 86 C4 */ lha r0, sLaderNoiseFuefukiTimerCenter@sda21(r13)
/* 8046EF48 0046BE88 38 83 AA AB */ addi r4, r3, 0x2AAAAAAB@l
/* 8046EF4C 0046BE8C 3C 60 43 30 */ lis r3, 0x4330
/* 8046EF50 0046BE90 7C 84 00 96 */ mulhw r4, r4, r0
/* 8046EF54 0046BE94 38 00 00 00 */ li r0, 0
/* 8046EF58 0046BE98 90 61 00 10 */ stw r3, 0x10(r1)
/* 8046EF5C 0046BE9C C8 42 29 F8 */ lfd f2, lbl_80520D58@sda21(r2)
/* 8046EF60 0046BEA0 B0 0D 9C A6 */ sth r0, sLaderNoiseTimer@sda21(r13)
/* 8046EF64 0046BEA4 54 80 0F FE */ srwi r0, r4, 0x1f
/* 8046EF68 0046BEA8 7C 04 02 14 */ add r0, r4, r0
/* 8046EF6C 0046BEAC 6C 00 80 00 */ xoris r0, r0, 0x8000
/* 8046EF70 0046BEB0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046EF74 0046BEB4 C8 01 00 10 */ lfd f0, 0x10(r1)
/* 8046EF78 0046BEB8 EC 00 10 28 */ fsubs f0, f0, f2
/* 8046EF7C 0046BEBC EC 00 08 2A */ fadds f0, f0, f1
/* 8046EF80 0046BEC0 FC 00 00 1E */ fctiwz f0, f0
/* 8046EF84 0046BEC4 D8 01 00 08 */ stfd f0, 8(r1)
/* 8046EF88 0046BEC8 80 01 00 0C */ lwz r0, 0xc(r1)
/* 8046EF8C 0046BECC B0 0D 9C A8 */ sth r0, sLaderNoiseWait@sda21(r13)
.L_8046EF90:
/* 8046EF90 0046BED0 28 1E 00 00 */ cmplwi r30, 0
/* 8046EF94 0046BED4 41 82 01 34 */ beq .L_8046F0C8
/* 8046EF98 0046BED8 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046EF9C 0046BEDC 28 00 00 00 */ cmplwi r0, 0
/* 8046EFA0 0046BEE0 40 82 00 18 */ bne .L_8046EFB8
/* 8046EFA4 0046BEE4 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046EFA8 0046BEE8 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EFAC 0046BEEC 38 80 01 D3 */ li r4, 0x1d3
/* 8046EFB0 0046BEF0 4C C6 31 82 */ crclr 6
/* 8046EFB4 0046BEF4 4B BB B6 8D */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EFB8:
/* 8046EFB8 0046BEF8 83 AD 98 80 */ lwz r29, spSceneMgr__8PSSystem@sda21(r13)
/* 8046EFBC 0046BEFC 28 1D 00 00 */ cmplwi r29, 0
/* 8046EFC0 0046BF00 40 82 00 18 */ bne .L_8046EFD8
/* 8046EFC4 0046BF04 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046EFC8 0046BF08 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EFCC 0046BF0C 38 80 01 DC */ li r4, 0x1dc
/* 8046EFD0 0046BF10 4C C6 31 82 */ crclr 6
/* 8046EFD4 0046BF14 4B BB B6 6D */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EFD8:
/* 8046EFD8 0046BF18 80 1D 00 04 */ lwz r0, 4(r29)
/* 8046EFDC 0046BF1C 28 00 00 00 */ cmplwi r0, 0
/* 8046EFE0 0046BF20 40 82 00 18 */ bne .L_8046EFF8
/* 8046EFE4 0046BF24 38 7F 00 38 */ addi r3, r31, 0x38
/* 8046EFE8 0046BF28 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046EFEC 0046BF2C 38 80 00 C7 */ li r4, 0xc7
/* 8046EFF0 0046BF30 4C C6 31 82 */ crclr 6
/* 8046EFF4 0046BF34 4B BB B6 4D */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046EFF8:
/* 8046EFF8 0046BF38 80 7D 00 04 */ lwz r3, 4(r29)
/* 8046EFFC 0046BF3C 80 63 00 04 */ lwz r3, 4(r3)
/* 8046F000 0046BF40 28 03 00 00 */ cmplwi r3, 0
/* 8046F004 0046BF44 40 82 00 0C */ bne .L_8046F010
/* 8046F008 0046BF48 3B E0 00 00 */ li r31, 0
/* 8046F00C 0046BF4C 48 00 00 0C */ b .L_8046F018
.L_8046F010:
/* 8046F010 0046BF50 4B EC 66 71 */ bl getMiddleBossBgm__Q26PSGame8PikSceneFv
/* 8046F014 0046BF54 7C 7F 1B 78 */ mr r31, r3
.L_8046F018:
/* 8046F018 0046BF58 28 1F 00 00 */ cmplwi r31, 0
/* 8046F01C 0046BF5C 41 82 00 8C */ beq .L_8046F0A8
/* 8046F020 0046BF60 7F E3 FB 78 */ mr r3, r31
/* 8046F024 0046BF64 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046F028 0046BF68 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046F02C 0046BF6C 7D 89 03 A6 */ mtctr r12
/* 8046F030 0046BF70 4E 80 04 21 */ bctrl
/* 8046F034 0046BF74 80 03 00 00 */ lwz r0, 0(r3)
/* 8046F038 0046BF78 28 00 00 00 */ cmplwi r0, 0
/* 8046F03C 0046BF7C 41 82 00 6C */ beq .L_8046F0A8
/* 8046F040 0046BF80 7F E3 FB 78 */ mr r3, r31
/* 8046F044 0046BF84 81 9F 00 10 */ lwz r12, 0x10(r31)
/* 8046F048 0046BF88 81 8C 00 3C */ lwz r12, 0x3c(r12)
/* 8046F04C 0046BF8C 7D 89 03 A6 */ mtctr r12
/* 8046F050 0046BF90 4E 80 04 21 */ bctrl
/* 8046F054 0046BF94 80 63 00 00 */ lwz r3, 0(r3)
/* 8046F058 0046BF98 38 80 00 00 */ li r4, 0
/* 8046F05C 0046BF9C 81 83 00 10 */ lwz r12, 0x10(r3)
/* 8046F060 0046BFA0 81 8C 00 20 */ lwz r12, 0x20(r12)
/* 8046F064 0046BFA4 7D 89 03 A6 */ mtctr r12
/* 8046F068 0046BFA8 4E 80 04 21 */ bctrl
/* 8046F06C 0046BFAC C0 42 29 80 */ lfs f2, lbl_80520CE0@sda21(r2)
/* 8046F070 0046BFB0 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8046F074 0046BFB4 40 81 00 34 */ ble .L_8046F0A8
/* 8046F078 0046BFB8 C0 62 29 94 */ lfs f3, lbl_80520CF4@sda21(r2)
/* 8046F07C 0046BFBC 38 60 00 01 */ li r3, 1
/* 8046F080 0046BFC0 C0 A2 29 F4 */ lfs f5, lbl_80520D54@sda21(r2)
/* 8046F084 0046BFC4 FC 80 18 90 */ fmr f4, f3
/* 8046F088 0046BFC8 4B C4 B1 BD */ bl linearTransform__7JALCalcFfffffb
/* 8046F08C 0046BFCC 7F C3 F3 78 */ mr r3, r30
/* 8046F090 0046BFD0 38 80 00 00 */ li r4, 0
/* 8046F094 0046BFD4 81 9E 00 10 */ lwz r12, 0x10(r30)
/* 8046F098 0046BFD8 38 A0 00 00 */ li r5, 0
/* 8046F09C 0046BFDC 81 8C 00 1C */ lwz r12, 0x1c(r12)
/* 8046F0A0 0046BFE0 7D 89 03 A6 */ mtctr r12
/* 8046F0A4 0046BFE4 4E 80 04 21 */ bctrl
.L_8046F0A8:
/* 8046F0A8 0046BFE8 7F C3 F3 78 */ mr r3, r30
/* 8046F0AC 0046BFEC C0 22 29 C4 */ lfs f1, lbl_80520D24@sda21(r2)
/* 8046F0B0 0046BFF0 81 9E 00 10 */ lwz r12, 0x10(r30)
/* 8046F0B4 0046BFF4 38 80 00 00 */ li r4, 0
/* 8046F0B8 0046BFF8 38 A0 00 00 */ li r5, 0
/* 8046F0BC 0046BFFC 81 8C 00 2C */ lwz r12, 0x2c(r12)
/* 8046F0C0 0046C000 7D 89 03 A6 */ mtctr r12
/* 8046F0C4 0046C004 4E 80 04 21 */ bctrl
.L_8046F0C8:
/* 8046F0C8 0046C008 7F C3 F3 78 */ mr r3, r30
/* 8046F0CC 0046C00C E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0
/* 8046F0D0 0046C010 80 01 00 44 */ lwz r0, 0x44(r1)
/* 8046F0D4 0046C014 CB E1 00 30 */ lfd f31, 0x30(r1)
/* 8046F0D8 0046C018 83 E1 00 2C */ lwz r31, 0x2c(r1)
/* 8046F0DC 0046C01C 83 C1 00 28 */ lwz r30, 0x28(r1)
/* 8046F0E0 0046C020 83 A1 00 24 */ lwz r29, 0x24(r1)
/* 8046F0E4 0046C024 7C 08 03 A6 */ mtlr r0
/* 8046F0E8 0046C028 38 21 00 40 */ addi r1, r1, 0x40
/* 8046F0EC 0046C02C 4E 80 00 20 */ blr
.endfn PSStartTresureLaderNoiseSE__FUcff
.fn PSMGetWorldMapRocket__Fv, global
/* 8046F0F0 0046C030 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046F0F4 0046C034 7C 08 02 A6 */ mflr r0
/* 8046F0F8 0046C038 3C 60 80 4A */ lis r3, lbl_8049DA08@ha
/* 8046F0FC 0046C03C 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046F100 0046C040 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046F104 0046C044 3B E3 DA 08 */ addi r31, r3, lbl_8049DA08@l
/* 8046F108 0046C048 93 C1 00 08 */ stw r30, 8(r1)
/* 8046F10C 0046C04C 80 0D 98 80 */ lwz r0, spSceneMgr__8PSSystem@sda21(r13)
/* 8046F110 0046C050 28 00 00 00 */ cmplwi r0, 0
/* 8046F114 0046C054 40 82 00 18 */ bne .L_8046F12C
/* 8046F118 0046C058 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046F11C 0046C05C 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046F120 0046C060 38 80 01 D3 */ li r4, 0x1d3
/* 8046F124 0046C064 4C C6 31 82 */ crclr 6
/* 8046F128 0046C068 4B BB B5 19 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046F12C:
/* 8046F12C 0046C06C 83 CD 98 80 */ lwz r30, spSceneMgr__8PSSystem@sda21(r13)
/* 8046F130 0046C070 28 1E 00 00 */ cmplwi r30, 0
/* 8046F134 0046C074 40 82 00 18 */ bne .L_8046F14C
/* 8046F138 0046C078 38 7F 00 2C */ addi r3, r31, 0x2c
/* 8046F13C 0046C07C 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046F140 0046C080 38 80 01 DC */ li r4, 0x1dc
/* 8046F144 0046C084 4C C6 31 82 */ crclr 6
/* 8046F148 0046C088 4B BB B4 F9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046F14C:
/* 8046F14C 0046C08C 80 1E 00 04 */ lwz r0, 4(r30)
/* 8046F150 0046C090 28 00 00 00 */ cmplwi r0, 0
/* 8046F154 0046C094 40 82 00 18 */ bne .L_8046F16C
/* 8046F158 0046C098 38 7F 00 38 */ addi r3, r31, 0x38
/* 8046F15C 0046C09C 38 BF 00 14 */ addi r5, r31, 0x14
/* 8046F160 0046C0A0 38 80 00 C7 */ li r4, 0xc7
/* 8046F164 0046C0A4 4C C6 31 82 */ crclr 6
/* 8046F168 0046C0A8 4B BB B4 D9 */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046F16C:
/* 8046F16C 0046C0AC 80 7E 00 04 */ lwz r3, 4(r30)
/* 8046F170 0046C0B0 80 63 00 04 */ lwz r3, 4(r3)
/* 8046F174 0046C0B4 28 03 00 00 */ cmplwi r3, 0
/* 8046F178 0046C0B8 41 82 00 0C */ beq .L_8046F184
/* 8046F17C 0046C0BC 80 63 00 28 */ lwz r3, 0x28(r3)
/* 8046F180 0046C0C0 48 00 00 08 */ b .L_8046F188
.L_8046F184:
/* 8046F184 0046C0C4 38 60 00 00 */ li r3, 0
.L_8046F188:
/* 8046F188 0046C0C8 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046F18C 0046C0CC 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046F190 0046C0D0 83 C1 00 08 */ lwz r30, 8(r1)
/* 8046F194 0046C0D4 7C 08 03 A6 */ mtlr r0
/* 8046F198 0046C0D8 38 21 00 10 */ addi r1, r1, 0x10
/* 8046F19C 0046C0DC 4E 80 00 20 */ blr
.endfn PSMGetWorldMapRocket__Fv
.fn PSPlayCaveHoleSound__FPQ23PSM8Creature, global
/* 8046F1A0 0046C0E0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046F1A4 0046C0E4 7C 08 02 A6 */ mflr r0
/* 8046F1A8 0046C0E8 38 80 30 7C */ li r4, 0x307c
/* 8046F1AC 0046C0EC 38 A0 00 00 */ li r5, 0
/* 8046F1B0 0046C0F0 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046F1B4 0046C0F4 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046F1B8 0046C0F8 81 83 00 28 */ lwz r12, 0x28(r3)
/* 8046F1BC 0046C0FC 81 8C 00 7C */ lwz r12, 0x7c(r12)
/* 8046F1C0 0046C100 7D 89 03 A6 */ mtctr r12
/* 8046F1C4 0046C104 4E 80 04 21 */ bctrl
/* 8046F1C8 0046C108 7C 7F 1B 79 */ or. r31, r3, r3
/* 8046F1CC 0046C10C 41 82 00 3C */ beq .L_8046F208
/* 8046F1D0 0046C110 80 0D 91 B8 */ lwz r0, "sInstance__Q28PSSystem34SingletonBase<Q23PSM11CreaturePrm>"@sda21(r13)
/* 8046F1D4 0046C114 28 00 00 00 */ cmplwi r0, 0
/* 8046F1D8 0046C118 40 82 00 20 */ bne .L_8046F1F8
/* 8046F1DC 0046C11C 3C 60 80 4A */ lis r3, lbl_8049DA70@ha
/* 8046F1E0 0046C120 3C A0 80 4A */ lis r5, lbl_8049DA1C@ha
/* 8046F1E4 0046C124 38 63 DA 70 */ addi r3, r3, lbl_8049DA70@l
/* 8046F1E8 0046C128 38 80 00 89 */ li r4, 0x89
/* 8046F1EC 0046C12C 38 A5 DA 1C */ addi r5, r5, lbl_8049DA1C@l
/* 8046F1F0 0046C130 4C C6 31 82 */ crclr 6
/* 8046F1F4 0046C134 4B BB B4 4D */ bl panic_f__12JUTExceptionFPCciPCce
.L_8046F1F8:
/* 8046F1F8 0046C138 80 8D 91 B8 */ lwz r4, "sInstance__Q28PSSystem34SingletonBase<Q23PSM11CreaturePrm>"@sda21(r13)
/* 8046F1FC 0046C13C 7F E3 FB 78 */ mr r3, r31
/* 8046F200 0046C140 38 84 00 04 */ addi r4, r4, 4
/* 8046F204 0046C144 48 00 22 55 */ bl specializePerspCalc__Q23PSM7SeSoundFRCQ36PSGame10SoundTable11SePerspInfo
.L_8046F208:
/* 8046F208 0046C148 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046F20C 0046C14C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046F210 0046C150 7C 08 03 A6 */ mtlr r0
/* 8046F214 0046C154 38 21 00 10 */ addi r1, r1, 0x10
/* 8046F218 0046C158 4E 80 00 20 */ blr
.endfn PSPlayCaveHoleSound__FPQ23PSM8Creature
.section .text, "ax", unique, 1
.fn identifyPart__Q23PSM14ClusterFactoryFUc, weak
/* 8046F21C 0046C15C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8046F220 0046C160 7C 08 02 A6 */ mflr r0
/* 8046F224 0046C164 54 A5 06 3E */ clrlwi r5, r5, 0x18
/* 8046F228 0046C168 90 01 00 14 */ stw r0, 0x14(r1)
/* 8046F22C 0046C16C 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8046F230 0046C170 7C 7F 1B 78 */ mr r31, r3
/* 8046F234 0046C174 4B FF DF 11 */ bl partInit__Q23PSM14ClusterFactoryFUc
/* 8046F238 0046C178 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8046F23C 0046C17C 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 8046F240 0046C180 7C 08 03 A6 */ mtlr r0
/* 8046F244 0046C184 38 21 00 10 */ addi r1, r1, 0x10
/* 8046F248 0046C188 4E 80 00 20 */ blr
.endfn identifyPart__Q23PSM14ClusterFactoryFUc
.section .text, "ax", unique, 2
.fn "startSoundVecReturnHandleT<8JAISound>__8JAIBasicFPP8JAISoundUlP3VecUlUlUc", weak
/* 8046F24C 0046C18C 94 21 FF E0 */ stwu r1, -0x20(r1)
/* 8046F250 0046C190 7C 08 02 A6 */ mflr r0
/* 8046F254 0046C194 39 40 00 00 */ li r10, 0
/* 8046F258 0046C198 90 01 00 24 */ stw r0, 0x24(r1)
/* 8046F25C 0046C19C 54 A0 00 03 */ rlwinm. r0, r5, 0, 0, 1
/* 8046F260 0046C1A0 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8046F264 0046C1A4 7C 9F 23 78 */ mr r31, r4
/* 8046F268 0046C1A8 91 41 00 08 */ stw r10, 8(r1)
/* 8046F26C 0046C1AC 40 82 00 0C */ bne .L_8046F278
/* 8046F270 0046C1B0 38 00 00 01 */ li r0, 1
/* 8046F274 0046C1B4 90 01 00 08 */ stw r0, 8(r1)
.L_8046F278:
/* 8046F278 0046C1B8 7C A4 2B 78 */ mr r4, r5
/* 8046F27C 0046C1BC 38 A1 00 08 */ addi r5, r1, 8
/* 8046F280 0046C1C0 4B BA 65 ED */ bl "startSoundVecT<8JAISound>__8JAIBasicFUlPP8JAISoundP3VecUlUlUc"
/* 8046F284 0046C1C4 80 01 00 08 */ lwz r0, 8(r1)
/* 8046F288 0046C1C8 90 1F 00 00 */ stw r0, 0(r31)
/* 8046F28C 0046C1CC 80 61 00 08 */ lwz r3, 8(r1)
/* 8046F290 0046C1D0 28 03 00 00 */ cmplwi r3, 0
/* 8046F294 0046C1D4 41 82 00 14 */ beq .L_8046F2A8
/* 8046F298 0046C1D8 81 83 00 10 */ lwz r12, 0x10(r3)
/* 8046F29C 0046C1DC 81 8C 00 18 */ lwz r12, 0x18(r12)
/* 8046F2A0 0046C1E0 7D 89 03 A6 */ mtctr r12
/* 8046F2A4 0046C1E4 4E 80 04 21 */ bctrl
.L_8046F2A8:
/* 8046F2A8 0046C1E8 80 01 00 24 */ lwz r0, 0x24(r1)
/* 8046F2AC 0046C1EC 83 E1 00 1C */ lwz r31, 0x1c(r1)
/* 8046F2B0 0046C1F0 7C 08 03 A6 */ mtlr r0
/* 8046F2B4 0046C1F4 38 21 00 20 */ addi r1, r1, 0x20
/* 8046F2B8 0046C1F8 4E 80 00 20 */ blr
.endfn "startSoundVecReturnHandleT<8JAISound>__8JAIBasicFPP8JAISoundUlP3VecUlUlUc"